Forum Discussion
I just ran the loop on a subset of my users in an endpoint and got 2794 records back. I'm not running into this limit.
Hmmm....
Maybe I'm doing something wrong. Again, it works on the first two calls but returns 0 on everyone after that. Here's the calls I'm making:
for (int i = 1; i <= LITHIUM_CONSUMER_API_CALLS; i++)
{
ProcessLithiumData("http://h30434.www3.hp.com",
String.Format(@"restapi/vc/categories/id/InkJet/posts/recent?page_size={0}&page={1}&restapi.response_format=json&restapi.format_detail=full_list_element&restapi.response_style=view", LITHIUM_RECORDS_PER_CALL, i));
}
Any ideas? If I issue the calls from a browser I get the same result: First two work, next ones all fail.
Could be their is no cap on listing users. Can you run against a category/board of yours and see if you can pull more than 2000?
Notice: This is HP's consumer forum that contains all the Photosmart, Deskjet, Officejet, and Laser printers.
Related Content
- 3 years ago
- 3 years ago