question

Upvotes
Accepted
3 0 2 2

How to inspect the data type

How to inspect the elements(structure) of Odata data type?

For Example :

How to know the structure(fields, allowed values) of the json message with @odata.type : "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.HistoricalReferenceExtractionRequest

Thanks.

tick-history-rest-api
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
Upvote
Accepted
78.6k 248 52 74

There are two options:

1. Access Metadata links at https://hosted.datascopeapi.reuters.com/RestApi/v1. HistoricalReferenceExtractionRequest is defined in https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/$metadata.

<ComplexType Name="HistoricalReferenceExtractionRequest" BaseType="ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.ExtractionRequestBase">
  <Property Name="ContentFieldNames" Type="Collection(Edm.String)"/>
  <Property Name="IdentifierList" Type="ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierListBase"/>
  <Property Name="Condition" Type="ThomsonReuters.Dss.Api.Extractions.ReportTemplates.HistoricalReferenceCondition"/>
</ComplexType>

2. Use API Reference Tree from DSS Help page at https://hosted.datascopeapi.reuters.com/RestApi.Help/Home/RestApiProgrammingSdk.


historicalref.png (87.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.

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.