cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
980
Views
10
Helpful
1
Replies

Prime API v3.1 and Data Center Module

ds5879.cisco
Level 1
Level 1

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!

1 Accepted Solution

Accepted Solutions

vkongara
Level 1
Level 1

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

View solution in original post

1 Reply 1

vkongara
Level 1
Level 1

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

Getting Started

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: