PUT api/agent-account/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
AgentAccountUpdateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| FullName | string |
Required |
|
| RoleCode | string |
Required |
|
| ManagerId | integer |
None. |
|
| Phone | string |
Required |
|
| string |
Required |
||
| Note | string |
None. |
|
| AvatarUrl | string |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"FullName": "sample string 1",
"RoleCode": "sample string 2",
"ManagerId": 1,
"Phone": "sample string 3",
"Email": "sample string 4",
"Note": "sample string 5",
"AvatarUrl": "sample string 6",
"IsActive": true
}
application/xml, text/xml
Sample:
<AgentAccountUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmiletripB2B.API.Models"> <AvatarUrl>sample string 6</AvatarUrl> <Email>sample string 4</Email> <FullName>sample string 1</FullName> <IsActive>true</IsActive> <ManagerId>1</ManagerId> <Note>sample string 5</Note> <Phone>sample string 3</Phone> <RoleCode>sample string 2</RoleCode> </AgentAccountUpdateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.