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": "031d47a0-9f66-45b0-9882-6ebd553257c7",
"AccepterAsstinmentId": "702f88f5-5189-4f67-998c-09995abba12f",
"NewRequesterAssignmentId": "4e8a7ca7-ff12-4c9f-ae7a-1fef6d878c38",
"NewAccepterAsstinmentId": "a01029e9-b130-4d12-a22a-1013a5fb87d4",
"AutoApproval": true,
"ManagerApproved": true,
"ManagerDenied": true,
"DualSignOffRequired": true,
"FirstApproverUserName": "sample string 8",
"SecondApproverUserName": "sample string 9",
"Comments": "sample string 10",
"IsCanceled": true
}