Newer Version Available

This content describes an older version of this product. View Latest

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/v62.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