POST api/employees/update
Request Information
URI Parameters
None.
Body Parameters
ViewEmployees| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Department | string |
None. |
|
| Contact | string |
None. |
|
| string |
None. |
||
| Role | string |
None. |
|
| Balance | integer |
None. |
|
| CashIn | integer |
None. |
|
| CashOut | integer |
None. |
|
| CreatedAt | string |
None. |
|
| IsAdmin | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Department": "sample string 3",
"Contact": "sample string 4",
"Email": "sample string 5",
"Role": "sample string 6",
"Balance": 7,
"CashIn": 8,
"CashOut": 9,
"CreatedAt": "sample string 10",
"IsAdmin": true
}
application/xml, text/xml
Sample:
<ViewEmployees xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizBook.Models.ViewModel"> <Balance>7</Balance> <CashIn>8</CashIn> <CashOut>9</CashOut> <Contact>sample string 4</Contact> <CreatedAt>sample string 10</CreatedAt> <Department>sample string 3</Department> <Email>sample string 5</Email> <Id>1</Id> <IsAdmin>true</IsAdmin> <Name>sample string 2</Name> <Role>sample string 6</Role> </ViewEmployees>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |