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 lukasz.ossowski · Apr 13, 2018 at 06:32 AM · dss rest apichains

Do you have any information how can I search with Chain RIC with DSS API?

The web interface has this functionality, that I can search by Chain RIC, but I cannot find any DSS API operation that supports it.

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.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by gteage01 · Apr 13, 2018 at 06:49 AM

Hi Lukasz,

The Chain 'search' is a little different to the other searches. My view is that this search is more of a validation check than a true search, as even for the GUI you have to know the exact match Chain RIC and it will either find (validate existence of) the specific identifier, or not...

That being the case I wonder if then the same functionality as you'd get with doing the 'search' can really just be accomplished by using the Instrument List append /validate identifier code.

Best regards,

Gareth

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 gteage01 · Apr 13, 2018 at 06:58 AM

var extractionsContext = new ExtractionsContext(new Uri("https://hosted.datascopeapi.reuters.com/RestApi/v1/";), "<your user id>", "<your password>");


var instrumentList = new InstrumentList { Name = "Instrument List Name" };
extractionsContext.InstrumentListOperations.Create(instrumentList);

//Append a bad identifier which will return a validation error
IEnumerable<InstrumentIdentifier> appendIdentifiers = new[] {
new InstrumentIdentifier
{
Identifier = "0#FX=",
IdentifierType = IdentifierType.ChainRic,
UserDefinedIdentifier = "Should be valid."
},
{
Identifier = "@@@",
IdentifierType = IdentifierType.ChainRic,
UserDefinedIdentifier = "Should be invalid."
}
};
var result = extractionsContext.InstrumentListOperations.AppendIdentifiers(instrumentList, appendIdentifiers, false);

//Output
foreach (var message in result.ValidationResult.Messages)
Debug.WriteLine("{0} ({1})", message.Message, message.Severity);

var createdInstrumentList = extractionsContext.InstrumentListOperations.Get(instrumentList.ListId);

extractionsContext.InstrumentListOperations.Delete(createdInstrumentList);

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 gteage01 · Apr 13, 2018 at 06:59 AM

HTTP/1.1 200 OK { "@odata.context": "https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#ThomsonReuters.Dss.Api.Extractions.SubjectLists.InstrumentsAppendIdentifiersResult";, "ValidationResult": { "ValidInstrumentCount": 1, "OpenAccessSegments": [ ], "StandardSegments": [ ], "ValidationDuplicates": [ ], "Messages": [ { "Severity": "Info", "Message": "RIC, @@@ (not found)" } ] }, "AppendResult": { "AppendedInstrumentCount": 1, "AppendDuplicates": [ ] } }

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

Related Questions

Asynchronous answers happen in DSS Rest API

Problem related to EndOfDayPricingExtractionRequest and (-9999..) price

DSS REST API SSL handshake error

How to extract the chain ric for a specific Underlying Ric via DSS Rest API?

DSS API: Data Usage: Menu Instrument Extraction ; Menu Instrument Usage ; Menu Quote

  • 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