VMware Cloud Community
rdaka
Enthusiast
Enthusiast

Requesting XaaS Blueprint using REST API

I am requesting an XaaS blueprint using REST API from postman. Follwing are the calls I am making.

Requesting XaaS BP -> POST https://$vRA/catalog-service/api/consumer/entitledCatalogItems/{catalogItemId}/requests

Checking status of the request -> GET https://$vRA/catalog-service/api/consumer/requests/{requestId}

The XaaS blueprint I am requesting executes a vRO workflow which returns some output variables.

My request is completing successfully but I am not able view the output when I check the status of the request. Also I do not see any separate call to check the output. Is there a way to see the XaaS BP request output using REST call.

Thanks in advance.

Tags (2)
0 Kudos
3 Replies
invincible90
Contributor
Contributor

hi, rdaka thanks for asking, But I have a question for you that why aren't you using REST Api's of vRO. Please find the below links these would be very helpful for completing your objective

vRO REST API: querying workflows by categoryID

https://www.jonathanmedd.net/2016/08/obtaining-vro-workflow-state-and-result-with-powervro.html

these two links follow two different approaches but the core isthe same as both of them are leveraging vRO api's

0 Kudos
rdaka
Enthusiast
Enthusiast

Due to security concerns, we do not want applications to directly connect to vRO and execute workflows.

If we cannot get the output parameters from vRA calls, I think we may have to fallback to using vRO REST API.

0 Kudos
onboard
Enthusiast
Enthusiast

Hi rdaka,

We started out with the same approach and I am now having exactly the same problem. Did you find a solution or did you decide to go with vRO REST API?

Christian

0 Kudos