invoke_action
Call a Dataverse Web API action (bound or unbound) for non-CRUD operations. Pass entity set and ID for bound actions; parameters become the request body.
Instructions
Invoke a Dataverse Web API action (POST) — bound or unbound. Use for operations that are not plain CRUD, e.g. PublishDuplicateRule (bound to a duplicaterule) or QualifyLead (bound to a lead), or UnpublishDuplicateRule (unbound, takes DuplicateRuleId). Whether an action is bound is defined in the Web API $metadata. Pass entity_set+id for bound actions, neither for unbound. parameters becomes the JSON request body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Record GUID the bound action targets. Required iff entity_set is set. | |
| name | Yes | Action name, e.g. 'PublishDuplicateRule', 'QualifyLead'. Bare names are namespaced automatically for bound calls; pass a fully-qualified name to override. | |
| entity_set | No | Entity set (plural, e.g. 'leads') for a bound action. Omit for unbound actions. | |
| parameters | No | Action parameters sent as the JSON request body (e.g. { DuplicateRuleId } for PublishDuplicateRule, { CreateAccount, CreateContact, Status } for QualifyLead). |