REST-API

The clockodo API allows you to connect clockodo to other systems. Accounting and project management applications or proprietary shell scripts are examples of useful mash-ups with clockodo.

api/holidaysquota: Read holiday quotas

With this resource you can read all holiday quota settings. The editing and adding of holiday quotas is currently not possible.


Object type „holidaysquotaRow“

Parameter Type Description
id integer The ID of the holiday quota settings
users_id integer The related employee's ID
year_since integer Year from which on the holiday quota setting apply Format YYYY
year_until integer Year until which the holiday quota setting apply Format YYYY
count integer Count of holidays

List holiday quotas

Request
GET /api/holidaysquota
Optional parameter users_id (integer) Restrict data to this user
Answer
{
  "holidaysquota": 
  {
    [object of type holidaysquotaRow],
    [object of type holidaysquotaRow], 
    ...
  }
}

Request single holiday quota setting

Request
GET /api/holidaysquota/[ID]
Antwort
{
  "holidaysquotaRow": [object of type targethoursRow]
}