defaultObjectExecuteAction
Overview
The VUEDA specific implementation for reactive-helper's object executeAction crud function. Sends a named action to the model's detail action url.
Signature
defaultObjectExecuteAction(args)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| args | object | yes | The arguments object. |
args Properties
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| acknowledgeWarnings | string | Warning digest from a prior 409, sent as Acknowledge-Warnings. | ||
| action | string | The action name, used as the url's action segment. | ||
| dryRun | boolean | When true, sends the request in dry-run mode. | ||
| formData | any | Form values submitted with the action, sent as the request body. | ||
| pk | string | The primary key of the object to act on. | ||
| requestMethod | string | The HTTP method for the request. Defaults to "PUT". | ||
| target | object | VUEDA specific arguments for the CRUD operation. |
Returns
CancellablePromise
- A cancellable promise.
Source
client/lib/utils/objectCrud.js:327