No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Tell Me More: Actions and the REST API
Publisher Quick Actions
Use the Publisher Quick Actions resource to return a list of publisher actions as well as custom fields and objects that appear in the feed. The resource uses a URI of the format services/data/v30.0/quickActions/.
- Global Actions
To return global actions, use: services/data/v30.0/quickActions/
A call to this resource returns information about the global actions including our Shipify canvas custom action as shown in this snippet of the response:- Object Actions
To return a specific object’s actions, as well as global actions, use: services/data/v30.0/sobjects/object/quickActions/
The call /services/data/v30.0/sobjects/Invoice__c/quickActions returns information about global actions as well as the Invoice Create_Delivery action, as shown in this snippet of the response:- Specific Actions
To return a specific action, use: services/data/v30.0/sobjects/object/quickActions/{action name}
The call /services/data/v30.0/sobjects/Invoice__c/ quickActions/Create_Delivery returns information about only the Create_Delivery action, as shown in this response:- Action Details
To return a specific action’s descriptive detail, use: services/data/v30.0/sobjects/object/quickActions/{action name}/describe/
- Action Default Values and Field Values
To return a specific action’s default values, including default field values, use: services/data/v30.0/sobjects/object/quickActions/{action name}/defaultValues/
The call /services/data/v30.0/sobjects/Invoice__c/ quickActions/Create_Data/defaultValues returns information about defaults for the Invoice Create_Delivery action, as shown in this snippet of the response:- Action Default Values
To return the default values for an action, use: /services/data/v30.0/subjects/ object/quickActions/{action name}/defaultValues/{parent id}
Describe Layouts
Use the global describe layouts resource to get global layout information for objects, including publisher action objects. The resource uses a URI of the format: services/data/v30.0/ sobjects/Global/describe/layouts/
Use the describe layouts resource to obtain a description of a layout for a specific object, including publisher action objects. The resource uses a URI of the format: services/data/ v30.0/sobjects/object/describe/layouts/