Accepts a number of roster shifts by ID.

Request

POST https://api.yourpayroll.co.uk/api/v2/ess/{employeeId}/shift/accept

Path parameters

Parameter name Value Description Additional
employeeId string Required

Request body

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

{
    "shifts": [
        "int32"
    ]
}

Properties

Name Type Description
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

UkAcceptRosterShiftsResponseModel