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.
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"}],"measures":[{"name":"TotalOrders__c","displayName":"","type":"NUMBER","rollupable":true}],"relationships":[{"fromEntity":"ssot__SalesOrder__dlm","toEntity":"PurchaseByDate3__cio_QUARTER"},{"fromEntity":"ssot__Individual__dlm","toEntity":"PurchaseByDate3__cio_QUARTER"}],"partitionBy":"PurchaseDay__c"},{"name":"PurchaseByDate3__cio_YEAR","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_YEAR"},{"fromEntity":"ssot__Individual__dlm","toEntity":"PurchaseByDate3__cio_YEAR"}],"partitionBy":"PurchaseDay__c"},{"name":"Total_Purchases__cio","displayName":"Total Purchases","dimensions":[{"name":"CustomerId__c","displayName":"","type":"STRING"}],"measures":[{"name":"TotalPurchases__c","displayName":"","type":"NUMBER","rollupable":true}],"relationships":[{"fromEntity":"ssot__SalesOrder__dlm","toEntity":"Total_Purchases__cio"},{"fromEntity":"ssot__Individual__dlm","toEntity":"Total_Purchases__cio"}],"partitionBy":"CustomerId__c"},{"name":"PurchaseByDate__cio","displayName":"PurchaseByDate","dimensions":[{"name":"CustomerId__c","displayName":"","type":"STRING"},{"name":"PurchaseDay__c","displayName":"","type":"NUMBER"}],"measures":[{"name":"TotalOrders__c","displayName":"","type":"NUMBER","rollupable":true}],"relationships":[{"fromEntity":"ssot__SalesOrder__dlm","toEntity":"PurchaseByDate__cio"},{"fromEntity":"ssot__Individual__dlm","toEntity":"PurchaseByDate__cio"}],"partitionBy":"PurchaseDay__c"},{"name":"PurchaseByDate2__cio","displayName":"PurchaseByDate2","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":"PurchaseByDate2__cio"},{"fromEntity":"ssot__Individual__dlm","toEntity":"PurchaseByDate2__cio"}],"partitionBy":"PurchaseDay__c"},{"name":"PurchaseByDate2__cio_DAY","displayName":"PurchaseByDate2","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":"PurchaseByDate2__cio_DAY"},{"fromEntity":"ssot__Individual__dlm","toEntity":"PurchaseByDate2__cio_DAY"}],"partitionBy":"PurchaseDay__c"},{"name":"PurchaseByDate2__cio_MONTH","displayName":"PurchaseByDate2","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":"PurchaseByDate2__cio_MONTH"},{"fromEntity":"ssot__Individual__dlm","toEntity":"PurchaseByDate2__cio_MONTH"}],"partitionBy":"PurchaseDay__c"},{"name":"PurchaseByDate2__cio_QUARTER","displayName":"PurchaseByDate2","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":"PurchaseByDate2__cio_QUARTER"},{"fromEntity":"ssot__Individual__dlm","toEntity":"PurchaseByDate2__cio_QUARTER"}],"partitionBy":"PurchaseDay__c"},{"name":"PurchaseByDate2__cio_YEAR","displayName":"PurchaseByDate2","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":"PurchaseByDate2__cio_YEAR"},{"fromEntity":"ssot__Individual__dlm","toEntity":"PurchaseByDate2__cio_YEAR"}],"partitionBy":"PurchaseDay__c"}]}