- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
Webex API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 05:27 AM
Have you tried Paginating results?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 03:14 AM
yes but it's not working so please give me one example
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 04:38 AM
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 04:01 AM
No errors occur; only 500 locations can be retrieved, not more.
