PUT api/organization/employees/{employeeId}
Updates an employee.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
employeeId |
Existing employee ID. |
integer |
Required |
Body Parameters
UpdateEmployeeDTOName | Description | Type | Additional information |
---|---|---|---|
Name |
Name |
string |
None. |
Phone |
Phone number |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Phone": "sample string 2" }
text/html
Sample:
{"Name":"sample string 1","Phone":"sample string 2"}
application/xml, text/xml
Sample:
<UpdateEmployeeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs"> <Name>sample string 1</Name> <Phone>sample string 2</Phone> </UpdateEmployeeDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.