| GET | /v1/Vehicle/SecuredOffline | Get all secured vehicles which are offline | Get audit of all secured vehicles which are currently offline, including the user who secured it, the date and the reason. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Vehicles | form | List<SecuredOfflineVehicle> | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CommissionNumber | form | string | Yes | |
| Vin | form | string | No | |
| SalesDescription | form | string | Yes | |
| Model | form | string | Yes | |
| Colour | form | string | Yes | |
| FuelType | form | string | Yes | |
| Upholstery | form | string | Yes | |
| Account | form | string | Yes | |
| GasId | form | string | Yes | |
| SecureReason | form | string | Yes | |
| SecureDate | form | string | Yes | |
| OfflineDate | form | string | Yes |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/Vehicle/SecuredOffline HTTP/1.1 Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"vehicles":[{"commissionNumber":"String","vin":"String","salesDescription":"String","model":"String","colour":"String","fuelType":"String","upholstery":"String","account":"String","gasId":"String","secureReason":"String","secureDate":"String","offlineDate":"String"}]}