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
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath 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 errornumber | null
Calculated 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