Data Source: DailyRealData/DailyIntData
This section provides sample code snippets for the integration metadata JSON with the
data source. The following example shows the datasources configuration payload for
DailyRealData/dailyIntData.
{
"configuration": {
"datasources": [
{
"name": "DailyRealData"
}
],
"dimensions": {
"productdimension": {
"attributes": [
{
"label": "Description",
"name": "description"
},
{
"label": "ExternalId",
"name": "externalid"
},
{
"label": "Category",
"name": "category"
}
],
"key": "externalid",
"level": "Product"
},
"accountdimension": {
"attributes": [
{
"label": "ExternalId",
"name": "externalid"
},
{
"label": "Name",
"name": "name"
},
{
"label": "AccountNUmber",
"name": "accountnumber"
}
],
"key": "externalid",
"level": ""
},
"kpidimension": {
"measures": [
{
"name": "ProPlanIncrVolume",
"label": "Pro Plan Incr Volume"
}
]
}
},
"exportsettings": {
"columns": [
"accountdimension.externalid",
"productdimension.externalid",
"kpidimension.measurecode"
],
"csvseparator": ","
},
"exportfilters": {
"conditions": [
{
"operator": "includes",
"value": [
"Kroger_Atlanta"
],
"attribute": "externalid",
"dimension": "accountdimension",
"name": "cond1"
}
]
}
}
}