Metadata - Individual Calculated Insight

GET https://{{dne_cdpOffcoreUrl}}/api/v1/insight/metadata/PurchaseByDate__cio

The metadata includes the dimension and measure that are part of the calculated insight.

https://developer.salesforce.com/docs/atlas.en-us.c360a_api.meta/c360a_api/c360a_api_insights_meta_ci_name.htm

RESPONSES

status: OK

{"metadata":[{"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"}]}