Invoke Defined Entity Behavior
Invokes a behavior on a defined entity. The contract of the behavior is specified in the behavior description. If an Activity behavior is invoked with an 'operationId' in the invocation metadata, then another invocation of the behavior with the same 'operationId' will be ignored within the next 1 hour.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/entities/{id}/behaviors/{behaviorId}/invocations
COPY
Path Parameters
string
id
Required
id
string
behaviorId
Required
behaviorId
Request Body
BehaviorInvocation
of type(s)
application/json
Optional
{
"arguments": {},
"metadata": {}
}
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
Vendor Extension
This operation contains the following vendor extensions defined in the spec:
[object Object]
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/cloudapi/1.0.0/entities/{id}/behaviors/{behaviorId}/invocations
Availability
Added in 35.0
On This Page
Defined Interface Behaviors Operations
GET
Get Defined Entity Type Behaviors
GET
Get Type Behavior
GET
Get Defined Entity Type Access
POST
Add Defined Entity Type Access
PUT
Set Defined Entity Type Access
GET
Get Interface Behaviors
GET
Get Interface Behavior
POST
Invoke Static Behavior
GET
Get Static Behavior Execution Log
POST
Invoke Defined Entity Behavior
GET
Get Behavior Execution Log