Forum Discussion
In short, is there a limit to the amount of HostID's that can be submitted in a post to a System inventory Report.
- AshC6 years agoRetired GoTo Contributor
Hi, sorry for any confusion there.
It is true that 50 is the current maximum return value, and a continuation token is also returned. We should have this part updated in the API documents very soon.
- jackbarry4 years agoNew Contributor
I'm hitting this issue as well, but I'm not seeing a "continuation token" in the response. The only data in the response I get back is the a report object with token and expires (same token as was used to fetch the report), and the hosts object with an array of 50 hosts. I don't see anything in the headers either
- a_Person14 years agoActive Contributor
forgot to say, in a loop that check for null token with sleep of 60s between requests.....1000 machines took about 24 mins....eurgh
- a_person6 years agoNew Contributor
Thanks for the response
what is the purpose of the continuation token?
- AshC6 years agoRetired GoTo Contributor
It’s to assure we don’t potentially dump back several thousand lines in the result that could exceed timeouts on the response or flood the receiving code.