[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"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 Presentation Deprecated

Description

Retrieves the definition of a workflow presentation. To retrieve the workflow presentation definition localized, add Accept-Language header, with the appropriate locale. In advance, localization resource should be present for the workflow, otherwise it defaults to the standard workflow presentation definition.

Request

Request

URL

URL


get
https://{api_host}/cloudapi/workflows/{workflowId}/presentation
Copy

Path Parameters

Path Parameters

string
workflowId Required

workflowId


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns Presentation of type(s) application/json;version=36.3

The request is successful

{
	"description": "string",
	"id": "string",
	"inputParameters": [
		{
			"description": "string",
			"encryptValue": false,
			"name": "string",
			"scope": "local",
			"type": "string",
			"updated": false,
			"value": {
				"inputType": "string"
			}
		}
	],
	"name": "string",
	"outputParameters": [
		{
			"description": "string",
			"encryptValue": false,
			"name": "string",
			"scope": "local",
			"type": "string",
			"updated": false,
			"value": {
				"inputType": "string"
			}
		}
	],
	"steps": [
		{
			"description": "string",
			"displayName": "string",
			"elementType": "string",
			"elements": [
				{
					"description": "string",
					"displayName": "string",
					"elementType": "string",
					"hidden": false,
					"id": "string",
					"messages": [
						{
							"code": "string",
							"details": "string",
							"severity": "INFO",
							"summary": "string"
						}
					]
				}
			],
			"hidden": false,
			"id": "string",
			"messages": [
				{
					"code": "string",
					"details": "string",
					"severity": "INFO",
					"summary": "string"
				}
			],
			"readOnly": false
		}
	],
	"vroId": "string"
}
string
description Optional

string
id Optional

array of WsParameter
inputParameters Optional

string
name Optional

array of WsParameter
outputParameters Optional

array of StepInfo
steps Optional

string
vroId Optional
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}/presentation


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"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?