NonbusinessDay
post/v2/nonbusinessDays

Request

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

nonbusiness_group_idinteger required

Default: Company default nonbusiness group

type'SPECIAL' | 'DISTINCT_ONCE' | 'DISTINCT_RECURRING' required

Possible values:

  • SPECIAL: Special
  • DISTINCT_ONCE: DistinctOnce
  • DISTINCT_RECURRING: DistinctRecurring
namestring required
half_dayboolean
surcharge_specialboolean
special_idinteger
dayinteger
monthinteger
yearinteger

Response

Successful operation

Example response

{
  "data": {
    "id": 10,
    "nonbusiness_group_id": 504,
    "name": "Tag der deutschen Einheit",
    "half_day": true,
    "surcharge_special": true,
    "special_id": 64,
    "evaluated_date": "2021-10-03",
    "day": 3,
    "month": 10,
    "year": 2021
  }
}

Changes

    • warning

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

    • warning

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

    • warning

      added the new ResourceConflictFound 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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • info

      added the optional property ///// to the response with the status

    • info

      removed from the // response property anyOf list for the response status