Hi,
Whenever I am trying to use /api/rawReport API, I am encountering with the below error.
<ns1:XMLFault xmlns:ns1="http://cxf.apache.org/bindings/xformat">
<ns1:faultstring xmlns:ns1="http://cxf.apache.org/bindings/xformat">.No operation matching request path /api/rawReport/ is found, ContentType : */*, Accept : */*.</ns1:faultstring>
</ns1:XMLFault>
I am using below XML to access this API.
Below is the URL : https://My Ip Address/vCenter-CB/api/rawReport
<?xml version="1.0" encoding="UTF-8"?>
<Request>
<ReportTemplates>
<ReportTemplate>
<Name>Sample Report</Name>
<Description>Description</Description>
<ReportType>COST_REPORT</ReportType>
<Hierarchies>
<Hierarchy id="613">
<Entities>
<Entity id="0"/>
</Entities>
</Hierarchy>
</Hierarchies>
<CostModels>
<CostModel id="1"/>
</CostModels>
<ComputingResources>
<ComputingResource id="1"/>
</ComputingResources>
<BillingScheduleType>NOW</BillingScheduleType>
<BillingPeriod>
<Now>
<StartDate></StartDate>
<EndDate></EndDate>
</Now>
</BillingPeriod>
<DataFilter>
<DataDepth>1</DataDepth>
<ExcludeFilters>
<Filter id="CategorizedCosts"/>
<Filter id="CategorizedUsage"/>
<Filter id="InformationMessages"/>
<Filter id="CostDetails\"/>
</ExcludeFilters>
</DataFilter>
</ReportTemplate>
</ReportTemplates>
</Request>
Can someone please test and let me know what is the proble?
Hello,
RawReport API was deprecated long time back and was removed in Chargeback v2.5.
Thanks
Diwakar
Hi Diwakar,
Thanks for your reply.
Can you please suggest me any billing API for the same in Chargeback as I want to bill the customers based on Memory, Storage and vCPU.
Thanks,
Tejas Trivedi
Tejas Trivedi,
Chargeback provides rich set of reporting APIs to pull usage/cost details from Chargeback server. Please refer to API documentation for details.
Regards
Diwakar
