This API version is deprecated
Please use the latest version for continued support and access to new features. View latest API documentation
Vehicle API
Get vehicle type.
Get vehicle type.
Endpoint
GET - https://api.travisroadservices.com/v1/vehicle_types/{id}
Copy
Path params
| Parameter | Type | Description |
|---|---|---|
id
|
string | VehicleTypeResource identifier |
Request body
No request bodyResponse body
Response 200
VehicleTypeResource resource
Fields
| Field | Type | Description |
|---|---|---|
id
|
integer | Unique identifier of the vehicle type. |
name
|
string | Name of the vehicle type. |
category
|
string | Category of the vehicle type (e.g. towing, towed, combination). |
image
|
string | URL to an image representing the vehicle type. |
combinations
|
array | IDs of vehicle types that can be combined with this type. |
services
|
array | Services available for this vehicle type (e.g. truckwash, parking). |
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
|
integer | 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