GET api/VehicleValues?regyear={regyear}&MMCode={MMCode}
Returns the latest set of values for the search criteria provided
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| regyear | string |
Required |
|
| MMCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of VehicleValues| Name | Description | Type | Additional information |
|---|---|---|---|
| NewValue | integer |
None. |
|
| RetailValue | integer |
None. |
|
| TradeValue | integer |
None. |
|
| Status | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"NewValue": 1,
"RetailValue": 2,
"TradeValue": 3,
"Status": 4
},
{
"NewValue": 1,
"RetailValue": 2,
"TradeValue": 3,
"Status": 4
}
]
application/xml, text/xml
Sample:
<ArrayOfVehicleValues xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VehicleValuesApi2">
<VehicleValues>
<NewValue>1</NewValue>
<RetailValue>2</RetailValue>
<Status>4</Status>
<TradeValue>3</TradeValue>
</VehicleValues>
<VehicleValues>
<NewValue>1</NewValue>
<RetailValue>2</RetailValue>
<Status>4</Status>
<TradeValue>3</TradeValue>
</VehicleValues>
</ArrayOfVehicleValues>