An employee's contractual working time and working pattern can be stored against the employment record. These end points allow for the querying and updating of working time records as held against an employee record
Employee work patterns array
Bad Request
Unauthorized - Authorization Required
Not Found
Unprocessable Entity
General Error
{- "data": [
- {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03",
- "type": "employeeworkingTimes",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17",
- "fteFactor": 0.666666,
- "contractHoursPerWeek": 20,
- "contractDaysPerWeek": 3,
- "contractWeeksPerAnnum": 26
}
}
]
}
Add employee working time
Employee work patterns
Bad Request
Unauthorized - Authorization Required
Unprocessable Entity
General Error
{- "data": {
- "type": "employeeWorkingTimes",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17",
- "fteFactor": 0.666666,
- "contractHoursPerWeek": 20,
- "contractDaysPerWeek": 3,
- "contractWeeksPerAnnum": 26
}, - "relationships": [
- null
]
}
}
{- "data": {
- "0": {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}, - "type": "employeeworkingTimes",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17",
- "fteFactor": 0.666666,
- "contractHoursPerWeek": 20,
- "contractDaysPerWeek": 3,
- "contractWeeksPerAnnum": 26
}, - "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}
}
Employee work patterns
Bad Request
Unauthorized - Authorization Required
Not Found
Unprocessable Entity
General Error
{- "data": {
- "0": {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}, - "type": "employeeworkingTimes",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17",
- "fteFactor": 0.666666,
- "contractHoursPerWeek": 20,
- "contractDaysPerWeek": 3,
- "contractWeeksPerAnnum": 26
}, - "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}
}
Update employee working time
employee FTE work patterns
Bad Request
Unauthorized - Authorization Required
Not Found
Unprocessable Entity
General Error
{- "data": {
- "type": "employeeWorkingTimes",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17",
- "fteFactor": 0.666666,
- "contractHoursPerWeek": 20,
- "contractDaysPerWeek": 3,
- "contractWeeksPerAnnum": 26
}, - "relationships": [
- null
], - "id": "906264f1-2dff-4f72-a10b-59918cf738d7"
}
}
{- "data": {
- "0": {
- "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}, - "type": "employeeworkingTimes",
- "attributes": {
- "fromDate": "2022-11-17",
- "toDate": "2023-11-17",
- "fteFactor": 0.666666,
- "contractHoursPerWeek": 20,
- "contractDaysPerWeek": 3,
- "contractWeeksPerAnnum": 26
}, - "id": "a0bc1ba8-063e-c1fd-3e8f-6b5951f33e03"
}
}