1{
2 "dimensions": { // This map defines the deviations that you want from the default behavior of the API. If you want the default behavior i.e. populate all combinations, you can leave this hashmap blank.
3 "D1": [
4 "V1",
5 "V2"
6 ],
7 "D2": [
8 "V3",
9 "V4"
10 ],
11 "D3": [
12 "V5",
13 "V6"
14 ],
15 "D4": [
16 "V7",
17 "V8"
18 ]
19 },
20 "pagesize": 4,
21 "offset":12
22}
23
24Here there are 4 dimensions and for each dimension, there are two values.
25Hence there are 16 possible combinations of dimensions:
26
27D1:V1, D2:V3, D3:V5, D4:V7
28D1:V1, D2:V3, D3:V5, D4:V8
29D1:V1, D2:V3, D3:V6, D4:V7
30D1:V1, D2:V3, D3:V6, D4:V8
31
32D1:V1, D2:V4, D3:V5, D4:V7
33D1:V1, D2:V4, D3:V5, D4:V8
34D1:V1, D2:V4, D3:V6, D4:V7
35D1:V1, D2:V4, D3:V6, D4:V8
36
37D1:V2, D2:V3, D3:V5, D4:V7
38D1:V2, D2:V3, D3:V5, D4:V8
39D1:V2, D2:V3, D3:V6, D4:V7
40D1:V2, D2:V3, D3:V6, D4:V8
41
42D1:V2, D2:V4, D3:V5, D4:V7
43D1:V2, D2:V4, D3:V5, D4:V8
44D1:V2, D2:V4, D3:V6, D4:V7
45D1:V2, D2:V4, D3:V6, D4:V8
46
47The above API call will return 4 combinations starting from the 12th combination. i.e.
48
49D1:V2, D2:V4, D3:V5, D4:V7
50D1:V2, D2:V4, D3:V5, D4:V8
51D1:V2, D2:V4, D3:V6, D4:V7
52D1:V2, D2:V4, D3:V6, D4:V8