04-11-2024 03:31 AM
if create more then 500 location in but when i use https://developer.webex.com/docs/api/v1/locations/list-locations this but only 500 location.
what solution for get more then 500 location?
Solved! Go to Solution.
04-12-2024 04:00 AM
It would help if you can provide details on exactly what's happening, are you getting an error or something?
For me, I was able to pull the initial 500 locations and then in the Response Headers I can see that there is a header called "Link", which contains a url link to the next page. see here;
Just need to remove all the un-needed characters (like the arrows <> and the ; rel="next" at the end) and it works. See here:
I used Postman for this test as I don't have a code sample on hand to do this. But API works for me as you can see.
04-11-2024 05:27 AM
Have you tried Paginating results?
04-12-2024 03:14 AM
yes but it's not working so please give me one example
04-12-2024 04:00 AM
It would help if you can provide details on exactly what's happening, are you getting an error or something?
For me, I was able to pull the initial 500 locations and then in the Response Headers I can see that there is a header called "Link", which contains a url link to the next page. see here;
Just need to remove all the un-needed characters (like the arrows <> and the ; rel="next" at the end) and it works. See here:
I used Postman for this test as I don't have a code sample on hand to do this. But API works for me as you can see.
04-12-2024 04:38 AM
Thank you
04-12-2024 03:56 AM
Why is it not working? Is the link header missing? Is the link not working? What error message do you get?
04-12-2024 04:01 AM
No errors occur; only 500 locations can be retrieved, not more.
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