Working time represents the usual amount of hours an employee would work in their position and for a particular work pattern
working times array
Unauthorized - Authorization Required
General Error
{- "links": {
- "self": "string"
}, - "data": [
- {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03",
- "type": "workingTimes",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17",
- "fteFactor": 1,
- "fteCalcMethod": "Direct Entry",
- "contractHoursPerWeek": 20,
- "contractDaysPerWeek": 3,
- "contractWeeksPerAnnum": 26
}, - "relationships": [
- {
- "position": {
}, - "workPattern": {
}
}
]
}
]
}
post working time
Post working time
object |
working times
Bad Request
Unauthorized - Authorization Required
Unprocessable Entity
General Error
{- "data": {
- "type": "workingTimes",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17",
- "fteFactor": 1,
- "fteCalcMethod": "Direct Entry",
- "contractHoursPerWeek": 20,
- "contractDaysPerWeek": 3,
- "contractWeeksPerAnnum": 26
}, - "relationships": {
- "position": {
- "data": {
- "id": "4bf0d109-86b6-4ebb-8563-1d529009e83b",
- "type": "positions"
}
}, - "workPattern": {
- "data": {
- "id": "e6eca788-01ec-41b1-a7ca-65e9bac13ca3",
- "type": "workpatterns"
}
}
}
}
}
{- "links": {
- "self": "string"
}, - "data": {
- "0": {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}, - "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03",
- "type": "workingTimes",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17",
- "fteFactor": 1,
- "fteCalcMethod": "Direct Entry",
- "contractHoursPerWeek": 20,
- "contractDaysPerWeek": 3,
- "contractWeeksPerAnnum": 26
}, - "relationships": [
- {
- "position": {
}, - "workPattern": {
}
}
]
}
}
Get working time by ID
working times
Unauthorized - Authorization Required
Not Found
General Error
{- "links": {
- "self": "string"
}, - "data": {
- "0": {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}, - "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03",
- "type": "workingTimes",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17",
- "fteFactor": 1,
- "fteCalcMethod": "Direct Entry",
- "contractHoursPerWeek": 20,
- "contractDaysPerWeek": 3,
- "contractWeeksPerAnnum": 26
}, - "relationships": [
- {
- "position": {
}, - "workPattern": {
}
}
]
}
}
Update working time
working times
Bad Request
Unauthorized - Authorization Required
Unprocessable Entity
General Error
{- "data": {
- "type": "workingTimes",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17",
- "fteFactor": 1,
- "fteCalcMethod": "Direct Entry",
- "contractHoursPerWeek": 20,
- "contractDaysPerWeek": 3,
- "contractWeeksPerAnnum": 26
}, - "relationships": {
- "0": null,
- "position": {
- "data": {
- "id": "4bf0d109-86b6-4ebb-8563-1d529009e83b",
- "type": "positions"
}
}, - "workPattern": {
- "data": {
- "id": "e6eca788-01ec-41b1-a7ca-65e9bac13ca3",
- "type": "workpatterns"
}
}
}, - "id": "906264f1-2dff-4f72-a10b-59918cf738d7"
}
}
{- "links": {
- "self": "string"
}, - "data": {
- "0": {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}, - "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03",
- "type": "workingTimes",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17",
- "fteFactor": 1,
- "fteCalcMethod": "Direct Entry",
- "contractHoursPerWeek": 20,
- "contractDaysPerWeek": 3,
- "contractWeeksPerAnnum": 26
}, - "relationships": [
- {
- "position": {
}, - "workPattern": {
}
}
]
}
}