This API version is deprecated
Please use the latest version for continued support and access to new features. View latest API documentation
Vehicle API
Check vehicle wash frequency.
Check vehicle wash frequency.
Endpoint
POST - https://api.travisroadservices.com/v1/vehicles_wash_frequency_check
Copy
Request body
Fields
| Field | Type | Required | Description |
|---|---|---|---|
vehicle1
|
string (iri-reference) | No | First vehicle (truck) to check wash frequency for. |
vehicle2
|
string (iri-reference) | No | Second vehicle (trailer) to check wash frequency for. |
cleaningType
|
string | Yes | Cleaning type to check the wash frequency for. Possible values: inside, outside. |
arrivalDate
|
string | Yes | Intended arrival date against which the wash frequency is checked. Format: YYYY-MM-DD. |
Example
Response body
Response 200
VehicleWashFrequencyResource resource created
Fields
| Field | Type | Description |
|---|---|---|
violations
|
array | List of wash frequency violations for the given vehicles and cleaning type. |
isBookingBlocked
|
boolean | Indicates whether booking is blocked due to a wash frequency violation. |
Example