Gets the shift periods for the specified employee.
POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/employee/{employeeId}/timesheet/shiftperiods
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required | |
employeeId | string | Required |
The request body takes a complete GetShiftPeriodsModel resource, containing the following writable properties:
{
"firstShiftStartTime": "date-time",
"lastShiftStartTime": "date-time"
}
Name | Type | Description |
---|---|---|
firstShiftStartTime | date-time |
Nullable |
lastShiftStartTime | date-time |
Nullable |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
ShiftPeriodModel |
Powered by DapperDox