Partner - Booking API

Get parking booking.

Returns the latest information about a specific parking booking.


Open Swagger Specification

Endpoint

    GET - https://api.travisroadservices.com/partners/v1/bookings/parkings/{id}
    Copy
  

Path params

Parameter Type Description
id string Unique identifier of the booking.

Header params

Parameter Type Description
location string Location ID of the requesting location.

Request body

No request body

Response body

Response 200

BookingParking resource

Fields

Field Type Description
licensePlateTruck string License plate of the truck.
licensePlateTrailer string License plate of the trailer.
driver string Name of the driver assigned to the booking.
arrival string (date-time) Planned arrival date and time of the parking booking.
departure string (date-time) Planned departure date and time of the parking booking.
amount object Total price amount for the parking booking.
price integer Price amount in minor currency units (e.g. cents).
currency string ISO 4217 currency code.
exchangeRate string Applied exchange rate relative to EUR. Only available for bookings with status completed or active.
actualArrivalDateTime string (date-time) Actual arrival date and time recorded by the partner.
actualDepartureDateTime string (date-time) Actual departure date and time recorded by the partner.
id integer Unique identifier of the parking booking.
travisCode string TRAVIS code uniquely identifying the booking.
status string Current status of the booking. Possible values: planned, active, completed, expired, cancelled.
createdAt string (date-time) Date and time the booking was created.

Example

Response 401

No response body - No bearer token set verify if your token is added as bearer token

Response 403

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

Response 404

Not found, the given resource could not be found

No response body

Response 500

Internal server error, something went wrong at TRAVIS

No response body