Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Perform Action Input

Perform a quick action that creates or updates a record.
JSON example

This example uses a request body to create a Contact for an Account.

1POST /services/data/v67.0/ui-api/actions/perform-quick-action/Account.CreateContact
1{
2  "apiName": "Contact",
3  "contextId": "001RO000003zKtEYAU",  
4  "fields": {
5    "LastName": "Rogers"
6    "Title": "VP, Facilities"
7  }
8}
Properties
Name Type Description Required or Optional Available Version
allowSaveOnDuplicate Boolean Specifies whether to save a duplicate record (true), or not (false). The default value is false. Optional 57.0
apiName String To API name of the object to create or update. Required 57.0
contextId String The ID of the related record for the quick action. Required for performing object-specific quick actions

Optional for performing global quick actions

57.0
fields Map<String, Object> Map of field names to field values. Required 57.0