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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
462 13 11 15

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.

@gareth.teage

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
11.3k 25 9 14

@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.

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.