Method
GET /v1/ref/transportation-modes/:id
Description
Returns a single transportation mode record by its UUID. This endpoint is useful when you need the full details of a specific transportation mode after obtaining its ID from the list endpoint.Headers
This endpoint is public and does not require authentication.Path Parameters
string
required
The UUID of the transportation mode to retrieve.
Response
Error Responses
Response Fields
string
required
UUID v7 identifier for the transportation mode.
string
required
Unique code identifier (e.g., “flight”, “train”, “bus”).
string
required
Human-readable name of the transportation mode.
string
Optional description of the transportation mode.
number
Order for display purposes (lower numbers appear first).
boolean
required
Whether the transportation mode is currently active.
string
required
ISO 8601 timestamp of when the record was created.
string
required
ISO 8601 timestamp of when the record was last updated.
Notes
- This endpoint returns both active and inactive transportation modes (unlike the list endpoint)
- The ID must be a valid UUID format
- If the transportation mode does not exist, a 404 error is returned