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
The UUID of the transportation mode to retrieve.
Response
Error Responses
Response Fields
UUID v7 identifier for the transportation mode.
Unique code identifier (e.g., “flight”, “train”, “bus”).
Human-readable name of the transportation mode.
Optional description of the transportation mode.
Order for display purposes (lower numbers appear first).
Whether the transportation mode is currently active.
ISO 8601 timestamp of when the record was created.
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