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.

Context Data Record

Output representation of context data record, including its attributes, type, associated child objects, and other relevant metadata.
Sample Response
1{
2            "childQueryRecords": [
3                {
4                    "childQueryRecords": [],
5                    "record": {
6                        "attributesAndValues": {
7                            "Name": "Acme Corp",
8                            "BillingAddress": "{city:New York,country:USA,geocodeAccuracy:null,latitude:null,longitude:null,postalCode:31349,state:NY,street:10 Main Rd.}",
9                            "Industry": "Manufacturing",
10                            "Type": "Prospect"
11                        },
12                        "businessObjectType": "Account",
13                        "childBusinessObjectTypes": [
14                            "OpportunityItem",
15                            "OrderItem"
16                        ],
17                        "contextDataRecordId": "003xx000004WhFsAAK",
18                        "currentState": "CREATED",
19                        "lastUpdatedTimeStamp": "2023-10-11 04:46:13.804"
20                    }
21                }
22            ]
23        }
24    ]
25}
Property Name Type Description Filter Group and Version Available Version
attributesAndValues Map<String, Object> Mapping of attributes to their corresponding values within the context. Small, 59.0 59.0
businessObjectType String Type of business object. Small, 59.0 59.0
childBusinessObjectTypes String[] List indicating types of child business objects. Small, 59.0 59.0
contextDataRecordId String Unique ID of the context data record. Small, 59.0 59.0
currentState String The current status of the context data record. Small, 59.0 59.0
lastUpdatedTimeStamp String The last updated time stamp of context data record. Small, 59.0 59.0