POST api/me/employees/{employeeId}/reassign

Requires Authorization!

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employeeId

integer

Required

Body Parameters

EmployeeAppealReassignmentBindingModel
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EmployeeAppealReassignmentBindingModel'.

Response Information

Resource Description

integer

Response 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>