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 

InputTypeDescription
dataGraphApiNamestringAPI name of the data graph to query.
lookupKeystringThe lookup key used to query the data graph.
dataSpaceApiNamestringAPI 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]