Newer Version Available

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

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.
1{
2  "configuration": {
3    "datasources": [
4	  {
5	    "name": "DailyRealData"
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    },
54    "exportsettings": {
55	  "columns": [
56	    "accountdimension.externalid",
57	    "productdimension.externalid",
58	    "kpidimension.measurecode"
59	  ],
60	  "csvseparator": ","
61    },
62    "exportfilters": {
63	  "conditions": [
64	    {
65	      "operator": "includes",
66	      "value": [
67	        "Kroger_Atlanta"
68	      ],
69	      "attribute": "externalid",
70	      "dimension": "accountdimension",
71	      "name": "cond1"
72	    }
73	  ]
74    }
75  }
76}