This API version is deprecated
Please use the latest version for continued support and access to new features. View latest API documentation
Locations API
Find points of interest
This endpoint allows you to get all locations available within the Travis system and returns only basic parameters for the locations. This endpoint is used to display dots on the map while still being fast enough. use parameters to filter on specific settings and return only locations meeting your specifications.
Endpoint
GET - https://api.travisroadservices.com/v1/locations/poi
Copy
Query params
| Parameter | Type | Description |
|---|---|---|
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). This filter can only be used in combination with the services filter. |
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 | Filters locations that are bookable through the TRAVIS platform. |
vehicleCombination
|
string | Filters locations by vehicle combination ID. |
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 | Filters locations by truck wash service option. |
disinfection
|
string | Service locations who offer disinfection cleaning programs. |
security[]
|
string | Service locations who offer specified security features. |
vehicleFacility[]
|
string | Filters locations by vehicle facility type. |
driverFacility[]
|
string | Service locations who offer specified facilities for drivers. |
boundingBox[]
|
string | Filters locations within a geographic bounding box. Expects four values: south latitude, west longitude, east longitude, north latitude. |
baySize[]
|
string | Filters locations by truck charging 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
OK
Fields
| Field | Type | Description |
|---|---|---|
features
|
array | List of GeoJSON features representing location points of interest. |
Example
Response 400
Bad Request, invalid parameters supplied
No response body