PUT api/account/UpdateAccount?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Account| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountID | integer |
None. |
|
| EmployeeCode | string |
String length: inclusive between 0 and 10 |
|
| EmployeeName | string |
Required String length: inclusive between 0 and 100 |
|
| EmailID | string |
Required String length: inclusive between 0 and 50 |
|
| Designation | string |
String length: inclusive between 0 and 50 |
|
| LocationName | string |
String length: inclusive between 0 and 100 |
|
| Password | string |
String length: inclusive between 0 and 50 |
|
| CountryCode | string |
String length: inclusive between 0 and 4 |
|
| MobileNo | string |
String length: inclusive between 0 and 10 |
|
| RoleName | string |
String length: inclusive between 0 and 50 |
|
| UserName | string |
Required String length: inclusive between 0 and 50 |
Request Formats
application/json, text/json
Sample:
{
"AccountID": 1,
"EmployeeCode": "sample string 2",
"EmployeeName": "sample string 3",
"EmailID": "sample string 4",
"Designation": "sample string 5",
"LocationName": "sample string 6",
"Password": "sample string 7",
"CountryCode": "sample string 8",
"MobileNo": "sample string 9",
"RoleName": "sample string 10",
"UserName": "sample string 11"
}
application/xml, text/xml
Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MDMWebAPI.Models"> <AccountID>1</AccountID> <CountryCode>sample string 8</CountryCode> <Designation>sample string 5</Designation> <EmailID>sample string 4</EmailID> <EmployeeCode>sample string 2</EmployeeCode> <EmployeeName>sample string 3</EmployeeName> <LocationName>sample string 6</LocationName> <MobileNo>sample string 9</MobileNo> <Password>sample string 7</Password> <RoleName>sample string 10</RoleName> <UserName>sample string 11</UserName> </Account>
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. |