Timeout In Refinitiv DSS REST API request

Hi,
would you be able to help with the bolded questions, please?
"Timeout for request is set to 30s in our system right now. The request and times can be seen below. Time is in UTC +4
0530-170202.250-I-(DsRefinitivDssClient) - Sending request: https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/ExtractWithNotes POST
0530-170202.250-I-(DsRefinitivDssClient) - Body Json: {"ExtractionRequest":{"@odata.type":"#DataScope.Select.Api.Extractions.ExtractionRequests.IntradayPricingExtractionRequest","ContentFieldNames":["RIC","Bid Price","Last Price","Quote Date","Trade Date","Ask Price","Quote Time","Trade Time"],"IdentifierList":{"@odata.type":"#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList","InstrumentIdentifiers":[{"Identifier":"LCOQ2","IdentifierType":"Ric"}]},"Condition":null}}
0530-170232.290-I-(DsRefinitivDssClient) - Got respons for Ric: LCOQ2, respons: jdk.internal.net.http.common.MinimalFuture@3040ff55[Completed exceptionally: java.util.concurrent.CompletionException: java.net.http.HttpTimeoutException: request timed out] (id=21753)
Later responses from Refinitiv DSS continue. I have couple of questions and hope you could help.
- What is recommended timeout for the call in Refinitiv DSS API?
- Is it expected that requests will time out now and then?
- Does timeout depend on client subscription plan?
- Does response time depend on instrument and market?
"
Best Answer
-
Hello @stefan.sirkia ,
In addition to the guidance from Gurpreet, to gain solid understanding of DSS REST integration, quickly and easily, would like to suggest to review our DSS REST Tutorials, I would recommend REST Intro, REST Connecting to Server, REST On Demand End Of Day ( as it discusses timeouts), REST On Demand Intraday- as you are using IntradayPricingExtractionRequest, and they can be subject to embargo, so important to understand for this type of request, and GUI Control Calls, as you are using GUI Controls emulation approach to request, rather then "On Demand".
The answers:
- The default timeout is set at 30 seconds, the product recommendation is not to reset it manually, so it is possible (see in EOD tutorial).
- Yes, as processing is asynchronous. The request is completed with status code 200 or accepted for processing with code 202.
- No.
- The main factors influencing how long the request takes to completed are the size of the request and the load of the service at the time of the request.
Hope that this information helps
0
Answers
-
Hi @stefan.sirkia,
There is no guidance for timeout, since the amount of time required to fulfill a request will depend on the amount of data extracted from it, and if that data is subject to embargo restrictions. The time can vary from few seconds to couple of hours.
Seems like, you are not using the async feature of the DSS API. See the async defination here. The Java examples provided in the downloads section, shows how to use this feature.
0 -
Hi, @Jirapongse thanks, I was under impression I already did, but seems I am mistaken. My apologies. Thank you to both @zoya faberov and @Gurpreet for answers, they very were very informative and also accepted by client. I have since then also advised the client not to hesitate using the Q&A themselves, as it is a valuable tool at their disposal.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 167 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 688 Datastream
- 1.4K DSS
- 624 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 557 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 276 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 692 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 105 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 10 Wealth Management Web Services
- 91 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛