GET api/EquityIndex/GetAllEquityIndices?t={t}&list={list}

Get all available equity indices for a given token.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
t

Authentication token.

string

Required

list

1: default for general indices, 2: TS indices, 0: all indices.

integer

Default value is 1

Body Parameters

None.

Response Information

Resource Description

A collection of equity indices.

Collection of EquityIndex
NameDescriptionTypeAdditional 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>