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 Details
dataGraphApiName
Type
string
Description
API name of the data graph to query.
lookupKey
Type
string
Description
The lookup key used to query the data graph.
dataSpaceApiName
Type
string
Description
API name of the data space.

Example

Example Request Body
{
   {
  "inputs": [
    {
      "dataspaceApiName": "default",
      "dataGraphApiName": "DGTest”,
      "lookupKey": "ssot__ContactPointAddress__dlm.ssot__Id__c=003SB000001a3GtYAI"
    }
  ]
}
Example Response Body
{
   [
  {
    "actionName": "cdpGetDataGraphByLookup",
    "errors": null,
    "invocationId": null,
    "isSuccess": true,
    "outcome": null,
    "outputValues": {
      "data": [
        "{\"ssot__Id__c\":\"1008703904\",\"ssot__BirthDate__c\":\"2021-12-20T07:53:46.832Z\", ...}]}",
        "{\"ssot__Id__c\":\"1008703907\",\"ssot__BirthDate__c\":\"2021-12-20T07:53:46.832Z\", ...}]}"
      ]
    },
    "sortOrder": -1,
    "version": 1
  }
]