Newer Version Available

This content describes an older version of this product. View Latest

Data Source: AccountMeasure

This example provides details on the integration metadata JSON with the data source. This example provides details on the integration metadata JSON with the data source. The following example shows the datasources configuration payload for AccountMeasure.
1{
2  "configuration": {
3    "datasources": [
4      {
5        "name": "AccountMeasures"
6      }
7    ],
8    "dimensions": {
9      "productdimension": {
10        "attributes": [
11          {
12            "label": "Description",
13            "name": "description"
14          },
15          {
16            "label": "ExternalId",
17            "name": "externalid"
18          },
19          {
20            "label": "Category",
21            "name": "category"
22          }
23        ],
24        "key": "externalid",
25        "level": "Product"
26      },
27      "accountdimension": {
28        "attributes": [
29          {
30            "label": "Id",
31            "name": "id"
32          },
33          {
34            "label": "ExternalId",
35            "name": "externalid"
36          },
37          {
38            "label": "Name",
39            "name": "name"
40          },
41          {
42            "label": "AccountNUmber",
43            "name": "accountnumber"
44          }
45        ],
46        "key": "externalid",
47        "level": ""
48      },
49      "timedimension": {
50        "includetotal": false,
51        "splitweeks": false,
52        "periodtype": "custom"
53      },
54      "kpidimension": {
55        "measures": [
56          {
57            "name": "ProPlanIncrVolume",
58            "label": "Pro Plan Incr Volume"
59          }
60        ]
61      },
62      "promotiondimension": {
63        "attributes": [
64          {
65            "label": "id",
66            "name": "id"
67          },
68          {
69            "label": "datefrom",
70            "name": "datefrom"
71          },
72          {
73            "label": "templateName",
74            "name": "templateName"
75          },
76          {
77            "label": "accountid",
78            "name": "accountid"
79          },
80          {
81            "label": "accountplanrelevant",
82            "name": "accountplanrelevant"
83          },
84          {
85            "label": "accountexternalid",
86            "name": "accountexternalid"
87          }
88        ],
89        "key": "id",
90        "level": ""
91      }
92    },
93    "exportsettings": {
94      "columns": [
95        "accountdimension.externalid",
96        "kpidimension.label",
97        "kpidimension.measurecode"
98      ],
99      "csvseparator": ","
100    },
101    "exportfilters": {
102      "conditions": [
103        {
104          "operator": "includes",
105          "value": [
106            "Kroger_Atlanta"
107          ],
108          "attribute": "externalid",
109          "dimension": "accountdimension",
110          "name": "cond1"
111        }
112      ]
113    }
114  }
115}