Hi,
I got the documentation for vCAC REST API's from VMware vCloud Automation Center Documentation . I think it has updated recently. I was looking into that document but could not figure out how to establish connection to vCAC server using this API's. I used basic authentication and hitting this URI https://<vcac-server host name>/catalog-service/api but the server is throwing back the below response, looks like i need to attach a authentication token to the header. How to get this token?
Same here. I am guessing we need to obtain a saml token from the SSO server?
Hi,
Currently vCAC 6.0.X API's are in BETA state, and you'll only have access with a valid SSO token. Thing is, it isn't easy to generate one at the moment since not all the API's for authentication are complete.
If you want to use vCAC's current API, i'd recommend installing the vCAC 6 plugin for vCO , and using REST based workflows from there, since the plugin handles the authentication seamlessly.
Also, you can explore the different objects / commands/ structure of the API , from vCO's 'API Explorer' - the left side pane when opening a scriptable task.
I hope this helps.
Thank You oKushmaro for taking the time out and replying to my question.
Hopefully VMware will add all authentication API's soon. Anyhow, as you suggested i downloaded and installed the vCAC 6 plugin for vCO. It came with lot of workflows by default, you mean this are REST based workflows for interaction with vCAC? or your pointing to any different workflows.
Hi,
I took the time to write 2 detailed posts on how to use the REST APIs. Find the here: