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
REFINITIV
Question by Max.McDonough · Oct 18, 2018 at 01:33 PM · dss rest apirest apijson

In DSS REST API, how can I specify the source for a CUSIP?

{
  "ExtractionRequest": {
    "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.TimeSeriesExtractionRequest",
    "ContentFieldNames": [
      "File Code",
      "RIC",
      "Close Price",
      "High Price",
      "Low Price",
      "Open Price",
      "Bid Price",
      "Ask Price",
      "Universal Close Price"
    ],
    "IdentifierList": {
      "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList", 
      "InstrumentIdentifiers": [{
        "Identifier": "36729W509",
        "IdentifierType": "Cusip"
      }]
    },
    "Condition": {
      "LastPriceOnly": false,
      "StartDate": "2018-10-01T00:00:00.000Z",
      "EndDate": "2018-10-18T00:00:00.000Z"
    }
  }
}

When my identifier in REST API/JSON is a cusip, how do I specify a source? My settings are set to default to EJV for hybrids, but there are times when I need to override that. For example, in the attached, I need to default this cusip to the .PK source. What do I need to add to my code to make this work?

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 · Oct 19, 2018 at 04:10 AM

@Max.McDonough,

You can filter on a source, using this syntax when defining the identifier:

{ "Identifier": "36729W509", "IdentifierType": "Cusip", "Source": "OTC" }

But note that the source must be an exchange code, not a RIC extension. For this particular Cusip I discovered the source is OTC, not PNK.

Does this 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 Max.McDonough · Oct 19, 2018 at 10:40 AM

Thanks very much. So in this case, the API field name is "Source" - is there a full list of field names that I can reference for the future when building out these calls?

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 ♦♦ · Oct 22, 2018 at 03:21 AM 0
Share

@Max.McDonough, you are welcome.

When you define an instrument identifiers list, there are no other fields (apart from the user defined ones, but they do not serve to select of filter things, they are only tags you can add in case you have your own internal references).

The API reference tree describes all API call fields, it is very useful. To discover what parameters can be used in API calls, I suggest you also look at this section of the Programming without SDK tutorial.

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

Related Questions

Why when pulling data using the RIC the values are correct but it is showing Null when using the ISIN?

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

Calling the API for specific ccy pairs

fx rate extraction

why to say "Max retries exceeded with url: /RestApi/v1/Authentication/RequestToken"

  • 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