This API version is deprecated
Please use the latest version for continued support and access to new features. View latest API documentation
Locations API
Get parking availability
Verify the availability for a specified arrival and departure date & time for specified locations. When a location has no availability a parking booking can not be made at this location for the specified arrival dateTime and departure dateTime.
Endpoint
GET - https://api.travisroadservices.com/v1/locations/parking/availability
Copy
Query params
| Parameter | Type | Description |
|---|---|---|
locationIds[]
|
string | Location ID's |
page
|
string | Page number as used in pagination |
arrivalDateTime
|
string | Arrival Datetime |
departureDateTime
|
string | Departure Datetime |
Request body
No request bodyResponse body
Response 200
OK
Fields
| Field | Type | Description |
|---|---|---|
_meta
|
object | Response meta data |
page
|
integer | Page number |
requestId
|
string | Request ID |
locations
|
array | Response data |
Example
Response 400
Bad Request, invalid parameters supplied
No response body