[{"label":"Latest (v37.0)","version":"latest"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Get Workflow Execution State

Description

Retrieves the current state for a requested workflow run

Request

Request

URL

URL


get
https://{api_host}/cloudapi/workflows/{workflowId}/executions/{executionId}/state
Copy

Path Parameters

Path Parameters

string
workflowId Required

workflowId


string
executionId Required

executionId


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns string of string of type(s) application/json;version=36.3

The request is successful

Errors

Errors

401

The user is not authorized


403

Forbidden


404

Cannot find a workflow with the specified ID or the user does not have ‘read’ access rights for that workflow

Code Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/workflows/{workflowId}/executions/{executionId}/state


[{"label":"Latest (v37.0)","version":"latest"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Feedback

Was this page helpful?