[{"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

Update Workflow Presentation Instance

Description

Update a specific workflow presentation instance. Presentation fields are populated with input parameter values and are validated. If there are any validation errors, they are collected and attached to each field. The presentation is marked as invalid. If the parameter’s ‘updated’ flag is set to true, the dependent field values are recalculated.

Request

Request

URL

URL


put
https://{api_host}/cloudapi/workflows/{workflowId}/presentation/instances/{presentationExecutionId}
Copy

Path Parameters

Path Parameters

string
workflowId Required

workflowId


string
presentationExecutionId Required

presentationExecutionId


Request Body

Request Body

ExecutionContext of type(s) application/json Required

executionContext

{
	"parameters": [
		{
			"description": "string",
			"encryptValue": false,
			"name": "string",
			"scope": "local",
			"type": "string",
			"updated": false,
			"value": {
				"inputType": "string"
			}
		}
	]
}
array of WsParameter
parameters Optional
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

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

The request is successful

{
	"description": "string",
	"id": "string",
	"name": "string",
	"objectId": "string",
	"parameters": [
		{
			"description": "string",
			"encryptValue": false,
			"name": "string",
			"scope": "local",
			"type": "string",
			"updated": false,
			"value": {
				"inputType": "string"
			}
		}
	],
	"startDate": "string",
	"startedBy": "string",
	"steps": [
		{}
	],
	"valid": false
}
string
description Optional

string
id Optional

string
name Optional

string
objectId Optional

array of WsParameter
parameters Optional

string as date-time
startDate Optional

string
startedBy Optional

array of StepInfo
steps Optional

boolean
valid Optional
Errors

Errors

400

The request is invalid(validation error)


401

The user is not authorized


403

The user does not have ‘read’ access rights for that workflow


404

Cannot find a workflow or presentation instance with specified ID

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"parameters":[{"description":"string","encryptValue":false,"name":"string","scope":"local","type":"string","updated":false,"value":{"inputType":"string"}}]}' https://{api_host}/cloudapi/workflows/{workflowId}/presentation/instances/{presentationExecutionId}


[{"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?