Last Updated: Jan 2026
Disclaimer
In order to reproduce the sample below, you will need to have valid credentials for DataScope Select. The source code in this article was simplified for illustration purposes, you can find the full project here.
Overview
The compliance policy of financial institutions usually restricts purchasing or owning securities issued by companies (or their subsidiaries) which were underwritten by those financial institutions. This article demonstrates how we can use the DataScope Select .NET SDK to extract all associated securities for a list of legal entities.
Solution
We are going to use a csv file as an input, which will consist of three columns:
- security identifier type, ISN (ISIN), CSP (CUSIP) or SED (SEDOL);
- security identifier;
- description.
So, in our case, the file companies.csv will look like this:
This file will help us get the OrgID, a Refinitiv issuer identifier.
We are going to use the following DataScope Select templates:
- Terms and Conditions;
- EntityHierarchy.
So, we are going to establish a connection to DataScope Select, upload the companies.csv input file, get a list of OrgIDs for those instruments, then extract an entity hierarchy for each OrgID to get a list of associated OrgIDs and, finally, build a full list of all instruments associated with all entities.
Code
Prerequisites
In order to start working with the DataScope Select .NET SDK you will need to download the latest SDK, extract it, copy the following files into your solution folder and reference them in your IDE:
- Microsoft.OData.Client.dll
- Microsoft.OData.Core.dll
- Microsoft.OData.Edm.dll
- Microsoft.Spatial.dll
- Newtonsoft.Json.dll
- DataScope.Select.Core.RestApi.Common.dll
- DataScope.Select.RestApi.Client.dll
For more information on how to install the SDK have a look at the .Net SDK tutorial 1.
Authentication
Firstly, we need to establish a connection to DataScope Select host.
Reading the inputs
Once the connection to the host is established, our app will read the companies.csv file, parse it and create an InstrumentIdentifier list:
Extracting issuer OrgIDs
We are going to create a field array that is going to be used in the extraction of the Terms and Conditions template
Now we are going to use the DataScope Select object TermsAndConditionsExtractionRequest with the above field list to extract the issuer OrgIDs into issuerOrgIdAry:
Extracting entity hierarchy
We are going to use issuerOrgIdAry from the previous step in otder to create a company entity array:
Now, let's create a field array for this extraction:
So, all the preparation at this point is done. Let us use the DataScope Select object LegalEntityHierarchyExtractionRequest to create the associated identifier extraction:
Compiling a list of identifiers
Let us create one list for all related identifiers:
Extracting associated instruments
Next, let us use the TermsAndConditionsExtractionRequest object again extract to all instruments:
Results
Finally, display the results in the console:
Here is what our output will look like:
Conclusion
Automating similar routines with DataScope Select is quick and simple, offering you greater flexibility and is more efficient than the manual use of DataScope Select via the browser.
Get In Touch
Related APIs
Related Articles
Request Free Trial
Call your local sales team
Americas
All countries (toll free): +1 800 427 7570
Brazil: +55 11 47009629
Argentina: +54 11 53546700
Chile: +56 2 24838932
Mexico: +52 55 80005740
Colombia: +57 1 4419404
Europe, Middle East, Africa
Europe: +442045302020
Africa: +27 11 775 3188
Middle East & North Africa: 800035704182
Asia Pacific (Sub-Regional)
Australia & Pacific Islands: +612 8066 2494
China mainland: +86 10 6627 1095
Hong Kong & Macau: +852 3077 5499
India, Bangladesh, Nepal, Maldives & Sri Lanka:
+91 22 6180 7525
Indonesia: +622150960350
Japan: +813 6743 6515
Korea: +822 3478 4303
Malaysia & Brunei: +603 7 724 0502
New Zealand: +64 9913 6203
Philippines: 180 089 094 050 (Globe) or
180 014 410 639 (PLDT)
Singapore and all non-listed ASEAN Countries:
+65 6415 5484
Taiwan: +886 2 7734 4677
Thailand & Laos: +662 844 9576