HolidayQuota
post/v2/holidaysQuota

Request

  • Base URL
    https://my.clockodo.com/api
  • URL
    https://my.clockodo.com/api/v2/holidaysQuota
  • 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

Request body

users_idinteger required
year_sinceinteger required

Year from which on the vacation quota setting applies.

year_untilinteger nullable

Year until the vacation quota setting applies.

countnumber float required

Amount of vacation days.

notestring nullable

Example request

{
  "year_since": 2023,
  "year_until": 2023
}

Response

Successful operation

Example response

{
  "data": {
    "id": 10,
    "users_id": 20,
    "count": 3.5,
    "note": "Carryover from previous year"
  }
}

Changes

    • info

      api operation id createHolidaysQuotaV2 removed and replaced with createHolidayQuotaV2

    • warning

      added the new DuplicateEntryForUserAndYear enum value to the //// response property for the response status

    • warning

      added the new EndBeforeStart enum value to the //// response property for the response status

    • warning

      added the new FieldsShouldBeEmpty enum value to the //// response property for the response status

    • warning

      added the new IsDefaultHolidaysCount enum value to the //// response property for the response status

    • warning

      added the new ResourceNotFound enum value to the //// response property for the response status

    • info

      api operation id createHolidaysQuotumV2 removed and replaced with createHolidaysQuotaV2

    • info

      added to the // response property anyOf list for the response status