List the travel data of all employees
Returns the travel data entries of the whole tenant with the username of each, ordered by username and
valid_from; filterable by employee and by valid_from. Requires the Inovex module.
Availability: Full version only — a Clock instance answers 404 for this endpoint.
Request
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/travel-data' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'Query parameters
- Name
limit- Type
- integer, nullable
- Description
The number of records per page, 1 to 200. Defaults to 15.
- Name
page- Type
- integer, nullable
- Description
The page of results to return, counting from 1.
- Name
username[]- Type
- array of string
- Description
Only return entries of these employees, given as usernames; repeat
username[]for several employees (a plain repeatedusernamekeeps only the last value).
- Name
valid_from_after- Type
- string (date), nullable
- Description
Only return entries valid from after this day (
Y-m-d, exclusive).
- Name
valid_from_before- Type
- string (date), nullable
- Description
Only return entries valid from before or on this day (
Y-m-d, inclusive).
Response
{
"data": [
{
"id": 1,
"username": "max.mustermann",
"valid_from": "2026-01-01",
"distance": 1.5,
"travel_time": 1.5
}
]
}Response fields
- Name
id- Type
- integer
- Description
Unique identifier of the travel data entry.
- Name
username- Type
- string
- Description
Username of the employee the entry belongs to.
- Name
valid_from- Type
- string (date)
- Description
First calendar day the distance and travel time apply, as
Y-m-d.
- Name
distance- Type
- number
- Description
Distance to the workplace in kilometres.
- Name
travel_time- Type
- number
- Description
Travel time to the workplace in hours.