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.

Group Related Entity

Output representation of the request to fetch the related records of a party relationship group.
JSON example
1{
2   "relatedEntities":{
3      "Task":[
4            "00Txx000003rIRU",
5         "00Txx000003rIUi"
6      ],
7      "CaseParticipant":[
8         "1caxx00000000BL"
9      ],
10      "ContentDocumentLink":[
11         "06Axx0000004C93"
12      ],
13      "Case":[
14         "500xx000000bod7",
15         "500xx000000boej"
16      ],
17      "Contact":[
18         "003xx000004Wi5Q"
19      ],
20      "PublicComplaint":[
21         "0fhxx000000006T"
22      ],
23      "WorkOrder":[
24         "0WOxx0000000001"
25      ],
26      "CarePlan":[
27         "1spxx000000003F"
28      ],
29      "Opportunity":[
30         "006xx000001a332",
31         "006xx000001a34e",
32         "006xx000001a36G"
33      ],
34      "Lead":[
35         "00Qxx000002TRbO"
36      ],
37      "Entity1__c":[
38         "a01xx000003GaSF"
39      ],
40      "Asset":[
41         "02ixx0000004HHi"
42      ],
43      "Allegation__c":[
44         "a00xx000000bobV"
45      ],
46      "Contract":[
47         "800xx000000bohx"
48      ]
49   }
50}
Property Name Type Description Filter Group and Version Available Version
relatedEntities Map<String, String[]> Map of the related objects and their record IDs. For example, case participants, tasks, cases, contacts, and public complaints. Small, 58.0 58.0