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

Create Custom Entity Type Action

Description

Creates a new custom entity type action

Request

Request

URL

URL


post
https://{api_host}/cloudapi/customEntityTypes/{customEntityTypeId}/actions
Copy

Path Parameters

Path Parameters

string
customEntityTypeId Required

Request Body

Request Body

CreateCustomEntityTypeAction of type(s) application/json Required
{
	"workflowId": "string",
	"workflowInputParameter": "string"
}
string
workflowId Required

uuid of workflow.


string
workflowInputParameter Required

Name of input parameter of given workflow to which this custom entity type should be mapped.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

Returns CustomEntityTypeAction of type(s) application/json;version=36.3
{
	"name": "string",
	"workflowId": "string",
	"workflowInputParameter": "string"
}
string
name Required

Name of workflow


string
workflowId Required

UUID of workflow.


string
workflowInputParameter Optional

Name of input parameter of given workflow to which this custom entity type should be mapped.

Errors

Errors

400

The request is invalid(validation error)


401

The user is not authorized


403

Forbidden


404

Not found

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"workflowId":"string","workflowInputParameter":"string"}' https://{api_host}/cloudapi/customEntityTypes/{customEntityTypeId}/actions


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