DSS REST API - Valid Ric works on interface but not on API

Options

C-JP-JCC can be extracted using intraday template via DSS interface (GUI) but when trying to perform the same extraction using the REST API the RIC is not recognized.

"Notes": [

"All identifiers were invalid. No extraction performed."

]

Tagged:

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓

    Are you requesting data when this instrument was active?

    I am using this request and able to successfully get results:

    {
    "ExtractionRequest": {
    "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.TickHistoryIntradaySummariesExtractionRequest",
    "ContentFieldNames": [
    "Close Ask",
    "Close Bid",
    "High Ask",
    "High Bid",
    "Low Ask",
    "Low Bid"
    ],

    "IdentifierList": {
    "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
    "InstrumentIdentifiers": [{
    "Identifier": "C-JP-JCC",
    "IdentifierType": "Ric"
    }
    ],

    "ValidationOptions": null,
    "UseUserPreferencesForValidationOptions": true
    },

    "Condition": {
    "MessageTimeStampIn": "GmtUtc",
    "ReportDateRangeType": "Range",
    "QueryStartDate": "2017-01-11T15:00:00",
    "QueryEndDate": "2017-01-11T15:30:00",
    "SummaryInterval": "TenMinutes",
    "TimebarPersistence": true,
    "DisplaySourceRIC": false
    }
    }
    }


    Also note that we are only able to help with technical/API questions on these forums. For clarification on content, please open a service ticket at my.refinitiv.com and speak with a data content expert.


Answers

  • Hi @joao_victor999,

    This RIC is expired, so you can get intraday summaries for it by using following parameters in your request -

    "ValidationOptions": {
    "AllowHistoricalInstruments": true
    },

    "UseUserPreferencesForValidationOptions": false


  • Hi @Gurpreet ,

    I was able to get the Instrument, but all information were null.

    Part of the notes response returned this line:


    WARNING: No Pricing for instrument (RIC,C-JP-JCC,), segment 'O' due to instrument not found.\r\nNo prices needed currency scaling.