TargetHour
get/targethours

Request

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

integer[]
OR
integer
OR
string csv-string

Response

Successful operation

Example response

{
  "targethours": [
    {
      "id": 10,
      "users_id": 10,
      "surcharge_models_id": 10,
      "type": "weekly",
      "date_since": "2023-02-28",
      "date_until": "2023-03-03",
      "monday": 8.5,
      "tuesday": 8.5,
      "wednesday": 8.5,
      "thursday": 8.5,
      "friday": 8.5,
      "saturday": 8.5,
      "sunday": 8.5,
      "absence_fixed_credit": true,
      "compensation_daily": 30.5,
      "compensation_monthly": 0.5
    }
  ]
}

Changes

    • info

      api operation id getTargethours removed and replaced with getTargetHours

    • breaking

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

    • breaking

      the / response's property type changed from object to no type for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • info

      query request parameter users_id list-of-types was widened by adding types integer and string

    • info

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