For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 0 3

How to get CurrencyCodes in EquitySearch when searching with 'Ric' as IndentifierType?

dss-rest-apidatascope-selectdssrest-apiequities
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
Accepted
13.7k 26 8 12

@avinash.g

To retrieve the currency code for a particular instrument, there are different possibilities, as the Currency Code is a common field.

You can do an extraction for Terms and Conditions. Example request for 2 instruments:

{
    "ExtractionRequest": {
        "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.TermsAndConditionsExtractionRequest",
        "ContentFieldNames": [
           "RIC", "Currency Code"
        ],
        "IdentifierList": {
            "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
            "InstrumentIdentifiers": [
                {
                    "Identifier": "00209tab1",
                    "IdentifierType": "Cusip"
                },
                {
                    "Identifier": "IBM.N",
                    "IdentifierType": "Ric"
                }
            ]
        }
    }
}

Alternatives:

Do a composite extraction request (the query is the same as above, except the data type):

"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.CompositeExtractionRequest",

You can even do a request for End of Day data for that instrument. For details see REST API Tutorial 2.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

New content to illustrate cross-referencing was recently added to the portal. See .Net tutorial 8 (with associated sample code), REST API Tutorial 7 (pure HTTP in Postman), and Java sample DSS2TermsAndConditionsClient.

Upvotes
9.6k 10 7 7
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.