GetExchanges

    GetExchanges : Returns array of available exchanges configured for API Key

     

    Supported parameters
    accessKey Access key according to your subscription Required parameter.
    xml [true]/[false], default = [false] Optional parameter. By default function will return JSON data. Functions will return XML data if set as [true]
    Example http://endpoint:port/GetExchanges/?accessKey=0a0b0c&xml=true

     

    What is returned ?
    Exchange

     

    Example of returned data

     

    JSON XML
    {“EXCHANGES”: [“MCX”,”NSE”]}
    <?xml version=”1.0″ encoding=”utf-16″ ?>

    <Exchanges

    xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
    xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
    <Value>MCX</Value>
    <Value>NSE</Value>

    </Exchanges>

Was this helpful?