Locations API
/v1/locations - GET
This endpoint allows you to get all locations available within the Travis system. Use parameters to filter on specific settings and return only locations meeting your specifications.
Endpoint
GET - https://api.travisroadservices.com/v1/locations
Copy
Query params
| Parameter | Type | Description |
|---|---|---|
page
|
string | Page number as used in pagination |
itemsPerPage
|
string | Items per page as used in pagination |
arrivalDate
|
string | When given only locations are returned which are open on this date, the format should be Y-m-d (only for tank cleaning) |
services
|
string | Service locations offering the specified service. |
paymentMethodId
|
string | Service locations who accepts your desired payment method. Valid options are 1 (Travis), 2 (Shell), 4 (Hoyer), 5 (Logpay), 6 (Eurowag), 7 (E100), 8 (The Fuel Company), 9 (Plose), 10 (Diesel 24), 11 (DKV), 12 (UTA), 13 (AS24), 14 (UK Fuels). |
id[]
|
string | Specified service locations by id. |
country
|
string | Service locations for the specified country using 2 letters according ISO 3166. |
geoPoint
|
string | Service locations within a specified radius of a geoPoint. Correct input is latitude and longitude. When this is given the radius parameter is required. |
radius
|
string | Service locations within a specified radius of a geoPoint. Radius in kilometers. Only used when geoPoint is given. |
name
|
string | Service location with a specific location name. |
includeBookable
|
string | Include bookable |
vehicleCombination
|
string | Vehicle combination |
vehicleType[]
|
string | Service locations suitable for the specified vehicle types. Vehicle type id’s can be retrieved via /v1/vehicle_types. Particularly useful if you are looking for a wash program for a specific type of vehicle (eg. tipper semi trailer). |
cleaningType
|
string | Service locations suitable for specified cleaning type. |
option[]
|
string | Options |
disinfection
|
string | Service locations who offer disinfection cleaning programs. |
security[]
|
string | Service locations who offer specified security features. |
vehicleFacility[]
|
string | Vehicle facilities |
driverFacility[]
|
string | Service locations who offer specified facilities for drivers. |
boundingBox[]
|
string | Bounding box |
baySize[]
|
string | Bay size |
chargingCapacity[]
|
string | Charging capacity. This is a range, give minimum and maximum |
cargoType[]
|
string | Filter for tank cleaning, this returns all the locations which support the given cargo type. |
tankCleaningOptions[]
|
string | Filter for tank cleaning, narrow your search by selecting cleaning options. |
options[]
|
string | Options for services. Only available for truck wash programs. |
Request body
No request bodyResponse body
Response 200