Sets the standard hours for this employee.
PUT https://api.yourpayroll.co.uk/api/v2/business/{businessId}/employee/{employeeId}/standardhours
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required | |
employeeId | string | Required |
The request body takes a complete StandardHoursModel resource, containing the following writable properties:
{
"advancedWorkWeekConfiguration": "string",
"employeeId": "int32",
"fullTimeEquivalentHours": "double",
"standardHoursPerDay": "double",
"standardHoursPerWeek": "double",
"standardWorkDays": [
{
"breakEndTime": "string",
"breakStartTime": "string",
"dayOfWeek": "int32",
"endTime": "string",
"hours": "double",
"id": "int32",
"locationId": "int32",
"startTime": "string",
"week": "int32",
"workDayType": "string",
"workTypeId": "int32"
}
],
"useAdvancedWorkWeek": "boolean"
}
Name | Type | Description |
---|---|---|
advancedWorkWeekConfiguration | string |
Nullable Possible values are:
|
employeeId | int32 | Int32 |
fullTimeEquivalentHours | double |
Nullable |
standardHoursPerDay | double | Decimal |
standardHoursPerWeek | double | Decimal |
standardWorkDays[] | array | |
standardWorkDays[].breakEndTime | string | String |
standardWorkDays[].breakStartTime | string | String |
standardWorkDays[].dayOfWeek | int32 | Int32 |
standardWorkDays[].endTime | string | String |
standardWorkDays[].hours | double | Decimal |
standardWorkDays[].id | int32 | Int32 |
standardWorkDays[].locationId | int32 |
Nullable |
standardWorkDays[].startTime | string | String |
standardWorkDays[].week | int32 | Int32 |
standardWorkDays[].workDayType | string |
Nullable Possible values are:
|
standardWorkDays[].workTypeId | int32 |
Nullable |
useAdvancedWorkWeek | boolean | Boolean |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
StandardHoursModel |
Powered by DapperDox