POST api/e10account/edit
Request Information
URI Parameters
None.
Body Parameters
E10Account| Name | Description | Type | Additional information |
|---|---|---|---|
| E10AccountId | globally unique identifier |
None. |
|
| IsPrimary | boolean |
None. |
|
| Name | string |
None. |
|
| IP | string |
None. |
|
| Port | integer |
None. |
|
| UserName | string |
None. |
|
| SecurityIdentity | string |
None. |
|
| Identity | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"e10AccountId": "a6e11a47-7be5-4b60-a995-05e1926615ac",
"isPrimary": true,
"name": "sample string 3",
"ip": "sample string 4",
"port": 5,
"userName": "sample string 6",
"securityIdentity": "c2FtcGxlIHN0cmluZyA4",
"identity": "sample string 8"
}
application/xml, text/xml
Sample:
<E10Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Margin.Core.Data.Entities"> <E10AccountId>a6e11a47-7be5-4b60-a995-05e1926615ac</E10AccountId> <IP>sample string 4</IP> <Identity>sample string 8</Identity> <IsPrimary>true</IsPrimary> <Name>sample string 3</Name> <Port>5</Port> <SecurityIdentity>c2FtcGxlIHN0cmluZyA4</SecurityIdentity> <UserName>sample string 6</UserName> </E10Account>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | ApiResultStatus |
None. |
|
| Data | Object |
None. |
|
| Message | string |
None. |
|
| Code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": "success",
"data": {},
"message": "sample string 2",
"code": 1
}
application/xml, text/xml
Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Margin.Models"> <Code>1</Code> <Data /> <Message>sample string 2</Message> <Status>Success</Status> </ApiResult>