POST api/Investor/CreateInvestorAccount

Request Information

URI Parameters

None.

Body Parameters

InvestorAccountCreateModel
NameDescriptionTypeAdditional information
InvestorId

integer

None.

IsPrimary

boolean

None.

Code

string

None.

Description

string

None.

Institution

string

None.

Country

string

None.

CountryCode

string

None.

CalendarCode

string

None.

Currency

string

None.

AccountType

string

None.

CashAssetClass

string

None.

CostMethodEquities

string

None.

CostMethodFutures

string

None.

CostMethodFunds

string

None.

CostMethodFIncome

string

None.

CostMethodOptions

string

None.

CostMethodUserAssets

string

None.

IsCashAutoAdjusted

boolean

None.

InvertedPositionEquities

boolean

None.

InvertedPositionFutures

boolean

None.

InvertedPositionFIncome

boolean

None.

InvertedPositionOptions

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "InvestorId": 1,
  "IsPrimary": true,
  "Code": "sample string 3",
  "Description": "sample string 4",
  "Institution": "sample string 5",
  "Country": "sample string 6",
  "CountryCode": "sample string 7",
  "CalendarCode": "sample string 8",
  "Currency": "sample string 9",
  "AccountType": "sample string 10",
  "CashAssetClass": "sample string 11",
  "CostMethodEquities": "sample string 12",
  "CostMethodFutures": "sample string 13",
  "CostMethodFunds": "sample string 14",
  "CostMethodFIncome": "sample string 15",
  "CostMethodOptions": "sample string 16",
  "CostMethodUserAssets": "sample string 17",
  "IsCashAutoAdjusted": true,
  "InvertedPositionEquities": true,
  "InvertedPositionFutures": true,
  "InvertedPositionFIncome": true,
  "InvertedPositionOptions": true
}

application/xml, text/xml

Sample:
<InvestorAccountCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiCompass.Models.ClassModel.Investor">
  <AccountType>sample string 10</AccountType>
  <CalendarCode>sample string 8</CalendarCode>
  <CashAssetClass>sample string 11</CashAssetClass>
  <Code>sample string 3</Code>
  <CostMethodEquities>sample string 12</CostMethodEquities>
  <CostMethodFIncome>sample string 15</CostMethodFIncome>
  <CostMethodFunds>sample string 14</CostMethodFunds>
  <CostMethodFutures>sample string 13</CostMethodFutures>
  <CostMethodOptions>sample string 16</CostMethodOptions>
  <CostMethodUserAssets>sample string 17</CostMethodUserAssets>
  <Country>sample string 6</Country>
  <CountryCode>sample string 7</CountryCode>
  <Currency>sample string 9</Currency>
  <Description>sample string 4</Description>
  <Institution>sample string 5</Institution>
  <InvertedPositionEquities>true</InvertedPositionEquities>
  <InvertedPositionFIncome>true</InvertedPositionFIncome>
  <InvertedPositionFutures>true</InvertedPositionFutures>
  <InvertedPositionOptions>true</InvertedPositionOptions>
  <InvestorId>1</InvestorId>
  <IsCashAutoAdjusted>true</IsCashAutoAdjusted>
  <IsPrimary>true</IsPrimary>
</InvestorAccountCreateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.