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.

Get Data Graph Data By Lookup

Get data of a data graph in Data Cloud by data graph API name, data space name, and lookup key.

This resource is available in API version 63.0 and later.

Supported REST HTTP Methods

URI: /services/data/v63.0/actions/standard/cdpGetDataGraphByLookup

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer token

Request Parameters

Input Type Description
dataGraphApiName string API name of the data graph to query.
lookupKey string The lookup key used to query the data graph.
dataSpaceApiName string API name of the data space.

Example

Example Request Body

1{
2   {
3  "inputs": [
4    {
5      "dataspaceApiName": "default",
6      "dataGraphApiName": "DGTest",
7      "lookupKey": "ssot__ContactPointAddress__dlm.ssot__Id__c=003SB000001a3GtYAI"
8    }
9  ]
10}

Example Response Body

1{
2   [
3  {
4    "actionName": "cdpGetDataGraphByLookup",
5    "errors": null,
6    "invocationId": null,
7    "isSuccess": true,
8    "outcome": null,
9    "outputValues": {
10      "data": [
11        "{\"ssot__Id__c\":\"1008703904\",\"ssot__BirthDate__c\":\"2021-12-20T07:53:46.832Z\", ...}]}",
12        "{\"ssot__Id__c\":\"1008703907\",\"ssot__BirthDate__c\":\"2021-12-20T07:53:46.832Z\", ...}]}"
13      ]
14    },
15    "sortOrder": -1,
16    "version": 1
17  }
18]