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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 2 3 5

missing data retrieval from Data Scope Interface

I tried to call .Net API Interface with report template "TermsAndCondations" but not all data retrieved from Interface like ISIN,SEDOL code so why this data didn't retrieved from Interface. the code used is : var availableFields = ExtractionsContext.GetValidContentFieldTypes(ReportTemplateTypes.TermsAndConditions); // Status.EndNotify(ExtractionsContext); // Status.Notify(ExtractionsContext, null, "ExtractWithNotes", MethodType.Operation, Publish.Secondary); //Create new report template with conditions var extractionRequest = new TermsAndConditionsExtractionRequest { IdentifierList = InstrumentIdentifierList.Create( new[] { new InstrumentIdentifier { Identifier = "IBM.N", IdentifierType = IdentifierType.Ric } }, null, false) , ContentFieldNames = new[] {"Company Name","Currency Code","ISIN","Issue Price","Issuer Name","MIC List","MIC","SEDOL","SICC", "SICC Sector Code","Ticker","Trading Symbol","Trading Status","Official Name","Operating MIC" } }; var extractionResult = ExtractionsContext.ExtractWithNotes(extractionRequest); var extractedRows = extractionResult.Contents;

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

1 Answer

· Write an Answer
Upvotes
Accepted
11.3k 25 9 14

Hi @rshehata,

I have tried the code and am able to get ISIN and SEDOL properly. This could be permission issue. The permission issue should be logged in the Extraction Note which can be accessed via the extractionResult.Note property.

If it is the permission issue, please contact your TR account team.

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.