POST api/data_source/e10_report_condition_projects/{programId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programId

string

Required

Body Parameters

E10Account
NameDescriptionTypeAdditional 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": "6bd67e1d-ab96-4d07-8fe8-25e74aafb487",
  "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>6bd67e1d-ab96-4d07-8fe8-25e74aafb487</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
NameDescriptionTypeAdditional 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>