02-19-2017 07:51 PM
We have APIs set up to grab client session details. However, we would like to be able to query the data provided by the Data Center and Hypervisor license. This is essentially all of our VM information that does not get populated under client sessions. I found somewhat of what I am looking for under /webacs/api/v2/op/statisticsService/vms. However, out of the 500 VMs we have, I am only getting back 19 for some reason. I have tried the following to get more/different results:
1.) Increasing the size of MaxResults
2.) Filtering for VM name using the method provided in the API documentation
None of this has worked. Wondering if anyone has any tips on getting a full list of our VMs from the API url? Thanks in advance!
Solved! Go to Solution.
03-02-2017 09:31 AM
You need to include the firstResult too along with maxResults.
Please try this way and let us know
/webacs/api/v2/op/statisticsService/vms.json?firstResult=0&maxResults=100
03-02-2017 09:31 AM
You need to include the firstResult too along with maxResults.
Please try this way and let us know
/webacs/api/v2/op/statisticsService/vms.json?firstResult=0&maxResults=100
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: