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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
462 9 9 14

Is there a File Code Search?

Hi,

Is there a File Code Search? REST API request for https://hosted.datascope.reuters.com/datascope/search/default.aspx?scr=IPC

I was expecting to find something like, eg.

POST https://hosted.datascopeapi.reuters.com/RestApi/v1/Search/FileCodeSearch

But can't find.

Is there this or some kind of GET for File Codes that would include the Asset Type, ie. Equities, Indices, etc.

I think it would be good for this to be in line with GUI.

Best regards,

Gareth

dss-rest-apidatascope-selectdssrest-api
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.

1 Answer

Upvotes
Accepted
11.3k 25 8 13

@gareth.teage,

I cannot find a Search endpoint for file code (InstrumentSearch seems doesn't support this instrument type). You may use TermsAndConditions Extraction.

Extractions/ExtractWithNot
{
    "ExtractionRequest": {
        "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.TermsAndConditionsExtractionRequest",
        "ContentFieldNames": [
           "Asset Type"
        ],
        "IdentifierList": {
            "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
            "InstrumentIdentifiers": [
                {
                    "Identifier": "66",
                    "IdentifierType": "FileCode"
                }
            ]
        }
    }
}
{
    "@odata.context": "https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.ExtractionResult",
    "Contents": [
        {
            "IdentifierType": "FileCode",
            "Identifier": "66",
            "Asset Type": "EQTY"
        }
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.