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