Booking API
List bookings.
List bookings.
Endpoint
GET - https://api.travisroadservices.com/v1/bookings
Copy
Query params
| Parameter | Type | Description |
|---|---|---|
arrivalDateTime
|
string | Filters bookings with an arrival on or after the given date and time. |
departureDateTime
|
string | Filters bookings with a departure on or before the given date and time. |
service
|
string | Filters by service type. Possible values: truckwash, parking, tankcleaning, repair. |
language
|
string | Specifies the language of the response. |
status
|
string | Filters by booking status. Possible values: planned, active, completed, expired, cancelled. |
licensePlate
|
string | Filters bookings by vehicle license plate. |
isSelfService
|
string | Filters bookings by whether they are self-service. |
updatedAt[from]
|
string | Filters bookings changed on or after the given date and time. Inclusive, so a booking changed in the same second may be returned again — de-duplicate on id. |
updatedAt[to]
|
string | Filters bookings changed on or before the given date and time. Inclusive. |
page
|
string | The collection page number |
itemsPerPage
|
string | The number of items per page |
Request body
No request bodyResponse body
Response 200
Booking collection