Gets all the shift periods for the employment agreement with the specified ID.

Request

POST https://keypay.yourpayroll.com.au/api/v2/business/{businessId}/employmentagreement/{id}/shiftperiods

Path parameters

Parameter name Value Description Additional
id int32 Required
businessId 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