Newer Version Available
Query Context Record (POST)
Query a context record, with the option to retrieve child records.
- Resource
-
1/connect/contexts/query-record - Examples
-
1https://yourInstance.salesforce.com/services/data/v60.0/connect/contexts/query-record -
1https://yourInstance.salesforce.com/services/data/v60.0/connect/contexts/query-record?children=false - Available version
- 59.0
- Requires Chatter
- No
- HTTP methods
- POST
- Request parameters for POST
-
Parameter Name Type Description Required or Optional Available Version children Boolean Indicates whether to retrieve child records true or not false. Optional 59.0 - Request body for POST
-
- JSON example
-
1{ 2 "contextId": "7bc695bc-f38b-4a94-8a95-0caa50f3da53" 3} - Properties
-
Name Type Description Required or Optional Available Version attributes String[] List of attributes to be retrieved. Optional 58.0 businessObjectTypeFilter String Filter based on a business object type. Optional 58.0 contextId String The ID of the context to be queried. Required 58.0 queryPath String[] Path to the parent node. Optional 58.0
- Response body for POST
- Query Context Record Result