This API version is deprecated

Please use the latest version for continued support and access to new features. View latest API documentation

Locations API

Get service description.

Returns the description for a specific service at the specified location.


Open Swagger Specification

Endpoint

    GET - https://api.travisroadservices.com/v1/locations/{locationId}/service/{service}/description
    Copy
  

Path params

Parameter Type Description
locationId string Unique identifier of the location.
service string Service for which to retrieve the description.

Request body

No request body

Response body

Response 200

ServiceDescriptionResource resource

Fields

Field Type Description
locationId integer Unique identifier of the location.
description string Description of the service at the specified location.
service string Service type for which the description applies.

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

Response 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