Declines a number of roster shifts by ID.
POST https://api.nzpayroll.co.nz/api/v2/ess/{employeeId}/shift/decline
Parameter name | Value | Description | Additional |
---|---|---|---|
employeeId | string | Required |
The request body takes a complete EssBulkDeclineRosterShiftsModel resource, containing the following writable properties:
{
"reason": "string",
"shifts": [
"int32"
]
}
Name | Type | Description |
---|---|---|
reason | string | String |
shifts[] | array of int32 |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
EssRosterShiftCountModel |
Powered by DapperDox