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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
0 0 0 1

Find all Rics in a chain

Hi,

Can someone point me in the right direction please.
I have a ChainRIC "1WSURF11"
When I use DSS portal I can see all the consistuents for 1WSURF under the Open Access Constituents tab

1718107164029.png

How would I find the same using the REST API?

tnx in advance,
Brian

dss-rest-apidss#contentchain-ric
1718107164029.png (121.1 KiB)
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
23.7k 61 15 21

Hello @brian.keating,

You can use the Search/Historical Chain Resolution endpoint to get the chain constituents for your date range.

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
0 0 0 1

Thank you for replying @Gurpreet

I did try this with the sample .net project and a few different chains that I'm permissioned to see in the web portal, however I get a forbidden exception when trying via the API, I'm not sure why.

1718121306385.png


1718121306385.png (121.1 KiB)
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
23.7k 61 15 21

Hello @brian.keating,

Historical Chain Resolution is only available to TickHistory users. The error message shows that you are not entitled to invoke this API call. You can speak to the LSEG account manager to get additional permissions, or you can use the Terms and Conditions extraction request from the ExtractWithNotes and specify RIC as the field that needs to be extracted in the output. This will lead to the expansion of the chain.

For e.g.:

{
  "ExtractionRequest": {
    "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.TermsAndConditionsExtractionRequest",
    "ContentFieldNames": ["RIC"],
    "IdentifierList": {
      "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
      "InstrumentIdentifiers": [{
          "IdentifierType": "ChainRIC",
          "Identifier": "0#HO:"
        }
      ],
      "ValidationOptions": {
        "AllowHistoricalInstruments": true,
        "AllowInactiveInstruments": true,
        "AllowOpenAccessInstruments": false
      },
      "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
0 0 0 1

Tnx again @Gurpreet apreciate your responses, seems I dont have permission for the ExtractWithNotes either, I'll get the correct person to follow up with the Account Manager

tnx again for all your help.

1718180549619.png


1718180549619.png (105.7 KiB)
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.