Propose a shift swap
POST https://api.yourpayroll.com.au/api/v2/ess/{employeeId}/shift/swap/propose
Parameter name | Value | Description | Additional |
---|---|---|---|
employeeId | string | Required |
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"
}
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 |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
AuEssRosterShiftActionResponse |
Powered by DapperDox