PUT api/v1/shifttrades
Deny a request for a shift trade.
Request Information
URI Parameters
None.
Body Parameters
DenyShiftTradeRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RequestForShiftTradeId | globally unique identifier |
Required |
|
| CurrentAssignmentId | globally unique identifier |
Required |
|
| CurrentStaffId | integer |
Required |
|
| ProspectiveStaffId | integer |
Required |
|
| Comments | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RequestForShiftTradeId": "1725526b-a66c-4031-b460-4f203ed509a0",
"CurrentAssignmentId": "98b0c1bd-2c89-4e0f-a91d-47ed03c0db0b",
"CurrentStaffId": 3,
"ProspectiveStaffId": 4,
"Comments": "sample string 5"
}
Response Information
Resource Description
ApiResponseModelOfBaseResults| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfBaseResults |
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": {
"IsSuccessful": true,
"Message": "sample string 2"
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}