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

Best Answer

Answers

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

  • 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