+ Start a Discussion

External system is integrated with Salesforce

1. External system is doing a pull from Salesforce.


Sample SOAP request to pull data:

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
<urn:queryString>SELECT Id, Name, BillingStreet FROM Account WHERE Name LIKE '%a%'</urn:queryString>


How many querystring tags we can use? I wanted to understand if external system has the capability to retrieve mutiple objects data like can we use multiple query strings e.g.,
<urn:queryString>select id, name from Lead</urn:queryString>
<urn:queryString>select id, name from Opportunity</urn:queryString>

What is the limit of this?

2. External system is updating/inserting in to Salesforce.


<urn:sObjects xsi:type="urn1:Account"> <!--Zero or more repetitions:-->
<!--You may enter ANY elements at this point-->
<Name><b>Acme Rocket Supply, Inc.</b></Name>


Can we do multiple operations at a time.,
like updating one object and inserting another object?
Updating and inserting on same object?
What is the limit?


Please let me know the responses.







the only limit SF currently have with API is the amount of open cursors, ie "QueryLocator".


If you do the queries consequently, then there is no limits on the amount of queries.

However, if you want making a lot of queries to SF using API, consider using Bulk API

http://wiki.developerforce.com/page/Loading_Large_Data_Sets_with_the_Force.com_Bulk_API )