GET api/EquityIndexConstituent/Get?d={d}&idx={idx}&t={t}

Return the list of constituents for a given equity index on a given date.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
d

The date in format of YYYYMMDD, i.e. 20130920.

string

Required

idx

Index id, i.e. 15.

string

Required

t

Authentication token.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of EquityIndexConstituent
NameDescriptionTypeAdditional information
BE_Id

unsigned integer

None.

Quantity

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BE_Id": 1,
    "Quantity": 2.1
  },
  {
    "BE_Id": 1,
    "Quantity": 2.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfEquityIndexConstituent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BondEdge.Equity">
  <EquityIndexConstituent>
    <BE_Id>1</BE_Id>
    <Quantity>2.1</Quantity>
  </EquityIndexConstituent>
  <EquityIndexConstituent>
    <BE_Id>1</BE_Id>
    <Quantity>2.1</Quantity>
  </EquityIndexConstituent>
</ArrayOfEquityIndexConstituent>