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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 0 0

Unable to generate security Token using Datascope API using C# code

1723027073874.png

#technologydatascope-selectapi
1723027073874.png (126.2 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
85.5k 292 53 77

@satish.gonaboyina

It seems that you are using the old namespace (ThomsonReuters).

The current one is https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/GetValidContentFieldTypes(ReportTemplateType=DataScope.Select.Api.Extractions.ReportTemplates.ReportTemplateTypes'ElektronTimeseries').

Please download the latest DataScope Select .NET SDK from here.

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
24.6k 64 15 21

Hello @satish.gonaboyina,

You might have to enable TLS 1.2 to try out the example application. Please see the example app installation instructions here.

Also note, that the .NET SDK and hence the example application for DSS is not going to be supported going forward. Since the DSS API is RESTful, you should be able to use any open source REST libraries like RestSharp or HttpClient to invoke these API endpoints. Later on, we can provide some DSS C# samples as well.

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.

Thank you, had enable TLS 1.2 explicitly via code and able to execute WPF examples, but unable to retrieve TickHistory as per C# sample code.


While calling ExtractionsContext.GetValidContentFieldTypes(ReportTemplateTypes.ElektronTimeseries);

Exception: "'ThomsonReuters.Dss.Api.Extractions.ReportTemplates.ReportTemplateTypes'ElektronTimeseries'' is not a valid enumeration type constant."

unable-to-retrieve-tickhistory.png


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.