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
UpdateEmployeeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Name |
string |
None. |
| Phone |
Phone number |
string |
None. |
| VAT |
VAT |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Phone": "sample string 2",
"VAT": "sample string 3"
}
text/html
Sample:
{"Name":"sample string 1","Phone":"sample string 2","VAT":"sample string 3"}
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> <VAT>sample string 3</VAT> </UpdateEmployeeDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.