POST api/CreateEquityAsset
Request Information
URI Parameters
None.
Body Parameters
EquityAssetView| Name | Description | Type | Additional information |
|---|---|---|---|
| Symbol | string |
None. |
|
| Description | string |
None. |
|
| Type | integer |
None. |
|
| CalendarCode | integer |
None. |
|
| CountryId | integer |
None. |
|
| RoundType | byte |
None. |
|
| Currency | integer |
None. |
|
| AssetClassId | integer |
None. |
|
| SettlementDays | byte |
None. |
|
| ExchangeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Symbol": "sample string 1",
"Description": "sample string 2",
"Type": 3,
"CalendarCode": 4,
"CountryId": 5,
"RoundType": 64,
"Currency": 7,
"AssetClassId": 8,
"SettlementDays": 64,
"ExchangeId": 10
}
application/xml, text/xml
Sample:
<EquityAssetView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiCompass.Models.ClassModel.Asset"> <AssetClassId>8</AssetClassId> <CalendarCode>4</CalendarCode> <CountryId>5</CountryId> <Currency>7</Currency> <Description>sample string 2</Description> <ExchangeId>10</ExchangeId> <RoundType>64</RoundType> <SettlementDays>64</SettlementDays> <Symbol>sample string 1</Symbol> <Type>3</Type> </EquityAssetView>
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.