05-15-2019 08:41 AM
Hi Team,
I am looking for any workaround with ERS API Call for the following problem :
https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvp66483/?reffering_site=dumpcr
Is there any way I can fetch that accounts which has been generated all together in one API Call ?
Is there any way I can ask only specific range of the created accounts to be fetch like from 20 to 80 ?
Thanks for any idea.
05-15-2019 04:40 PM
Please refer to the Search a Resource in Quick Reference of the on-box API doc. Under paging, it shows the max resource per page is 100. Thus, size=20&page=2 will fetch 21 ~ 40, page=3 will be 41 ~ 60, and so on.
Try it and let us know.
05-16-2019 08:18 AM - edited 05-16-2019 08:19 AM
Hi hslai,
Thanks for the reply.
Is there any way I can perform random generation of 100 accounts using the API Call and then fetch only the newly created accounts ?
05-16-2019 08:58 PM
There is no direct way to do this with API. Instead, we may use some 3rd-party random function to simulate random user names with some prefix and create guests using bulk requests.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide