Request
- Base URLhttps://my.clockodo.com/api
- URLhttps://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 2Authorization code: /oauth/authorizeToken URL: /token
Request body
Example request
{
"date_since": "2023-02-28",
"date_until": "2023-02-28"
}Response
Successful operation
Example response
{
"targethoursRow": {
"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
createTargethourremoved and replaced withcreateTargetHour
- info
- breaking
the
request property type changed fromnumbertointeger - breaking
the
request property type changed fromnumbertointeger - breaking
the
request property type changed fromnumbertointeger - breaking
added to the
response propertyoneOflist for the response status - breaking
the
response's property type changed fromobjectto 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
the request property
became nullable
- breaking