markitondemand / DEPRECATED-DataApis

Markit On Demand - Market Data APIs
http://dev.markitondemand.com
MIT License
178 stars 68 forks source link

XML chart data does is not properly received #22

Closed Ardy123 closed 7 years ago

Ardy123 commented 9 years ago

When requesting xml instead of json data, the chart information is not properly received.

From the example on line...

http://dev.markitondemand.com/MODApis/Api/v2/InteractiveChart/json?parameters=%7B%22Normalized%22%3Afalse%2C%22NumberOfDays%22%3A365%2C%22DataPeriod%22%3A%22Day%22%2C%22Elements%22%3A%5B%7B%22Symbol%22%3A%22AAPL%22%2C%22Type%22%3A%22price%22%2C%22Params%22%3A%5B%22c%22%5D%7D%5D%7D

returns the correct information where as...

http://dev.markitondemand.com/MODApis/Api/v2/InteractiveChart/xml?parameters=%7B%22Normalized%22%3Afalse%2C%22NumberOfDays%22%3A365%2C%22DataPeriod%22%3A%22Day%22%2C%22Elements%22%3A%5B%7B%22Symbol%22%3A%22AAPL%22%2C%22Type%22%3A%22price%22%2C%22Params%22%3A%5B%22c%22%5D%7D%5D%7D

returns this...

<InteractiveChartData><Labels></Labels><Positions></Positions><Dates></Dates><Elements><ElementData><Currency>USD</Currency><TimeStamp></TimeStamp><Symbol>AAPL</Symbol><Type>price</Type><DataSeries></DataSeries></ElementData></Elements></InteractiveChartData>