Locations API - V2
Get location.
Returns detailed information about a location including address, coordinates, available services, and service-specific details such as parking, truck wash, tank cleaning, truck charging, and repair.
Endpoint
GET - https://api.travisroadservices.com/v2/locations/{id}
Copy
Path params
| Parameter | Type | Description |
|---|---|---|
id
|
string | The location identifier. |
Request body
No request bodyResponse body
Response 200
LocationResource resource
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. |
images
|
array | Images of the location. |
parking
|
object | Parking service details for the location. |
provider
|
string | Parking provider for this location. |
capacity
|
object | Parking capacity details for this location. |
min
|
integer | Minimum parking capacity of the location. |
max
|
integer | Maximum parking capacity of the location. |
certifications
|
array | Parking certifications for this location. |
3pl
|
array | Third-party logistics the location and customer have access to. |
isAcceptingBookings
|
boolean | Indicates whether the location is accepting bookings. |
isAcceptingFuelCards
|
boolean | Indicates whether the location accepts fuel card payments. |
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. |
description
|
object | Description of the service. |
translation
|
object | Translated version of the description in the requested language. |
language
|
string | BCP 47 language code of the text (e.g. en, nl, de). |
text
|
string | Text content of the description. |
original
|
object | Original description in its source language. |
language
|
string | BCP 47 language code of the text (e.g. en, nl, de). |
text
|
string | Text content of the description. |
prices
|
array | Parking price list for this location. |
openingHours
|
object | Opening hours for the parking service at this location. |
isAlwaysOpen
|
boolean | Indicates whether the location is open 24/7. |
entry
|
array | Entry times per day of the week. Only available when isAlwaysOpen is false. |
exit
|
array | Exit times per day of the week. Only available when isAlwaysOpen is false. |
paymentMethods
|
array | Available payment methods at this location. |
truckwash
|
object | Truck wash service details for the location. |
lanes
|
integer | Number of truck wash lanes available at this location. |
washPrograms
|
array | Wash programs offered at this location. |
openingHours
|
array | Regular opening hours of this location. |
deviatingOpeningHours
|
array | Opening hours that deviate from the regular schedule for this location. |
description
|
object | Description of the service. |
translation
|
object | Translated version of the description in the requested language. |
language
|
string | BCP 47 language code of the text (e.g. en, nl, de). |
text
|
string | Text content of the description. |
original
|
object | Original description in its source language. |
language
|
string | BCP 47 language code of the text (e.g. en, nl, de). |
text
|
string | Text content of the description. |
paymentMethods
|
array | Available payment methods at this location. |
tankcleaning
|
object | Tank cleaning service details for the location. |
productTypes
|
array | List of accepted product types at this location. |
isEcdSupported
|
boolean | Indicates whether the location offers European Cleaning Documents (ECD). |
openingHours
|
array | Opening hours for tank cleaning at this location. |
deviatingOpeningHours
|
array | Opening hours that, on specifically set days during the year, deviate from the regular opening hours for this location. |
description
|
object | Description of the service. |
translation
|
object | Translated version of the description in the requested language. |
language
|
string | BCP 47 language code of the text (e.g. en, nl, de). |
text
|
string | Text content of the description. |
original
|
object | Original description in its source language. |
language
|
string | BCP 47 language code of the text (e.g. en, nl, de). |
text
|
string | Text content of the description. |
paymentMethods
|
array | Available payment methods at this location. |
truckcharging
|
object | Truck charging service details for the location. |
acceptedCards
|
array | Accepted card types at this location. |
bayTypes
|
array | Available bay types at this location. |
isAcceptingBookings
|
boolean | Indicates whether the location is accepting bookings. |
maxBookingDuration
|
integer | Maximum booking duration in minutes. Only available when the location is accepting bookings. |
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 types allowed at this location. |
adr
|
object | Indicates whether ADR (dangerous goods) cargo is permitted at this charging location. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
frigo
|
object | Indicates whether refrigerated (frigo) trucks and trailers are permitted at this charging location. |
isEnabled
|
boolean | Indicates whether the feature is enabled at this location. |
driverFacilities
|
object | Driver facilities available 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. |
openingHours
|
object | Opening hours for truck charging at this location. |
isAlwaysOpen
|
boolean | Indicates whether the location is open 24/7. |
entry
|
array | Entry times per day of the week. Only available when isAlwaysOpen is false. |
exit
|
array | Exit times per day of the week. Only available when isAlwaysOpen is false. |
description
|
object | Description of the service. |
translation
|
object | Translated version of the description in the requested language. |
language
|
string | BCP 47 language code of the text (e.g. en, nl, de). |
text
|
string | Text content of the description. |
original
|
object | Original description in its source language. |
language
|
string | BCP 47 language code of the text (e.g. en, nl, de). |
text
|
string | Text content of the description. |
paymentMethods
|
array | Available payment methods at this location. |
repair
|
object | Repair service details for the location. |
options
|
array | Repair options offered at this location. |
emergencyPhoneNumber
|
string | Emergency phone number of this location. |
openingHours
|
array | Regular opening hours of this location. |
deviatingOpeningHours
|
array | |
description
|
object | Description of the service. |
translation
|
object | Translated version of the description in the requested language. |
language
|
string | BCP 47 language code of the text (e.g. en, nl, de). |
text
|
string | Text content of the description. |
original
|
object | Original description in its source language. |
language
|
string | BCP 47 language code of the text (e.g. en, nl, de). |
text
|
string | Text content of the description. |
paymentMethods
|
array | Available payment methods at this location. |
Example
Response 401
No response body - No bearer token set verify if your token is added as bearer tokenResponse 403
No response body - You don't have access to this API resourceResponse 404
Not found
Fields
| Field | Type | Description |
|---|---|---|
title
|
string | A short, human-readable summary of the problem. |
detail
|
string | A human-readable explanation specific to this occurrence of the problem. |
status
|
number | The HTTP status code applicable to this problem. |
instance
|
string | A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. |
type
|
string | A URI reference that identifies the problem type |
Example