Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • DSS /
avatar image
Question by lhabinsky · Apr 24, 2019 at 10:42 AM · authenticationdss-sdk

Authentication token expiration

Hi guys,

If my authentication token will expire in the middle of a long standing request will the request be fulfilled or it will blow up in the middle?

Thanks,

Leon

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
REFINITIV
Best Answer
Answer by Christiaan Meihsl · May 01, 2019 at 04:15 AM

@lhabinsky,

sorry for the belated response. You do not tell us what type of request you are making (what type of data, is it scheduled or on demand, are you using the .Net SDK), so my response will be generic.

You need a valid token every time you send a request to the API, whatever the request (i.e. the extraction request itself, a request to check the status of the extraction, or a request to retrieve the data). You can retrieve a new token any time, it should not break your extraction process. If you are using the .Net SDK the token renewal is handled transparently for you.

That said, if your request takes a very long time, you might want to break it up into smaller requests. We encourage people to group smaller requests into larger ones (like making 1 request for 10 instruments instead of 10 requests for 1 instrument), but there is also an upper limit. It might therefore be worth while breaking a large request into smaller ones, the accumulated time might well be smaller.

As an example, I had a customer requesting 20 years of data, it took 6 days. Requesting 1 year of data took a few hours. That was an obvious clue that requesting 20 years was not a good idea.

These are just indications, it is extremely difficult to give you numbers in this context. It also depends on the nature of your query, the type of data, the number of data fields, the date range, the number of instruments. If you regularly make the same type of request you could make some tests to find out what delivers the best response time (note that it will also depend on other factors such as server load).

I hope this helps.

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
Answer by lhabinsky · May 01, 2019 at 11:58 AM

Thank you for a very detailed reply. I will follow your guidelines.

Comment

People who like this

0 Show 1 · 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
Christiaan Meihsl ♦♦ · May 02, 2019 at 04:00 AM 0
Share

@lhabinsky, you are welcome :-)

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 >
12 People are following this question.

Related Questions

Sample C# code that excludes deleted items when pulling data from DSS Corporate Actions table

How to access instrument details from MBS Search in DSS

Use chain rics in the REST API

What content is available in the DSS GUI but not in the REST API?

DSS REST API StatusCode 400 response

  • 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