question

Upvotes
Accepted
1 0 0 1

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

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

]

dss-rest-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.

Upvotes
Accepted
25.1k 68 15 21

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.


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.

Upvotes
25.1k 68 15 21

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


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.

Upvotes
1 0 0 1

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.

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.