WorkTime
get/v2/workTimes/changeRequests

Request

  • Base URL
    https://my.clockodo.com/api
  • URL
    https://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 2
      Authorization code: /oauth/authorize
      Token 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.

sortSortIdDate[]
status1 | 2

Possible values:

  • 1: Requested
  • 2: Declined
integer[]
OR
integer nullable
OR
string csv-string
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 query request parameter items_per_page

    • info

      added the new optional query request parameter page

    • info

      added the new optional query request parameter sort

    • info

      for the query request parameter teams_id, the type was generalized from array to no type

    • info

      added the required property to the response with the status