POST api/v1/staffshifttrades/Deny
Manager Deny 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": "1c45eed4-c11a-4a0b-9586-61c963a2802c",
"AccepterAsstinmentId": "0c49e50c-4da8-4db1-8e8a-a4863f6d1d8a",
"NewRequesterAssignmentId": "41d8e75c-b89e-46bc-a46e-2faae0d0f65d",
"NewAccepterAsstinmentId": "9214a5ed-223f-44ba-9691-90cff1fe0756",
"AutoApproval": true,
"ManagerApproved": true,
"ManagerDenied": true,
"DualSignOffRequired": true,
"FirstApproverUserName": "sample string 8",
"SecondApproverUserName": "sample string 9",
"Comments": "sample string 10",
"IsCanceled": true
}