GET api/Index/GetIndices?t={t}&c={c}&list={list}
Get list of indices.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
t |
Authentication token. |
string |
Required |
c |
Asset class: 1:Equity, 2:Fixed Income, 0: both. Default is 0. |
integer |
Default value is 0 |
list |
1: default for general index list, 2: TS index list, 0: all indices |
integer |
Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
List indices.
Collection of EquityIndexName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
AssetClass | string |
None. |
|
Name | string |
None. |
|
Code | string |
None. |
|
Vendor | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "AssetClass": "sample string 2", "Name": "sample string 3", "Code": "sample string 4", "Vendor": "sample string 5" }, { "Id": 1, "AssetClass": "sample string 2", "Name": "sample string 3", "Code": "sample string 4", "Vendor": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfEquityIndex xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BondEdge.Equity"> <EquityIndex> <AssetClass>sample string 2</AssetClass> <Code>sample string 4</Code> <Id>1</Id> <Name>sample string 3</Name> <Vendor>sample string 5</Vendor> </EquityIndex> <EquityIndex> <AssetClass>sample string 2</AssetClass> <Code>sample string 4</Code> <Id>1</Id> <Name>sample string 3</Name> <Vendor>sample string 5</Vendor> </EquityIndex> </ArrayOfEquityIndex>