Logo
Salesforce Developers API Documentation

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

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




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" } ] }



Curl
curl -X GET 'https:///api/v1/insight/metadata/PurchaseByDate__cio'

ENDPOINTS