Skip to content

Get all vehicle types

Request

Security
OrgTokenBearer
curl -i -X GET \
  https://developers.loadlink.ca/_mock/fm-integration/openapi/v2/reference/vehicle-types \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Vehicle types

Bodyapplication/json
Array [
idinteger, (int32)

Unique row identifier for this vehicle type.

vehicleTypeIdinteger, (int32)

Broader category grouping several vehicle types together (e.g. Van, Straight Truck, and Container all share the same category).

detailstring

Human-readable name (e.g. "Van", "Reefer", "Flatbed").

valueinteger, (int64)

Bit-flag value for this vehicle type (a power of two). Postings encode their accepted vehicle types as a bitwise combination of these values.

codestring

Single-letter code for this vehicle type (e.g. "V" for Van, "R" for Reefer). This is the character used in a posting's VehicleType string.

]
Response
[ { "id": 1, "vehicleTypeId": 1, "detail": "Van", "value": 1, "code": "V" }, { "id": 2, "vehicleTypeId": 2, "detail": "Reefer", "value": 2, "code": "R" } ]