Retrieves metadata for all accessible profile data model objects in your Data 360 instance. This endpoint returns detailed information about fields, data types, and categories for each profile object.
Syntax
- HTTP Method: GET
- Availability: Data 360 v1.0, Salesforce v51.0
- format: REST
- URI:
/api/v1/profile/metadata
Response Structure
The response includes an array of data model objects, each containing:
name: The unique identifier of the data model objectdisplayName: The human-readable name of the data model objectcategory: The category of the data model object (for example, PROFILE)fields: Array of field objects with name, type, and other propertiesindexes: Array of index objects showing available lookup fieldsrelationships: Array of relationship objects showing connections to other entities
Examples
Request
GET https://{TSE}.360a.salesforce.com/api/v1/profile/metadata
Response
{
"metadata": [
{
"indexes": [
{
"fields": [
{
"name": "FirstName__c",
"type": "STRING"
}
]
}
],
"name": "Individual__dlm",
"category": "Profile",
"displayName": "Individual",
"fields": [
{
"name": "BirthDate__c",
"displayName": "Birth Date",
"type": "DATE"
},
{
"name": "FirstName__c",
"displayName": "First Name",
"type": "STRING"
}
],
"relationships": [
{
"fromEntity": "ContactPointEmail__dlm",
"toEntity": "Individual__dlm",
"fromEntityAttribute": "PartyId__c",
"toEntityAttribute": "Id__c",
"cardinality": "NTOONE"
}
],
"primaryKeys": [
{
"name": "Id__c",
"displayName": "Individual Id",
"indexOrder": "1"
}
]
}
]
}
Notes
- The response includes all profile data model objects available to the authenticated user
- Each object's metadata includes all available fields and indexes
- The category field indicates the type of data model object
- Indexes show which fields can be used for efficient lookups
- Field types include STRING, NUMBER, DATE, boolean, and more