Logo
Salesforce Developers API Documentation

Query Calculated Insights

GET https://{{dne_cdpOffcoreUrl}}/api/v1/insight/calculated-insights/PurchaseByDate__cio?batchSize=5&dimensions=PurchaseDay__c,CustomerId__c&measures=TotalOrders__c&filters=[CustomerId__c=A003]

Returns the list of data model objects, their fields, and category.

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

 

Body PARAM

Key Datatype Required Description 
batchSize
number
dimensions
string
measures
string
filters
string



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "data": [ { "CustomerId__c": "A003", "PurchaseDay__c": "10", "TotalOrders__c": 1 }, { "CustomerId__c": "A003", "PurchaseDay__c": "28", "TotalOrders__c": 1 }, { "CustomerId__c": "A003", "PurchaseDay__c": "5", "TotalOrders__c": 1 } ], "done": true }

Curl
curl -X GET 'https:///api/v1/insight/calculated-insights/PurchaseByDate__cio?batchSize=5&dimensions=PurchaseDay__c,CustomerId__c&measures=TotalOrders__c&filters=[CustomerId__c=A003]?batchSize=5&dimensions=PurchaseDay__c,CustomerId__c&measures=TotalOrders__c&filters=[CustomerId__c=A003]'

ENDPOINTS