[{"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
Create Custom Entity Type Action
DescriptionCreates a new custom entity type action
Request
URLURL
https://{api_host}/cloudapi/customEntityTypes/{customEntityTypeId}/actions
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
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
201 Created
Returns
CustomEntityTypeAction
of type(s) application/json;version=37.0
{
"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
Error
400
The request is invalid(validation error)
401
The user is not authorized
403
Forbidden
Error
404
Not found
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.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
On This Page
Custom Entities Operations
delete