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": "5a908b8a-fefb-4e25-b029-87b99861da91",
"AccepterAsstinmentId": "eab9ac54-cc5b-4257-bc66-d27ea2050942",
"NewRequesterAssignmentId": "42306a94-9771-425b-a8d2-36b6984762f1",
"NewAccepterAsstinmentId": "14e25a98-6d7e-4509-90e7-7d750aa2d36c",
"AutoApproval": true,
"ManagerApproved": true,
"ManagerDenied": true,
"DualSignOffRequired": true,
"FirstApproverUserName": "sample string 8",
"SecondApproverUserName": "sample string 9",
"Comments": "sample string 10",
"IsCanceled": true
}