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": "d2124225-1618-48bb-ada0-08b5f08dcdb5",
"RequestForShiftTradeId": "3a4d09a5-fa83-4b9a-bd87-6a781880473c",
"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": "514482d2-b8cd-4ca2-9ff1-ed2349271278",
"SourceDeptApproverUserId": 1,
"DestinationDeptApproverUserId": 1
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}