Get Commuting Period
Get Commuting Period
Get a single commuting period by ID
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
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
UUID of the commuting period record
Response
Commuting period UUID
UUID of the associated employee
Type of commuting:
in_itinere (commute) or in_labore (work-from-home)Transport mode (car, bus, metro, train, bicycle, walking, telecommuting, etc.)
Period start date (ISO 8601)
Period end date (ISO 8601)
Distance per trip (km)
Number of daily trips
Calculation status:
pending, active, or errorCalculated CO2e emissions (tCO2e)
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization404 Not Found
Cause: The commuting period ID does not exist or belongs to a different organizationRelated Endpoints
List Commuting Periods
List all commuting periods
Update Commuting Period
Modify a commuting period

