HolidayQuota
put/v2/holidaysQuota/{id}

Request

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

Path parameters

idinteger required
Example:1

Request body

year_sinceinteger

Year from which on the vacation quota setting applies.

year_untilinteger nullable

Year until the vacation quota setting applies.

countnumber float

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 updateHolidaysQuotaByIdV2 removed and replaced with updateHolidayQuotaByIdV2

    • 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 updateHolidaysQuotumByIdV2 removed and replaced with updateHolidaysQuotaByIdV2

    • info

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