Action Plan Template Items Input

Input representation for an Action Plan record.

JSON Example 

1{
2   "targetId":”07rS60000004CAUIA2",
3   “name”:”Goal Assignment Action Demo”,
4   "excludedItems":{
5      "records":[
6         “0PJS60000004CA1OAM”
7      ]
8   },
9   "updateableItems":{
10      "tasks":{
11         "records":[
12            {
13               "id":"BSHS60000004CA1OQA",
14               "subject":"Onboarding Mandatory Training",
15               "dueDate":"30-01-2022",
16               "status":"Completed",
17               "priority":"High",
18               "comment":"Mandatory trainings for the new hires",
19               "assignedTo":"0YwS60000004IByKAM"
20            }
21         ]
22      }
23   },
24   "adhocItems":{
25      "tasks":{
26         "records":[
27            {
28               "subject":"Salesforce Platform Basics Training",
29               "dueDate":"20-02-2023",
30               "status":"In Progress",
31               "priority":"Normal",
32               "comment":"Learn the Salesforce Platform basics",
33               "assignedTo":"0BsS60000004IByRAM",
34               "isRequired":"False"
35            }
36         ]
37      }
38   }
39}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
adhocItemsAction Plan Item Tasks InputDetails of the action plan items to be created.
Note: Applicable only when the shouldAllowOverride is set to true.
Optional57.0
excludedItemsString[]IDs of the action plan items to be removed.
Note: Applicable only when the shouldAllowOverride is set to true.
Optional57.0
nameStringName of the action plan.Required57.0
targetIdStringTarget ID of the action plan.Required57.0
updateableItemsAction Plan Item Tasks InputAction plan items to be updated.
Note: Applicable only when the shouldAllowOverride is set to true.
Optional57.0