Gets shifts based on certain optional criteria.

Request

POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/kiosk/shifts

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

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

{
    "employeeId": "int32",
    "fromDateUtc": "date-time",
    "kioskId": "int32",
    "locationId": "int32",
    "toDateUtc": "date-time"
}

Properties

Name Type
employeeId int32
fromDateUtc date-time
kioskId int32
locationId int32
toDateUtc date-time

Response

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

Status code Description Resource
200 OK

OK

TimeAndAttendanceShiftModel