Since a report of all the AP's with their corresponding antenna type is not available in Pirme Infrastructure, trying to retrieve this information through REST. This works BUT unable to see all the ID's: got only 100 ID's (0 -> 99).How can I see all 8227 ID's. Running PI 2.2.2 in a ESX.
You're running into the default page size of 100. You can request a larger page using the .maxResults
query parameter and setting it to 1000. You can also specify the offset into the results using the .firstResult
parameter.
For example, if you want to get the first page of 1000, send /webacs/api/v1/data/RadioDetails?.maxResults=1000&.firstResult=0
For the second page, increase firstResult by 1000 (because that's your page size), so send /webacs/api/v1/data/RadioDetails?.maxResults=1000&.firstResult=1000
and so on.
Lastly, if you want to get the full details of all of your radios, and not just the IDs, add the .full
query parameter and set it to true
. For example
/webacs/api/v1/data/RadioDetails?.full=true&.maxResults=1000&.firstResult=0
Check the API paging documentation on your appliance or on the DevNet reference guide for more details.
Comments
0 comments
Please sign in to leave a comment.