WorkTime
get/v2/workTimes/changeRequests
Request
- Base URLhttps://my.clockodo.com/api
- URLhttps://my.clockodo.com/api/v2/workTimes/changeRequests
- Auth
- HTTP basic and API key in header X-Clockodo-External-Application
- or API key in header X-ClockodoApiUser and API key in header X-ClockodoApiKey and API key in header X-Clockodo-External-Application
- or OAuth 2Authorization code: /oauth/authorizeToken URL: /token
Query parameters
date_sincestring date
Example:2023-02-28
date_untilstring date
Example:2023-02-28
items_per_pageinteger
Example:100
pageinteger
Example:1
scope'approve'
Possible values:
- approve: Approve
Filter by scope, to get change requests that are pending approval or declined.
sortSort Id Date[]
status1 | 2
Possible values:
- 1: Requested
- 2: Declined
users_idinteger
Response
Successful operation
Example response
{
"paging": {
"items_per_page": 1000,
"current_page": 1,
"count_pages": 1,
"count_items": 4
}
}Changes
- breaking
removed the required property
from the response with the status - info
added the new optional
queryrequest parameteritems_per_page - info
added the new optional
queryrequest parameterpage - info
added the new optional
queryrequest parametersort - info
for the
queryrequest parameterteams_id, the type was generalized fromarrayto no type - info
added the required property
to the response with the status
- breaking