Newer Version Available

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

Data Source: AccountProductMeasure

This example provides details on the integration metadata JSON with the data source. The following example shows the datasources configuration payload for AccountProductMeasure.
1{
2    "configuration": {
3	    "datasources": [
4	        {
5	            "name": "AccountProductMeasures"
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": "ExternalId",
31	                    "name": "externalid"
32	                },
33	                {
34	                    "label": "Name",
35	                    "name": "name"
36	                },
37	                {
38	                    "label": "AccountNUmber",
39	                    "name": "accountnumber"
40	                }
41	            ],
42	            "key": "externalid",
43	            "level": ""
44	        },
45	        "kpidimension": {
46	            "measures": [
47	                {
48	                    "name": "ProPlanIncrVolume",
49	                    "label": "Pro Plan Incr Volume"
50	                }
51	            ]
52	        },
53	        "promotiondimension": {
54	            "attributes": [
55	                {
56	                    "label": "id",
57	                    "name": "id"
58	                },
59	                {
60	                    "label": "datefrom",
61	                    "name": "datefrom"
62	                },
63	                {
64	                    "label": "templateName",
65	                    "name": "templateName"
66	                },
67	                {
68	                    "label": "accountid",
69	                    "name": "accountid"
70	                },
71	                {
72	                    "label": "accountplanrelevant",
73	                    "name": "accountplanrelevant"
74	                },
75	                {
76	                    "label": "accountexternalid",
77	                    "name": "accountexternalid"
78	                }
79	            ],
80	            "key": "id",
81	            "level": ""
82	        }
83	    },
84	    "exportsettings": {
85	        "columns": [
86	            "accountdimension.externalid",
87	            "productdimension.externalid",
88	            "productdimension.category",
89	            "productdimension.description",
90	            "kpidimension.label",
91	            "kpidimension.measurecode"
92	        ],
93	        "csvseparator": ","
94	    },
95	    "exportfilters": {
96	        "conditions": [
97	            {
98	                "operator": "includes",
99	                "value": [
100	                    "Kroger_Atlanta"
101	                ],
102	                "attribute": "externalid",
103	                "dimension": "accountdimension",
104	                "name": "cond1"
105	            }
106	        ]
107	    }
108    }
109}