Retrieves a specific profile record by its unique identifier. This endpoint allows you to access complete record data including all specified fields.
Syntax
- HTTP Method: GET
- Availability: Data 360 v1.0, Salesforce v51.0
- format: REST
- URI:
/api/v1/profile/{dataModelName}/{Id}
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| dataModelName | string | Required. The unique identifier of the data model object. Example: Individual__dlm |
| Id | string | Required. The unique identifier of the record to retrieve. Example: 123 |
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| fields | string | Comma-separated list of fields to include in the response. Example: FirstName__c,LastName__c |
| searchkey | string | Field to search by. Example: Email__c |
Response Structure
The response includes:
data: Array of record objects containing the requested datadone: boolean indicating if all results have been returned
Examples
Request
GET https://{TSE}.360a.salesforce.com/api/v1/profile/Individual__dlm/123?fields=FirstName__c,LastName__c
Response
{
"data": [
{
"FirstName__c": "John",
"LastName__c": "Doe"
}
],
"done": true
}
Notes
- You must explicitly specify fields to retrieve more than 10 fields
- The record ID must be a valid identifier in the data model object
- The response includes only the specified fields
- If no fields are specified, up to 10 fields are returned
- The API supports both primary and secondary key lookups