Skip to main content

Hi,

i’m searching for an REST API to do a preview of a subclient (vmware) when a vmware tag or folder are added to the content configuration.

When executing the API GET {{ServerUrl}}/v2/vsa/vmgroups/15521

the result is :

"planEntity": {},

            "content": {

                "children": Â

                    {

                        "equalsOrNotEquals": true,

                        "displayName": "OFF",

                        "allOrAnyChildren": true,

                        "type": 5,

                        "path": "OFF",

                        "name": "/Nd1/host/OFF"

                    }

 

even with the vmware tag *OFF* i get nothing.

i would like to have the list of VM like the preview option.

Please advice

Kind regards,

Christophe

@christophe Here’s an example api to preview subclient content for VSA client:

 

https://api.commvault.com/#1751dece-19dd-4bcb-b7b2-eea9a3db230b


Hi @Yash ,

i tried it on postman but i don’t undrestand what i need to provide in the body request :

 

"filterEntity": {},
"contentEntity": {
"children": n
{
"equalsOrNotEquals": true,
"displayName": "YashCISCS",
"allOrAnyChildren": true,
"description": "",
"type": 9,
"path": "YashCISCS",
"name": "500b4e8f-1a17-4a72-ad24-0d2df66e3c2e"
}
]
}
}

 

Kind regards,


@christophe It’s basically the VMName and VMGuid. But it’s optional in the payload. I’ve removed it from the payload now. 

https://api.commvault.com/#1751dece-19dd-4bcb-b7b2-eea9a3db230b

 


HI Yash,

it work better, the result is what i expected. i have the complete preview of the subclient content.

Kind regards,


Reply