GET /api/v1/dataGraph/{dataGraphName}?lookupKeys=[]

Use lookup to request data from a data graph. The lookup fetches data from a data graph using fields of the primary Data Model Object (DMO) or the primary key of any participating DMO of the data graph.

HTTP method

GET

Availability

Data Cloud v1.0, Salesforce v51.0

Formats

REST

URI

api/v1/dataGraph/{dataGraphName}?lookupKeys=[]

Field NameField TypeDescription
dataGraphNamestringThe data graph's API name.
lookupKeysstring[]The lookupKeys query parameter is used to specify a list of related object's field names for search purposes. For example, if the Data Graph is related to webEngagements, to look up by a web engagement ID, the customer can pass webEngagementdlm.idc in lookupKeys.

This example shows the data graph UnifiedIndividual_DG queried using the field SourceRecordIdc=10000001 on the related object UnifiedLinkssotIndividualIr1dlm. For details on related objects, See Data Graph Data Structures. The request to query the data graph is made using these elements:

  • DMO: UnifiedLinkssotIndividualIr1

  • Name of the Primary Key: SourceRecordId

  • Primary Key value: 10000001

  • Syntax:

  • Request

  • Response