Gets the shift periods for the specified employee.

Request

POST https://api.nzpayroll.co.nz/api/v2/business/{businessId}/employee/{employeeId}/timesheet/shiftperiods

Path parameters

Parameter name Value Description Additional
businessId string Required
employeeId string Required

Request body

The request body takes a complete GetShiftPeriodsModel resource, containing the following writable properties:

{
    "firstShiftStartTime": "date-time",
    "lastShiftStartTime": "date-time"
}

Properties

Name Type Description
firstShiftStartTime date-time Nullable
lastShiftStartTime date-time Nullable

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK

ShiftPeriodModel