Skip to main content
GET
Get Commuting Period

Get Commuting Period

Retrieve a single employee commuting period record by its ID. Returns the full commuting details including transport type, distances, and emission calculation status.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Path Parameters

string
required
UUID of the commuting period record

Response

string
Commuting period UUID
string
UUID of the associated employee
string
Type of commuting: in_itinere (commute) or in_labore (work-from-home)
string
Transport mode (car, bus, metro, train, bicycle, walking, telecommuting, etc.)
date
Period start date (ISO 8601)
date
Period end date (ISO 8601)
number | null
Distance per trip (km)
integer | null
Number of daily trips
string
Calculation status: pending, active, or error
number | null
Calculated CO2e emissions (tCO2e)

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

404 Not Found

Cause: The commuting period ID does not exist or belongs to a different organization

List Commuting Periods

List all commuting periods

Update Commuting Period

Modify a commuting period