REST API workflow to back up on demand

Contributors netapp-madhulik

To perform backup operations on demand using the SnapCenter Plug-in for VMware vSphere REST APIs, you must follow the prescribed sequence of REST API calls.

For each REST API, add https://<server>:<port>; at the front of the REST API to form a complete endpoint.

Step REST API Comments



Get List of Resource Groups gets the list of VMware vSphere client resource groups.
Note the resourceGroupId and the policyId for the resource group you want to back up.



Run a backup on a Resource Group backs up the resource group on demand.
Pass the resourceGroupId and the policyId from Step 1.