Get Profile Child Data

Retrieves related child records for a specific profile record. This endpoint allows you to access hierarchical data through parent-child relationships.

Syntax 

  • HTTP Method: GET
  • Availability: Data 360 v1.0, Salesforce v51.0
  • format: REST
  • URI: /api/v1/profile/{dataModelName}/{Id}/{childDataModelName}

Path Parameters 

ParameterTypeDescription
dataModelNamestringRequired. The unique identifier of the parent data model object. Example: Individual__dlm
IdstringRequired. The unique identifier of the parent record. Example: 123
childDataModelNamestringRequired. The unique identifier of the child data model object. Example: ContactPointEmail__dlm

Query Parameters 

ParameterTypeDescription
fieldsstringComma-separated list of fields to include in the response. Example: Email__c,IsPrimary__c
limitintegerMaximum number of records to return. Default: 49,999. Example: 1000
offsetintegerNumber of records to skip before returning results. Example: 100
orderbystringField to sort results by. Use - prefix for descending order. Example: Email__c,-IsPrimary__c
searchkeystringField to search by. Example: Email__c

Response Structure 

The response includes:

  • data: Array of child record objects containing the requested data
  • done: boolean indicating if all results have been returned

Examples 

Request 

1GET https://{TSE}.360a.salesforce.com/api/v1/profile/Individual__dlm/123/ContactPointEmail__dlm?fields=Email__c,IsPrimary__c

Response 

1{
2  "data": [
3    {
4      "Email__c": "john.doe@example.com",
5      "IsPrimary__c": true
6    },
7    {
8      "Email__c": "john.doe@work.com",
9      "IsPrimary__c": false
10    }
11  ],
12  "done": true
13}

Notes 

  • You must explicitly specify fields to retrieve more than 10 fields
  • The parent record ID must be a valid identifier
  • The child data model must have a valid relationship with the parent
  • The response is limited to 4,999 records per request
  • Use pagination (limit/offset) for retrieving large datasets