Hello.
I'm created a workflow with input parameters as mimeAttachment on a vRealize Orchestrator 7.
How to start this workflow with rest api by curl?
"id": "48f2f2c3-6f5f-4b1e-8b1a-f8dd74a9983d", "customized-icon": false, "name": "CreaVirtualMachineFromYaml", "version": "0.0.6", "description": "", "input-parameters": [ { "description": "Composite blueprint yaml file", "type": "MimeAttachment", "name": "file" } ] }
I'm trying this:
curl -k -1 --user username@domain.ru -X POST "https://vroserver:8281/vco/api/workflows/48f2f2c3-6f5f-4b1e-8b1a-f8dd74a9983d/executions/" -F "name=file;data=@/tmp/vm.yaml;type=MimeAttachment"
and this:
curl -k -1 --user username@billing.ru -X POST "https://vroserver:8281/vco/api/workflows/48f2f2c3-6f5f-4b1e-8b1a-f8dd74a9983d/executions/" --form "data=@/tmp/vm.yaml;type=MimeAttachment"
all my approach not working.
How do this?