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 carla.martinez · Aug 25, 2016 at 08:47 AM · rest apirest_apiextraction on demandhttp requests

On demand extraction via HTTP requests with list and template ids?

Is there a way to perform an on demand extraction - via HTTP request - without explicitly write both instruments and fields (template) lists? Ideally, we would like to perform on demand extractions passing a list id and a report template id at the request.

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.

4 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Troy Dalldorf · Aug 25, 2016 at 11:34 AM

This example should help. Unfortunately we do not have any examples on the help site for this feature.

{
  "ExtractionRequest":{
    "@odata.type":"#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.FundAllocationExtractionRequest",
    "ContentFieldNames":[ "FundSERVDO","FundSERVFE","FundSERVIS"],
    "IdentifierList":{ 
        "@odata.type":"#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentListIdentifierList",
        "InstrumentListId":"0x056354c268de2e3f"
    },
    "Condition":{ 
        "FundAllocationTypes":[ "Currency","IndustrySector","InvestmentCountry"]
    }
  }
}
Comment
Christiaan Meihsl
carla.martinez

People who like this

2 Show 3 · 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
carla.martinez · Aug 26, 2016 at 04:04 AM 0
Share

Tested it and it indeed works, many thanks! I assume I can include a report template id in an homologous way to the included list id at the example?

avatar image
REFINITIV
Rick Weyrauch carla.martinez · Aug 26, 2016 at 10:12 AM 0
Share

The REST API does not provide data formatting like a scheduled extraction, and so there is a lot of information in a Report Template that would not be put into play, which may be confusing to some users. What would be needed is a means to say GetFieldNamesFromReportTemplate(id).

There are 2 options: Fetch your stored RT and then enumerate the field list into the On Demand extraction, or, use an existing list and template with an immediate extraction. The first option does cause the wire transfer of the template each time, and the second on only returns the results via a formatted file.

avatar image
REFINITIV
Christiaan Meihsl ♦♦ · Aug 26, 2016 at 11:09 AM 0
Share

A new REST API tutorial 7 illustrating the use of an existing instrument list has been created.

avatar image
REFINITIV
Answer by Christiaan Meihsl · Aug 25, 2016 at 09:08 AM

@carla.martinez

I don't believe this is possible via an on demand extraction. But you could create a report template (or use an existing one), and then schedule an immediate extraction (this requires the instrument list Id and the report template id). This is explained in detail in REST API Tutorial 8.

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 Rick Weyrauch · Aug 25, 2016 at 09:20 AM

A little color commentary...

The reason for this is that On Demand is intended to be "an extraction in isolation" aka transactional. There is no persistence of any kind beyond the call to make it wholly self-contained.

One word of caution: Running immediate extractions means that the client should not modify or delete either the instrument list or the report template until all immediate extractions referencing them are complete.

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 Rick Weyrauch · Aug 25, 2016 at 10:56 AM

Correction: I now understand that On Demand will support referencing stored lists - you need to use a InstrumentListIdentifierList in place of a InstrumentIdentifierList in your call.

My cautionary comments apply.

Comment
Troy Dalldorf
Christiaan Meihsl

People who like this

2 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 ♦♦ · Aug 25, 2016 at 11:59 AM 0
Share

I was not aware of this feature. This is good to know !

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.

Related Questions

Status code: 501 Not Implemented

Detect securities unknown to Reuters

Historical Timeseries Pricing extraction via DSS Rest API

DSS restapi, extract on demand Bond information

DNS are not resolving ip behind DDirect name select.datascopeapi.extranet.reuters.biz correct, server will not be able to use internet/*.com.

  • 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