function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
reputationdemonreputationdemon 

Can you have multiple queries within a bulk API request?

Hi,

 

I am just wondering if you can have multiple queries in the bulk API request?

 

An example might be :-

 

<queryString>select id from Sales_Order_Line__c where Asset__c = '02iV00000002kdTIAQ' order by Order_Date_Time__c, Order_Line_ID__c ASC limit 1</queryString>

<queryString>select id from Sales_Order_Line__c where Asset__c = '02iV00000002kdTIAQ' order by Order_Date_Time__c, Order_Line_ID__c DESC limit 1</queryString>

.

.

 

I know each request will only return one row.

 

I the documentation there is noly an example of a query returning multiple rows.

 

Thanks,