GET api/CostHistoryReport/{id}?type={type}
Gets a list of cost history report item.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Supplier Global Id. |
string |
Required |
type |
List Type. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CostHistoryReportName | Description | Type | Additional information |
---|---|---|---|
CostYear | integer |
None. |
|
CostTotal | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CostYear": 1, "CostTotal": 1.0 }, { "CostYear": 1, "CostTotal": 1.0 } ]
application/xml, text/xml
Sample:
<ArrayOfCostHistoryReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <CostHistoryReport> <CostTotal>1</CostTotal> <CostYear>1</CostYear> </CostHistoryReport> <CostHistoryReport> <CostTotal>1</CostTotal> <CostYear>1</CostYear> </CostHistoryReport> </ArrayOfCostHistoryReport>