POST api/me/employees/{employeeId}/reassign
Requires Authorization!
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| employeeId | integer |
Required |
Body Parameters
EmployeeAppealReassignmentBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ToEmployeeId | integer |
None. |
|
| SelectedAppealIds | Collection of integer |
None. |
|
| ReassingAllAppeals | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"toEmployeeId": 1,
"selectedAppealIds": [
1,
2
],
"reassingAllAppeals": true
}
text/html
Sample:
{"toEmployeeId":1,"selectedAppealIds":[1,2],"reassingAllAppeals":true}
application/xml, text/xml
Sample:
<EmployeeAppealReassignmentBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.EmploymentBinding">
<ReassingAllAppeals>true</ReassingAllAppeals>
<SelectedAppealIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</SelectedAppealIds>
<ToEmployeeId>1</ToEmployeeId>
</EmployeeAppealReassignmentBindingModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json, text/html
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>