Locations API

/v1/locations/truckcharging/availability - GET

Retrieves the collection of TruckChargingAvailabilityResource resources.


Open Swagger Specification

Endpoint

    GET - https://api.travisroadservices.com/v1/locations/truckcharging/availability
    Copy
  

Query params

Parameter Type Description
locationIds string Filter based on the location ids
arrivalDateTime string Filter based on the arrival date and time, where the minute value must be 00, 15, 30, or 45
departureDateTime string Filter based on the departure date and time, where the minute value must be 00, 15, 30, or 45
bayCapacity string Filter based on the bay capacity: minimum and maximum values. Pass as bayCapacity[]=min&bayCapacity[]=max. If only one value is passed, it will be considered as exact match.
baySize string Filter based on the bay size. Allowed values: "truck", "truck_with_trailer", "rigid_truck".
page string The collection page number
itemsPerPage string The number of items per page

Request body

No request body

Response body

Response 200