| GET | /v1/order/detail/{OrderGuid} | Get Order by Guid | Get Order by Guid |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OrderGuid | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Order | form | OrderDetailByGuid | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Guid | form | string | Yes | |
| BackOrderReference | form | string | No | |
| Reference | form | string | Yes | |
| Agent | form | string | Yes | |
| Vin | form | string | Yes | |
| Description | form | string | Yes | |
| ImageUrl | form | string | Yes | |
| OutrightPurchaseCorporation | form | string | Yes | |
| NetPrice | form | string | No | |
| OtrPrice | form | string | No | |
| ActualPrice | form | string | No | |
| CommissionNumber | form | string | Yes | |
| BodyStyle | form | string | Yes | |
| Line | form | string | Yes | |
| Engine | form | string | Yes | |
| Transmission | form | string | Yes | |
| Fuel | form | string | Yes | |
| Colour | form | string | Yes | |
| Upholstery | form | string | Yes | |
| Package | form | string | No | |
| FullModelYearCode | form | string | No | |
| PortArrivalDate | form | string | No | |
| ProductionDate | form | string | No | |
| PersonalisedOffer | form | string[] | Yes |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/order/detail/{OrderGuid} HTTP/1.1
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Order:
{
Guid: String,
BackOrderReference: String,
Reference: String,
Agent: String,
Vin: String,
Description: String,
ImageUrl: String,
OutrightPurchaseCorporation: String,
NetPrice: String,
OtrPrice: String,
ActualPrice: String,
CommissionNumber: String,
BodyStyle: String,
Line: String,
Engine: String,
Transmission: String,
Fuel: String,
Colour: String,
Upholstery: String,
Package: String,
FullModelYearCode: String,
PortArrivalDate: String,
ProductionDate: String,
PersonalisedOffer:
[
String
]
}
}