AnsweredAssumed Answered

With REST API v10, what would cause a partial response to a GET request?

Question asked by David Austin on Jun 9, 2016
Latest reply on Jun 10, 2016 by Dan Kallish

I am trying to download about 100,000 account records from SugarOnDemand by sending requests in batches of 100 and incrementing the offset by 100 each time.  By the time I get to the 6th batch, every response has fewer than 100 records, anywhere from 0 to 99.

 

I am sending the following request to REST API v10 (captured in Fiddler):

 

GET https://equify.sugarondemand.com/rest/v10/Accounts?max_num=100&offset=600 HTTP/1.1
OAuth-Token: (deleted)
Accept: application/json, application/xml, text/json, text/x-json, text/javascript, text/xml
User-Agent: SugarSharp
Host: equify.sugarondemand.com
Accept-Encoding: gzip, deflate

 

Does anyone have experience downloading large data sets from Sugar with the GET call?  Did you do it this way or have you run into any similar issues?

Outcomes