POST api/v1/staffshifttrades/Approve
Manager Approve StaffShiftTrade
Request Information
URI Parameters
None.
Body Parameters
ManageStaffShiftTradeRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StaffShiftTradeRequestId | integer |
Required |
|
| ActionType | integer |
Required |
|
| Comments | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StaffShiftTradeRequestId": 1,
"ActionType": 2,
"Comments": "sample string 3"
}
Response Information
Resource Description
StaffShiftTradeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StaffShiftTradeId | integer |
Required |
|
| RequesterAssignmentId | globally unique identifier |
Required |
|
| AccepterAsstinmentId | globally unique identifier |
Required |
|
| NewRequesterAssignmentId | globally unique identifier |
None. |
|
| NewAccepterAsstinmentId | globally unique identifier |
None. |
|
| AutoApproval | boolean |
Required |
|
| ManagerApproved | boolean |
Required |
|
| ManagerDenied | boolean |
Required |
|
| DualSignOffRequired | boolean |
Required |
|
| FirstApproverUserName | string |
String length: inclusive between 0 and 20 |
|
| SecondApproverUserName | string |
String length: inclusive between 0 and 20 |
|
| Comments | string |
String length: inclusive between 0 and 500 |
|
| IsCanceled | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"StaffShiftTradeId": 1,
"RequesterAssignmentId": "34a6c891-3fff-4ba7-8ab5-c4695f711e37",
"AccepterAsstinmentId": "a6d6fb51-9986-4571-af8a-265756d96e28",
"NewRequesterAssignmentId": "5a7ebd06-ce97-48eb-ad77-6568fb0f1198",
"NewAccepterAsstinmentId": "ffb41b31-64e0-4e74-b5cc-516adace8208",
"AutoApproval": true,
"ManagerApproved": true,
"ManagerDenied": true,
"DualSignOffRequired": true,
"FirstApproverUserName": "sample string 8",
"SecondApproverUserName": "sample string 9",
"Comments": "sample string 10",
"IsCanceled": true
}