Metadata - All Calculated Insights
GET https://{{dne_cdpOffcoreUrl}}/api/v1/insight/metadata
Get Salesforce CDP Insight metadata, including Calculated Insight objects, their dimensions and measures.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"metadata": [
{
"name": "PurchaseByDate3__cio",
"displayName": "PurchaseByDate3",
"dimensions": [
{
"name": "CustomerId__c",
"displayName": "",
"type": "STRING"
},
{
"name": "PurchaseDay__c",
"displayName": "",
"type": "DATE_TIME"
}
],
"measures": [
{
"name": "TotalOrders__c",
"displayName": "",
"type": "NUMBER",
"rollupable": true
}
],
"relationships": [
{
"fromEntity": "ssot__SalesOrder__dlm",
"toEntity": "PurchaseByDate3__cio"
},
{
"fromEntity": "ssot__Individual__dlm",
"toEntity": "PurchaseByDate3__cio"
}
],
"partitionBy": "PurchaseDay__c"
},
{
"name": "PurchaseByDate3__cio_DAY",
"displayName": "PurchaseByDate3",
"dimensions": [
{
"name": "CustomerId__c",
"displayName": "",
"type": "STRING"
},
{
"name": "PurchaseDay__c",
"displayName": "",
"type": "DATE_TIME"
}
],
"measures": [
{
"name": "TotalOrders__c",
"displayName": "",
"type": "NUMBER",
"rollupable": true
}
],
"relationships": [
{
"fromEntity": "ssot__SalesOrder__dlm",
"toEntity": "PurchaseByDate3__cio_DAY"
},
{
"fromEntity": "ssot__Individual__dlm",
"toEntity": "PurchaseByDate3__cio_DAY"
}
],
"partitionBy": "PurchaseDay__c"
},
{
"name": "PurchaseByDate3__cio_MONTH",
"displayName": "PurchaseByDate3",
"dimensions": [
{
"name": "CustomerId__c",
"displayName": "",
"type": "STRING"
},
{
"name": "PurchaseDay__c",
"displayName": "",
"type": "DATE_TIME"
}
],
"measures": [
{
"name": "TotalOrders__c",
"displayName": "",
"type": "NUMBER",
"rollupable": true
}
],
"relationships": [
{
"fromEntity": "ssot__SalesOrder__dlm",
"toEntity": "PurchaseByDate3__cio_MONTH"
},
{
"fromEntity": "ssot__Individual__dlm",
"toEntity": "PurchaseByDate3__cio_MONTH"
}
],
"partitionBy": "PurchaseDay__c"
},
{
"name": "PurchaseByDate3__cio_QUARTER",
"displayName": "PurchaseByDate3",
"dimensions": [
{
"name": "CustomerId__c",
"displayName": "",
"type": "STRING"
},
{
"name": "PurchaseDay__c",
"displayName": "",
"type": "DATE_TIME& Curl curl -X GET 'https:///api/v1/insight/metadata' ENDPOINTS |