POST Employees/Update/{name}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
Body Parameters
EmployeesUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Name | string |
None. |
|
| BadgeNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": 1,
"Name": "sample string 2",
"BadgeNumber": "sample string 3"
}
text/html
Sample:
{"Code":1,"Name":"sample string 2","BadgeNumber":"sample string 3"}
application/xml, text/xml
Sample:
<EmployeesUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pushapi.Models"> <BadgeNumber>sample string 3</BadgeNumber> <Code>1</Code> <Name>sample string 2</Name> </EmployeesUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json, text/html
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>