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

Best Answer

  • @gteage01,

    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"
            }