Locations API - V2

List locations.

Returns a list of all locations including address, coordinates, available services, and service-specific details.


Open Swagger Specification

Endpoint

    GET - https://api.travisroadservices.com/v2/locations
    Copy
  

Query params

Parameter Type Description
page string The collection page number
itemsPerPage string The number of items per page

Request body

No request body

Response body

Response 200

LocationResource collection

Fields

Field Type Description
id integer Unique identifier of the location.
name string Name of the location.
isDemo boolean Indicates whether the location is a demo location.
address object Complete address of the location.
streetName string Street name of the address.
houseNumber string House number of the address.
zip string Postal code of the address.
city string City of the address.
country string Country of the address.
activeSince string (date-time) Date and time since the location has been active.
locationUrl string URL of the location detail page.
coordinates object Geographical coordinates of the location.
lat number Latitude coordinate of the location.
long number Longitude coordinate of the location.
services array Services available at the location.
parking object Parking service details for the location.
provider string Parking provider for this location.
securityFeatures object Security features available at this location.
gate object Indicates whether a gate is present at the location.
isEnabled boolean Indicates whether the feature is enabled at this location.
fence object Indicates whether perimeter fencing is present at the location.
isEnabled boolean Indicates whether the feature is enabled at this location.
lightAtNight object Indicates whether area lighting is available at the location.
isEnabled boolean Indicates whether the feature is enabled at this location.
cctv object Indicates whether video surveillance cameras are present at the location.
isEnabled boolean Indicates whether the feature is enabled at this location.
guard object Indicates whether an on-site security guard is present at the location.
isEnabled boolean Indicates whether the feature is enabled at this location.
vehiclePermissions object Vehicle-related operations allowed or restricted at this location.
adr object Indicates whether vehicles carrying ADR (dangerous goods) are permitted.
isEnabled boolean Indicates whether the feature is enabled at this location.
longTermParking object Indicates whether long-term parking of vehicles is permitted.
isEnabled boolean Indicates whether the feature is enabled at this location.
decouplingOfTrailers object Indicates whether trailers may be decoupled and left on site.
isEnabled boolean Indicates whether the feature is enabled at this location.
coolingMotorsAllowed object Indicates whether vehicle cooling motors may remain running while parked.
isEnabled boolean Indicates whether the feature is enabled at this location.
electricCooling object Indicates whether electronic cooling units can be connected to a power supply.
isEnabled boolean Indicates whether the feature is enabled at this location.
driverFacilities object Facilities and amenities available to drivers at this location.
restrooms object Indicates whether toilet facilities are available to drivers at the location.
isEnabled boolean Indicates whether the feature is enabled at this location.
shower object Indicates whether shower facilities are available to drivers at the location.
isEnabled boolean Indicates whether the feature is enabled at this location.
wifi object Indicates whether wireless internet access (Wi-Fi) is available to drivers.
isEnabled boolean Indicates whether the feature is enabled at this location.
hotel object Indicates whether hotel or accommodation services are available at the location.
isEnabled boolean Indicates whether the feature is enabled at this location.
restaurant object Indicates whether a restaurant or food service is available at the location.
isEnabled boolean Indicates whether the feature is enabled at this location.
truckwash object Truck wash service details for the location.
washPrograms array Wash programs offered at this location.
tankcleaning object Tank cleaning service details for the location.
truckcharging object Truck charging service details for the location.
bayTypes array Available bay types at this location.
repair object Repair service details for the location.

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