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 Name | Field Type | Description |
---|---|---|
dataGraphName | string | The data graph's API name. |
lookupKeys | string[] | 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 webEngagement |
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