Accepts a number of roster shift swaps by shift ID.

Request

POST https://apimy.yourpayroll.io/api/v2/ess/{employeeId}/shift/swap/accept

Path parameters

Parameter name Value Description Additional
employeeId string Required

Request body

The request body takes a complete EssBulkRosterShiftSwapModel 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

MyEssBulkRosterShiftActionResponse