PUT api/v1/shifttrades/ApproveTradeRequest
Approve staff trade assignment request This is an asynchronous service.
Request Information
URI Parameters
None.
Body Parameters
ApproveShiftTradeRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ExistingAssignmentId | globally unique identifier |
Required |
|
| RequestForShiftTradeId | globally unique identifier |
Required |
|
| ApprovalType | integer |
Required |
|
| Comments | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ExistingAssignmentId": "e41b46a5-0d3a-42cd-8eb4-182e7bc1a1af",
"RequestForShiftTradeId": "6291da52-70a7-4424-8640-fd16445f474b",
"ApprovalType": 3,
"Comments": "sample string 4"
}
Response Information
Resource Description
ApiResponseModelOfApproveShiftTradeReturnModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfApproveShiftTradeReturnModel |
None. |
|
| Errors | Collection of string |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"PageSize": 1,
"Page": 2,
"TotalPages": 3,
"TotalResults": 4,
"Results": {
"AssignmentId": "7032c41b-84d8-4ffb-8f4a-d1ae0a4b6982",
"SourceDeptApproverUserId": 1,
"DestinationDeptApproverUserId": 1
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}