Hello,
When I try: Command : http://<<webserver>>:81/SearchSvc/CVWebService.svc/VM I got only the first 100 VMs entry in alphabetical order back.
there is no error!
Have any one an idea why not all, we have around 2000 VMs.
thanks in advance
Juergen
Hello,
When I try: Command : http://<<webserver>>:81/SearchSvc/CVWebService.svc/VM I got only the first 100 VMs entry in alphabetical order back.
there is no error!
Have any one an idea why not all, we have around 2000 VMs.
thanks in advance
Juergen
Best answer by Stuart Painter
Hi Juergen
This may be down to paging size. The default page size is 100 results and pages are indexed.
You can modify the page size and page index returned using pagingInfo request header.
By default the first 100 records are returned, page index 0. which would be provided in the request header as “pagingInfo: 0,100”
If you want to return the next 100 records, this is index 1, so “pagingInfo: 1,100”.
You can modify the page size to return a larger set, for example the first 500 records would be requested in the header as “pagingInfo: 0,500”, the next 500 would be “pagingInfo: 1,500”, etc.
As Edd suggests, please provide the service pack version, request header and the programming interface used to make the requests and we may be able to assist further with your API calls.
Thanks,
Stuart
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.