Locations API - V2

List location filters.

Returns the available filters that can be applied when searching for locations. Filters vary based on the requested service.


Open Swagger Specification

Endpoint

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

Header params

Parameter Type Description
language string Specifies the language of the response.

Query params

Parameter Type Description
service string Filters locations by the specified service.
vehicleTypes[] string Filters truck wash locations by vehicle type IDs. A combination can be specified by passing two different vehicle type IDs. Multiple values can be passed to broaden the filter.
cleaningType string Filters truck wash locations by required cleaning type. Possible values: inside, outside, insideOutside. Available options change based on the passed vehicle types.
hasNao string Filters truck wash locations that offer NAO wash programs. Only available for specific wash programs and customers with the NAO setting enabled.
hasDisinfection string Filters truck wash locations that offer disinfection wash programs. Only available for specific wash programs.

Request body

No request body

Response body

Response 200

LocationFilterResource collection

Fields

Field Type Description
code string Machine-readable code identifying the filter field.
label string Human-readable label for the filter.
type object Filter type controlling how options are presented and selected.
options array Available options for select-type filters.
minValue string Minimum value for range-type filters.
maxValue string Maximum value for range-type filters.
unit string Unit of measurement for range-type filters (e.g. km).

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