| GET | /v1/NonOptimalOrderAudit | Get the audit of orders using non-optimal vehicles | Get the audit of orders using non-optimal vehicles |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Audits | form | List<OrderNonOptimalAudit> | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| OrderReference | form | string | Yes | |
| AuditDate | form | DateTime | No | |
| Reason | form | string | Yes | |
| VinOrdered | form | string | Yes | |
| VinSuggested | form | string | Yes | |
| GasId | form | string | Yes | |
| Showroom | 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/NonOptimalOrderAudit 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
{
Audits:
[
{
Id: 0,
OrderReference: String,
AuditDate: 0001-01-01,
Reason: String,
VinOrdered: String,
VinSuggested: String,
GasId: String,
Showroom: String
}
]
}