GetExchangeMessages : Returns array of last messages (Exchange Messages) related to selected exchange
Supported parameters
Exchange | String value like MCX | Name of supported exchange. How to get list of supported exchanges you can find here |
What is returned ?
Exchange Messages as received from the Exchange |
Sample request(JavaScript)
var request = { MessageType: "GetExchangeMessages", Exchange: "NFO", }; var message = JSON.stringify(request); websocket.send(message);
Example of returned data in JSON format
{ "Request":{ "Exchange":"NFO", "MessageType":"GetExchangeMessages" }, "Result":[ {"ServerTime":1391822398,"Identifier":"Market","Message":"Members are requested to note that ...","MessageType":"ExchangeMessagesItemResult"}, {"ServerTime":1391822399,"Identifier":"Market","Message":"2013 shall be levied subsequently.","MessageType":"ExchangeMessagesItemResult"} ], "MessageType":"ExchangeMessagesResult" }