VMware Cloud Community
RichardBrown
Contributor
Contributor

Execute vRO workflow using API

Hello,

I have a workflow for building vms etc in vRO that i want to put a custom html page infront of and allow people to enter the required information for that workflow and then run the workflow. Does anyone have any useful information, example code or documentation on how you can PUT or POST to the vRO 7.6 API using JS or PHP...?

I have drawn a blank with google searches, i have a good understanding of PHP, JS and HTML but new to using APIs..

Many thanks in advance

0 Kudos
2 Replies
KabirAli82
Expert
Expert

Hi,

I think you got the wrong sub here. Best post this on; vRealize Orchestrator


Was I helpful? Give a kudo for appreciation!
Braindumping @ http://kablog.nl/
Tweeting @ https://twitter.com/_Kabir_Ali_
0 Kudos
iiliev
VMware Employee
VMware Employee

There is a lot of info online how to call REST APIs from Javascript. Google for something like "javascript call rest api".

There are also some tutorials specific to vRO APIs, for example, how to start a workflow. Here is a page by Burke Azbil with detailed info how to do it - https://www.vcoteam.info/articles/learn-vco/268-how-to-use-the-rest-api-to-start-a-workflow.html

0 Kudos