Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
avatar image
Question by billy.w.cunningham · Dec 02, 2019 at 02:29 PM · ids http post

.NET Code To Generate HTTP Post Request from IDS

Hi,

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”,

“token”: “validDacsID”,

"item" : [ "TRI.N", "EUR=", ],

“filter” : [“BID”, “ASK”],

“expandChain”:true, “emptyLink”: false, “chainLink”:false

}


Thanks for all help, Bill Cunningham

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

2 Replies

  • Sort: 
avatar image
Best Answer
Answer by billy.w.cunningham · Dec 03, 2019 at 05:47 PM

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!

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by wasin.waeosri · Dec 03, 2019 at 04:59 AM

Hello @billy.w.cunningham

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").



ids.png (17.6 KiB)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
7 People are following this question.
  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges