Declines a number of roster shifts by ID.

Request

POST https://api.yourpayroll.com.au/api/v2/ess/{employeeId}/shift/decline

Path parameters

Parameter name Value Description Additional
employeeId string Required

Request body

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

{
    "reason": "string",
    "shifts": [
        "int32"
    ]
}

Properties

Name Type Description
reason string String
shifts[] array of int32

Response

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

Status code Description Resource
200 OK

OK

EssRosterShiftCountModel