08-11-2017 03:24 AM - edited 08-11-2017 03:32 AM
I confirmed the reference to use QueryMore.
But I was confused. This is because two different descriptions of the retention period of queryLocator are described:
> Any queryLocator results greater than 2,000, will only be stored by Zuora for 5 days before it is deleted.
> Note: Zuora expires queryMore cursors after 15 minutes of activity.
* I assume that "queryMore cursors" is the same as queryLocator.
Therefore, I think the second descriptions is incorrect.
I have read the explanation of SOAP QueryMore while waiting for 1 hour.
It is written as "As of WSDL 20.0, Zuora will now expire queryMore() cursors after 15 minutes of activity".
I assume that this description was moved to the REST API reference due to some mistake.
on 08-14-2017 01:58 AM
Thank you for letting us know about the inconsistency in the API Reference, and for your detailed investigation!
I'm checking how queryLocator currently works so that we can get the docs clarified. I'll update you when I have more info.
a month ago
Hi @yamasaki1ma, sorry for the delay in getting back to you. I wanted to let you know that I am investigating the correct way to document this, and have not forgotten about it.
Will follow up again soon.
3 weeks ago
To answer one of your original questions - yes, "queryMore cursor" means a value of
From our initial investigations, it appears that
queryLocator values are considered to have expired after 15 minutes of inactivity. However, as you (and I) have observed, it is possible to continue to use a
queryLocator value beyond the 15 minute mark. We will have to do further investigation to figure out how long
queryLocator values can be used for in practice.
For now, my recommendation is that you treat all
queryLocator values as having expired after 15 minutes. I hope this is OK. I will follow up with more information as I have it.
Thanks again for your understanding.