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.


Open Swagger Specification

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 body

Response 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

Response 403

No response body - You don't have access to this API resource