DSS: Tick History Market Depth Report with Query Types = Schedule relative query - Error in API

PBI
PBI Newcomer

Hi,

i use .NET DSS REST API.

under DSS i have set up the following 'Tick History Market Depth Report':

image

When i choose the schedule Relative Query, there is a parse error when i retrieve the report via the API.

ExtractionsContext.ReportTemplateOperations.GetByName("TEST")

the exception is:

image

It seem the enum ReportDateRangeType does not have the 'Relative' value

Can you check this?

Thanks

Pierre

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @PBI

    The latest ReportDateRangeType defined in https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/$metadata has Relative enum.

    <EnumType Name="ReportDateRangeType">
    <Member Name="NoRange" Value="0"/>
    <Member Name="Init" Value="1"/>
    <Member Name="Range" Value="2"/>
    <Member Name="Delta" Value="3"/>
    <Member Name="Last" Value="4"/>
    <Member Name="Relative" Value="5"/>
    </EnumType>

    However, ReportDateRangeType defined in .NET SDK 11.1.527.0 doesn't have this Relative enum.

    public enum ReportDateRangeType
    {
    NoRange = 0,
    Init = 1,
    Range = 2,
    Delta = 3,
    Last = 4,
    }

    Please directly submit the query to TRTH V2 support team via Contact Us. Please select product: Thomson Reuters Tick History v2.

Answers