question

Upvotes
Accepted
2 0 0 4

How to request in batch

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!

rkd-apirkdc#
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

Upvotes
Accepted
47.2k 110 44 60

@2c5fe32b-b98f-460b-8e66-4a9be4cc983e

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.

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.