Propose a shift swap

Request

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

Path parameters

Parameter name Value Description Additional
employeeId string Required

Request body

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

{
    "createdByUserId": "int32",
    "dateCreated": "date-time",
    "fromEmployeeId": "int32",
    "note": "string",
    "rosterShiftId": "int32",
    "toEmployeeId": "int32",
    "token": "string"
}

Properties

Name Type Description
createdByUserId int32 Nullable
dateCreated date-time Nullable
fromEmployeeId int32 Int32
note string String
rosterShiftId int32 Int32
toEmployeeId int32 Int32
token string String

Response

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

Status code Description Resource
200 OK

OK

AuEssRosterShiftActionResponse