VMware {code} Community
sbandavid
Contributor
Contributor

Query Service : how to get extra attributes

Hi all,

does anyone know if it is possible to use the query service to return additional Object properties?

In my case I am trying to get the versionNumber of all my Vcloud Catalog Items.

At the moment I am using the query service to get the references to all my Catalog Items and for each catalogItem I then use a GET /catalogItem/{id} operation to get the full object representation and attributes which includes VersionNumber attribute.

This is working ok but the problem is that having many CatalogItems it takes a long time to complete.

I was wondering if its possible to use the query service to include additional properties in the query result set so I need only a single api query instead of one per each catalog item.

Thanks,

Davide.

0 Kudos
0 Replies