How to request in batch

cj.talas
cj.talas Newcomer

Using C# for TRKD Api, how can i batch request multiple rics?
Example:
Retrieving:
- fundamentals -> Get Ratios Report
- fundamentals -> Get General Information

What are the limit for a single batch if it is possible?

Thanks!

Tagged:

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @cj.talas

    From the schemas, GetGeneralInformation_Request_1 and GetRatiosReports_Request_1 don't support batch request for multiple RICs.

    <xs:schema targetNamespace="http://www.reuters.com/ns/2009/01/26/webservices/rkd/Fundamentals_1" xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:complexType name="GetGeneralInformation_Request_1">
    <xs:attribute name="companyId" type="xs:string" use="required"/>
    <xs:attribute name="companyIdType" type="xs:string" use="required"/>
    <xs:attribute name="countryCode" type="xs:string"/>
    <xs:attribute name="lang" type="xs:string" default="en-US"/>
    <xs:attribute name="ShowReferenceInformation" type="xs:boolean" default="false"/>
    </xs:complexType>
    <xs:schema targetNamespace="http://www.reuters.com/ns/2009/01/26/webservices/rkd/Fundamentals_1" xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:complexType name="GetFundamentalReportsPart_Request_1">
    <xs:attribute name="companyId" type="xs:string" use="required"/>
    <xs:attribute name="companyIdType" type="xs:string" use="required"/>
    <xs:attribute name="countryCode" type="xs:string"/>
    <xs:attribute name="includeMedians" type="xs:boolean" default="false"/>
    </xs:complexType>

    <xs:element name="GetRatiosReports_Request_1" type="GetFundamentalReportsPart_Request_1"/>
    </xs:schema>

    Each request supports one companyId.