We have a client who needs to make a snapshot request from IDS, with a .NET app.
Do we have a stub of .NET code which will generate a complete http post request such as below? The request needs to go to for example http://idsserver:8080/ids-rest/json/quote, and the post body as below.
“closure” : “myTextString”,
"item" : [ "TRI.N", "EUR=", ],
“filter” : [“BID”, “ASK”],
“expandChain”:true, “emptyLink”: false, “chainLink”:false
Thanks for all help, Bill Cunningham
Thanks for the info Wasin. We got it fixed by using nc -lvk 9999, and having the user send his request to that process. We could see exactly what he was sending. He adjusted the content of his message accordingly, and we got his app getting data. Thanks for the help!
I think the RESTful service interface does not have capabilities to automatic generates the JSON request and HTTP Post messages source code/class like the SOAP interface. You need to manual create a HTTP post request message with .Net library (example HTTPClient class).
If you want more detail regarding the IDS RESTful service interface and .Net example code, I suggest you submit a ticket to the IDS support team via https://my.refinitiv.com/ web site directly (please select "Product: Interactive Delivery Server").