1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'RPC', 'product' => 'BssOpenApi', 'version' => '2023-09-30'],
'directories' => [
[
'children' => ['GetOrders', 'GetOrderDetail'],
'type' => 'directory',
'title' => 'Order',
],
[
'children' => ['ListInvoiceTitle', 'ListInvoiceCandidate', 'CreateInvoice'],
'type' => 'directory',
'title' => 'Invoice',
],
[
'children' => ['CreateFundAccountPayRelation', 'SetFundAccountLowAvailableAmountAlarm', 'GetFundAccountCanWithdrawAmount', 'GetFundAccountAvailableAmount', 'GetFundAccountLowAvailableAmountAlarm', 'ListFundAccount', 'CancelFundAccountLowAvailableAmountAlarm', 'GetFundAccountCanAllocateCreditAmount', 'ListFundAccountPayRelation', 'GetFundAccountCanRecycleAmount', 'CreateFundAccountTransfer', 'GetFundAccountTransactionDetails', 'SetFundAccountCreditAmount', 'GetFundAccountCanTransferAmount'],
'type' => 'directory',
'title' => 'Fund account',
],
[
'children' => ['DescribeCoupon', 'DescribeCouponItemList'],
'type' => 'directory',
'title' => 'Coupon',
],
[
'children' => ['CreateReportDefinition', 'ListReportDefinitions', 'DeleteReportDefinition'],
'type' => 'directory',
'title' => 'Bill',
],
[
'children' => ['SaveCostCenterShareRule', 'QueryCostCenterShareRule', 'CreateCostCenter', 'ModifyCostCenter', 'DeleteCostCenter', 'QueryCostCenter', 'QueryCostCenterResource', 'CreateCostCenterRule', 'ModifyCostCenterRule', 'DeleteCostCenterRule', 'QueryCostCenterRule', 'AllocateCostCenterResource', 'QueryCostByCostCenter'],
'type' => 'directory',
'title' => 'Financial unit',
],
[
'children' => ['CheckBudgetNameExists', 'CreateBudget', 'DeleteBudget', 'DescribeBudget', 'DescribeBudgets', 'QueryMonthlySlaList', 'SubmitSlaCouponApply', 'UpdateBudget'],
'type' => 'directory',
'title' => 'Other',
],
[
'children' => ['DescribeDeductLogs', 'DescribeFrInstances', 'ReceiveUserConfirm'],
'title' => 'Others',
'type' => 'directory',
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'AllocateCostCenterResource' => [
'summary' => 'Allocates resource instances (instance-based and attached-resource-based) from a source cost center to a destination cost center.',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'FromOwnerAccountId',
'in' => 'formData',
'schema' => ['description' => 'The ID of the owner of the source cost center.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1529600453335198', 'title' => ''],
],
[
'name' => 'FromCostCenterId',
'in' => 'formData',
'schema' => ['description' => 'The ID of the source cost center. This parameter is required.'."\n"
."\n"
.'- 0 indicates that the cost center is unallocated.'."\n"
.'- A value greater than 0 indicates an allocated cost center ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '637180', 'title' => ''],
],
[
'name' => 'ToCostCenterId',
'in' => 'formData',
'schema' => ['description' => 'The ID of the destination cost center. Valid values:'."\n"
."\n"
.'- -1: moves the allocated resource to the unallocated state.'."\n"
.'- A value greater than 0: allocates the resource to the specified cost center.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '638288', 'title' => ''],
],
[
'name' => 'ResourceInstanceList',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'The list of resource instances.',
'type' => 'array',
'items' => [
'description' => 'The list of resource instances.',
'type' => 'object',
'properties' => [
'ResourceUserId' => ['description' => 'The ID of the owner of the billing instance. This parameter is required.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '273394581313325532', 'title' => ''],
'InstanceId' => ['description' => 'The billing granularity ID. This parameter is required.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou;standard'."\n", 'title' => ''],
'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'required' => false, 'example' => 'SCU', 'title' => ''],
'PipCode' => ['description' => 'The product code, which is the same as the product code in User Center bills.', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'title' => ''],
'ResourceNick' => ['description' => 'The custom nickname of the resource.', 'type' => 'string', 'required' => false, 'example' => 'ecs-test-1', 'title' => ''],
'ApportionCode' => ['description' => 'The attached resource type of the attached-resource instance. This parameter is required only for attached-resource product instances.'."\n"
.'- Currently, eight commodities support attached resources. The commodity codes are oss, dcdn, snapshot, vod, cdn, live, and cbwp.'."\n"
.'- You can call the QueryCostUnitResource operation to obtain all billing instances (including attached-resource instances with their attached resources) under a specific cost center (including the unallocated cost center) of a user.', 'type' => 'string', 'required' => false, 'example' => 'qwer1-cn-beijing', 'title' => ''],
'ResourceTag' => ['description' => 'The tag of the resource.', 'type' => 'string', 'required' => false, 'example' => 'tag-test1', 'title' => ''],
'RelatedResources' => ['description' => 'The resources related to the resource instance.', 'type' => 'string', 'required' => false, 'example' => 'related-resource', 'title' => ''],
'ApportionName' => ['description' => 'The attached resource name.', 'type' => 'string', 'required' => false, 'example' => 'split-item-test1', 'title' => ''],
'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou;standard:app', 'title' => ''],
'ResourceSource' => ['description' => 'The resource source. Valid values:'."\n"
.'- AUTO_ALLOCATE: automatic allocation.'."\n"
.'- MANUAL_ALLOCATE: manual allocation.', 'type' => 'string', 'required' => false, 'example' => 'AUTO_ALLOCATE', 'title' => ''],
'CommodityCode' => ['description' => 'The commodity code of the billing instance. This parameter is required.', 'type' => 'string', 'required' => false, 'example' => 'oss', 'title' => ''],
'ResourceStatus' => ['description' => 'The resource status.', 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''],
'ResourceUserName' => ['description' => 'The resource ownership username.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'CommodityName' => ['description' => 'The commodity name of the resource.', 'type' => 'string', 'required' => false, 'example' => 'RESOURCE_UDR', 'title' => ''],
'ResourceGroup' => ['description' => 'The resource group.', 'type' => 'string', 'required' => false, 'example' => 'xihe_mpp', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The primary sales channel ID. If this parameter is left empty, the sales channel ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<CostCenterOperateDto>',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'The metadata of the response struct.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'UUID', 'title' => ''],
'OwnerAccountId' => ['title' => '', 'description' => 'The owner of the cost center.', 'type' => 'integer', 'format' => 'int64', 'example' => '1529600453335198'],
'CostCenterId' => ['title' => '', 'description' => 'The cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '640403'],
'IsSuccess' => ['title' => '', 'description' => 'Indicates whether the operation was successful.', 'type' => 'boolean', 'example' => 'true'],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'CostCenter.MasterAndSubHasNoRelation', 'errorMessage' => 'Your account has no valid account relation yet.', 'description' => ''],
['errorCode' => 'CostCenter.ResourceAuthFailed', 'errorMessage' => 'The instance does not belong to the current user.', 'description' => ''],
['errorCode' => 'CostCenter.ResourceNotExist', 'errorMessage' => 'The specified instance is not found in our records.', 'description' => ''],
['errorCode' => 'CostCenter.AllocateResourceRepeat', 'errorMessage' => 'The instance has already been assigned a financial unit. Use transfer allocation for adjustment.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"UUID\\",\\n \\"OwnerAccountId\\": 1529600453335198,\\n \\"CostCenterId\\": 640403,\\n \\"IsSuccess\\": true\\n}","type":"json"}]',
'title' => 'Allocate resources to a cost center',
'changeSet' => [
['createdAt' => '2025-07-22T05:47:39.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:AllocateCostUnitResource',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CancelFundAccountLowAvailableAmountAlarm' => [
'summary' => 'Cancels the low balance alert for a fund account.',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'FundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The ID of the fund account. If this parameter is not specified, the ID of the account owned by the current account is used by default.', 'type' => 'integer', 'format' => 'int64', 'example' => '123321123', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<Boolean>',
'type' => 'object',
'properties' => [
'Data' => ['description' => 'Indicates whether the operation is successful.', 'type' => 'boolean', 'default' => 'true', 'example' => 'true', 'title' => ''],
'Metadata' => ['title' => '', 'description' => 'The metadata of the response struct.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DFC1F7F9-3BA9-BA4D-2F2E653', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'RequestTimeout', 'errorMessage' => 'Request timed out. Please try again later.', 'description' => 'Request timed out, please try again later'],
['errorCode' => 'NoFundAccountPermission', 'errorMessage' => 'The caller does not have permission for the specified fund account.', 'description' => 'The current login account does not have permission to operate the specified account.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"DFC1F7F9-3BA9-BA4D-2F2E653\\"\\n}","type":"json"}]',
'title' => 'Cancel low balance alert for a fund account',
'description' => 'Cancels the low balance alert for a fund account.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyAlarm',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CheckBudgetNameExists' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'BudgetName',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The budget name.', 'type' => 'string', 'required' => true, 'example' => 'department1'],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The primary sales channel ID. If this parameter is left empty, the channel ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2688801000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F1E2D3C4-B5A6-7890-1234-567890ABCDEF', 'title' => ''],
'Exists' => ['title' => '', 'description' => 'Indicates whether the budget name already exists.', 'type' => 'boolean', 'example' => 'true'],
'BudgetName' => ['title' => '', 'description' => 'The budget name.', 'type' => 'string', 'example' => 'department1'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Check whether a budget name exists',
'summary' => 'Checks whether a specified budgetName exists.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:CheckBudgetNameExists',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1E2D3C4-B5A6-7890-1234-567890ABCDEF\\",\\n \\"Exists\\": true,\\n \\"BudgetName\\": \\"department1\\"\\n}","type":"json"}]',
],
'CreateBudget' => [
'summary' => 'Creates a budget.',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'BudgetName',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The budget name.', 'type' => 'string', 'required' => true, 'example' => 'Department_dev_budget'],
],
[
'name' => 'BudgetType',
'in' => 'formData',
'schema' => [
'title' => '',
'description' => 'The budget type.',
'enumValueTitles' => ['CONSUME' => 'CONSUME'],
'type' => 'string',
'required' => true,
'example' => 'CONSUME',
],
],
[
'name' => 'Metric',
'in' => 'formData',
'schema' => [
'title' => '',
'description' => 'The budget metric.',
'enumValueTitles' => ['REQUIRE_AMOUNT' => 'REQUIRE_AMOUNT'],
'type' => 'string',
'required' => true,
'example' => 'REQUIRE_AMOUNT',
],
],
[
'name' => 'CycleType',
'in' => 'formData',
'schema' => [
'title' => '',
'description' => 'The cycle type.',
'enumValueTitles' => ['QUARTERLY' => 'QUARTERLY', 'ANNUALLY' => 'ANNUALLY', 'MONTHLY' => 'MONTHLY'],
'type' => 'string',
'required' => true,
'example' => 'MONTHLY',
],
],
[
'name' => 'CycleStartPeriod',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The start cycle.', 'type' => 'string', 'required' => true, 'example' => '2026-01'],
],
[
'name' => 'CycleEndPeriod',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The end cycle.', 'type' => 'string', 'required' => true, 'example' => '2026-12'],
],
[
'name' => 'QuotaType',
'in' => 'formData',
'schema' => [
'title' => '',
'description' => 'The quota type.',
'enumValueTitles' => ['SPECIFY' => 'SPECIFY', 'FIXED' => 'FIXED'],
'type' => 'string',
'required' => true,
'example' => 'FIXED',
],
],
[
'name' => 'Quota',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The fixed quota value. If the type is quota, the unit is percentage.', 'type' => 'string', 'required' => false, 'example' => '1000'],
],
[
'name' => 'CycleQuota',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The per-cycle specified quota. This parameter is required when QuotaType is set to `SPECIFY`.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CyclePeriod' => ['title' => '', 'description' => 'The cycle.', 'type' => 'string', 'required' => false, 'example' => '2026-01'],
'Quota' => ['title' => '', 'description' => 'The quota.', 'type' => 'string', 'required' => false, 'example' => '1000'],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'QueryFilter',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The filter conditions.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => [
'title' => '',
'description' => 'The parameter code.',
'enumValueTitles' => ['PRODUCT' => 'PRODUCT', 'RESOURCE_OWNER_ACCOUNT' => 'RESOURCE_OWNER_ACCOUNT', 'COMMODITY' => 'COMMODITY', 'COST_CENTER' => 'COST_CENTER', 'LINE_ITEM_TYPE' => 'LINE_ITEM_TYPE', 'REGION' => 'REGION'],
'type' => 'string',
'required' => false,
'example' => 'RESOURCE_OWNER_ACCOUNT',
],
'SelectType' => ['title' => '', 'description' => 'The selection mode.', 'type' => 'string', 'required' => false, 'example' => 'IN'],
'Values' => [
'title' => '',
'description' => 'The list of filter values.',
'type' => 'array',
'items' => ['description' => 'The filter value.', 'type' => 'string', 'required' => false, 'example' => '5772131917493334Test', 'title' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Comment',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The remarks.', 'type' => 'string', 'required' => false, 'example' => 'comment'],
],
[
'name' => 'WarnConfs',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The alert configurations.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['title' => '', 'description' => 'The alert name. This is a user-defined optional field. If not specified, the backend automatically generates a name.', 'type' => 'string', 'required' => false, 'example' => 'Alter-1'],
'WarnTarget' => [
'title' => '',
'description' => 'The alert target.',
'enumValueTitles' => ['FORECAST_ACCUMULATED' => 'FORECAST_ACCUMULATED', 'ACTUAL_ACCUMULATED' => 'ACTUAL_ACCUMULATED', 'FORECAST' => 'FORECAST', 'ACTUAL' => 'ACTUAL'],
'type' => 'string',
'required' => false,
'example' => 'FORECAST',
],
'ThresholdType' => [
'title' => '',
'description' => 'The threshold type.',
'enumValueTitles' => ['FIXED' => 'FIXED', 'PERCENTAGE' => 'PERCENTAGE'],
'type' => 'string',
'required' => false,
'example' => 'FIXED',
],
'ThresholdValue' => ['title' => '', 'description' => 'The threshold value.', 'type' => 'string', 'required' => false, 'example' => '2000'],
'MscContacts' => [
'title' => '',
'description' => 'The list of Message Center contacts.',
'type' => 'array',
'items' => ['description' => 'The Message Center contact.', 'type' => 'string', 'required' => false, 'example' => '1512795', 'title' => ''],
'required' => false,
'example' => '',
],
'MscChannels' => [
'title' => '',
'description' => 'The list of Message Center notification channels.',
'type' => 'array',
'items' => ['description' => 'The Message Center notification channel.', 'type' => 'string', 'required' => false, 'example' => 'EMAIL', 'title' => ''],
'required' => false,
'example' => '',
],
'EventBridge' => ['title' => '', 'description' => 'Specifies whether to enable EventBridge.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
'Comment' => ['title' => '', 'description' => 'The remarks.', 'type' => 'string', 'required' => false, 'example' => 'comment'],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The list of enterprises and accounts. An empty value indicates the current account.',
'type' => 'array',
'items' => [
'description' => 'The enterprise and account.',
'type' => 'object',
'properties' => [
'EcId' => ['title' => '', 'description' => 'The enterprise entity ID.', 'type' => 'string', 'required' => false, 'example' => '1'],
'AccountIds' => [
'title' => '',
'description' => 'The list of accounts to access. An empty value indicates all accounts under the current entity ID.',
'type' => 'array',
'items' => ['description' => 'The account to access.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5772131917494444', 'title' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The level-1 marketplace ID. If empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '26842'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'BudgetName' => ['title' => '', 'description' => 'The budget name.', 'type' => 'string', 'example' => 'Department_dev_budget'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '39EDD65E-68C5-1B17-8440-C729C7591D74', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Create a budget',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"BudgetName\\": \\"Department_dev_budget\\",\\n \\"RequestId\\": \\"39EDD65E-68C5-1B17-8440-C729C7591D74\\"\\n}","type":"json"}]',
],
'CreateCostCenter' => [
'summary' => 'Create Cost Center',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'CostCenterEntityList',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'Cost center entity list',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CostCenterName' => ['title' => '', 'description' => 'Cost center name (must be unique within the same account)', 'type' => 'string', 'required' => true, 'example' => '资源组'],
'OwnerAccountId' => ['title' => '', 'description' => 'Owner user ID of the new cost center', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1314839403940987'],
'ParentCostCenterId' => ['title' => '', 'description' => 'Parent cost center ID. A value of -1 indicates the root cost center.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '-1'],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => true,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Primary marketplace ID. If empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2084210001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPageResult<CostCenterDto>',
'type' => 'object',
'properties' => [
'CostCenterDtoList' => [
'title' => '',
'description' => 'Data list',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CostCenterName' => ['title' => '', 'description' => 'Cost center name (must be unique within the same account)', 'type' => 'string', 'example' => '资源组'],
'OwnerAccountId' => ['title' => '', 'description' => 'Owner user ID of the cost center', 'type' => 'integer', 'format' => 'int64', 'example' => '1314839403940987'],
'CostCenterId' => ['title' => '', 'description' => 'Cost center ID', 'type' => 'integer', 'format' => 'int64', 'example' => '485938'],
'ParentCostCenterId' => ['title' => '', 'description' => 'Parent cost center ID', 'type' => 'integer', 'format' => 'int64', 'example' => '-1'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'Response metadata', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => 'C1BD134E-D914-6AE0-1901-AEB2A99FA205', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'CostCenter.MasterAndSubHasNoRelation', 'errorMessage' => 'Your account has no valid account relation yet.', 'description' => ''],
['errorCode' => 'CostCenter.UnitNameLengthExceed', 'errorMessage' => 'The length of the financial unit name exceeds the maximum limit.', 'description' => ''],
['errorCode' => 'CostCenter.UnitNotBelongToUser', 'errorMessage' => 'Cost unit is not belong to this user.', 'description' => ''],
['errorCode' => 'CostCenter.UnitNameExist', 'errorMessage' => 'The financial unit name already exists.', 'description' => ''],
['errorCode' => 'CostCenter.UnitNumberExceed', 'errorMessage' => 'The maximum number of financial units has been exceeded.', 'description' => ''],
['errorCode' => 'CostCenter.UnitNotExist', 'errorMessage' => 'The financial unit does not exist or is invalid.', 'description' => ''],
['errorCode' => 'CostCenter.UnitLevelExceed', 'errorMessage' => 'The depth of the financial unit exceeds the maximum hierarchy level.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified request lacks essential parameters.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CostCenterDtoList\\": [\\n {\\n \\"CostCenterName\\": \\"资源组\\",\\n \\"OwnerAccountId\\": 1314839403940987,\\n \\"CostCenterId\\": 485938,\\n \\"ParentCostCenterId\\": -1\\n }\\n ],\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"C1BD134E-D914-6AE0-1901-AEB2A99FA205\\"\\n}","type":"json"}]',
'title' => 'Create Cost Center',
'description' => 'Creates one or more cost centers.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CreateCostCenterRule' => [
'summary' => 'Create a financial unit auto-allocation rule',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'CostCenterId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Financial unit ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '485938'],
],
[
'name' => 'FilterExpression',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'Rule expression',
'type' => 'object',
'properties' => [
'ExpressionType' => [
'description' => 'Operation type',
'enumValueTitles' => ['DIMENSION' => 'Leaf node filter type (used when the code is not a tag)', 'TAG' => 'Leaf node filter type (used when the code is a tag)', 'NARY' => 'Sub-condition relationship (used for non-leaf conditions)'],
'type' => 'string',
'required' => false,
'example' => 'NARY',
'title' => '',
],
'OperatorType' => [
'description' => 'Relational expression',
'enumValueTitles' => ['OR' => 'OR', 'AND' => 'AND'],
'type' => 'string',
'required' => false,
'example' => 'AND',
'title' => '',
],
'Operands' => [
'description' => 'Condition expression',
'type' => 'array',
'items' => ['description' => 'Condition expression'."\n"
.'**See the example for the overall structure (supports multi-level nesting). The fields below are for field description only.**', 'type' => 'any', 'required' => false, 'example' => '{'."\n"
.' '."\n"
.' "Operands": ['."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "TAG-xxx",'."\n"
.' "Values": ['."\n"
.' "xxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "TAG"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "INSTANCE_ID",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "LIKE"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "INSTANCE_NICK",'."\n"
.' "Values": ['."\n"
.' "111"'."\n"
.' ],'."\n"
.' "SelectType": "LIKE"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "RESOURCE_GROUP",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "ARTICLE",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "PRODUCT",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "OWNER",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' }'."\n"
.' ]'."\n"
.' }', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'Operand' => ['description' => 'Filter condition (deprecated)', 'type' => 'any', 'required' => false, 'example' => '无', 'title' => ''],
'FilterValues' => [
'description' => 'Sub-condition filter',
'type' => 'object',
'properties' => [
'Code' => [
'description' => 'Condition filter key',
'enumValueTitles' => ['OWNER' => 'Account', 'ARTICLE' => 'Product detail', 'RESOURCE_GROUP' => 'Resource group', 'xxx (user-defined tag key)' => 'Business tag, based on the actual configuration value of the user', 'PRODUCT' => 'Product', 'INSTANCE_NICK' => 'Instance name', 'INSTANCE_ID' => 'Instance ID (billing granularity)'],
'type' => 'string',
'required' => false,
'example' => 'TAG-test-xxx-key',
'title' => '',
],
'CodeName' => ['description' => 'Condition filter key name (deprecated)', 'type' => 'string', 'required' => false, 'example' => '无', 'title' => ''],
'Values' => [
'description' => 'Condition filter value list',
'type' => 'array',
'items' => ['description' => 'Condition filter value.'."\n"
.'Only one value can be entered for INSTANCE_NICK or INSTANCE_ID.', 'type' => 'string', 'required' => false, 'example' => '["TAG-test-xxx"]'."\n", 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'SelectType' => [
'description' => 'Association relationship between code and value',
'enumValueTitles' => ['LIKE' => 'Used in other cases for Code', 'IN' => 'Used when Code is INSTANCE_NICK or INSTANCE_ID'],
'type' => 'string',
'required' => false,
'example' => 'IN',
'title' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'First-level marketplace ID. If left empty, the ID of the marketplace to which the current user belongs is used by default.', 'type' => 'string', 'required' => false, 'example' => '2084210001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<Long>',
'type' => 'object',
'properties' => [
'Data' => ['description' => 'Financial unit allocation rule ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1111', 'title' => ''],
'Metadata' => ['title' => '', 'description' => 'Response structure metadata', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'CostCenter.MasterAndSubHasNoRelation', 'errorMessage' => 'Your account has no valid account relation yet.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'CostCenter.RuleExpressionIllegal', 'errorMessage' => 'The auto-allocation rule configuration is invalid.', 'description' => ''],
['errorCode' => 'CostCenter.UnitNotExist', 'errorMessage' => 'The financial unit does not exist or is invalid.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": 1111,\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\"\\n}","type":"json"}]',
'title' => 'Create a financial unit auto-allocation rule',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CreateFundAccountPayRelation' => [
'summary' => 'Create payment relationships for a fund account',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'FundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Fund account ID.', 'type' => 'string', 'required' => true, 'example' => '12332112'],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'List of enterprises and accounts.',
'type' => 'array',
'items' => [
'description' => 'List of enterprises and accounts.',
'type' => 'object',
'properties' => [
'AccountIds' => [
'title' => '',
'description' => 'List of Alibaba Cloud accounts for delegated payment.',
'type' => 'array',
'items' => ['description' => 'Member account ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1501603440974415', 'title' => ''],
'required' => true,
'example' => '',
],
'EcId' => ['title' => '', 'description' => 'Enterprise entity ID.', 'type' => 'string', 'required' => false, 'example' => '1501603440974415'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Primary marketplace ID. If this parameter is left empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiListResult<CreateBillingAccountPayRelationResponse>',
'type' => 'object',
'properties' => [
'Data' => [
'title' => '',
'description' => 'Data list.',
'type' => 'array',
'items' => [
'description' => 'Response data.',
'type' => 'object',
'properties' => [
'AccountId' => ['title' => '', 'description' => 'AccountId of the user who pays with the account.', 'type' => 'string', 'example' => '1501603440974415'],
'FundAccountId' => ['title' => '', 'description' => 'Account ID.', 'type' => 'string', 'example' => '12332112'],
'ResultMessage' => ['title' => '', 'description' => 'Result message.', 'type' => 'string', 'example' => 'Successful'],
'ResultCode' => ['title' => '', 'description' => 'Result code.', 'type' => 'string', 'example' => 'Success'],
'AccountName' => ['title' => '', 'description' => 'Name of the user who pays with the account.', 'type' => 'string', 'example' => 'test@test.aliyunid.com'."\n"],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'Response metadata.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidBillingAccount', 'errorMessage' => 'The caller does not have permission for the specified billing account.', 'description' => ''],
['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this action.', 'description' => 'You do not have permissions to perform the operation.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AccountId\\": \\"1501603440974415\\",\\n \\"FundAccountId\\": \\"12332112\\",\\n \\"ResultMessage\\": \\"Successful\\",\\n \\"ResultCode\\": \\"Success\\",\\n \\"AccountName\\": \\"test@test.aliyunid.com\\\\n\\"\\n }\\n ],\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999\\"\\n}","type":"json"}]',
'title' => 'Create payment relationships for a fund account',
'changeSet' => [
['createdAt' => '2025-05-28T07:54:23.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
],
'CreateFundAccountTransfer' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'FromFundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The ID of the source account (payer account ID).', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123212323'],
],
[
'name' => 'ToFundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The ID of the destination account (payee account ID).', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '11112231'],
],
[
'name' => 'Amount',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The transfer amount.', 'type' => 'string', 'required' => true, 'example' => '100'],
],
[
'name' => 'Currency',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The currency.', 'type' => 'string', 'required' => true, 'example' => 'CNY'],
],
[
'name' => 'FinanceType',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The asset type. Currently, only cash is supported. Valid values:'."\n"
.'- cash: cash.', 'type' => 'string', 'required' => true, 'example' => 'cash'],
],
[
'name' => 'TransferType',
'in' => 'formData',
'schema' => [
'title' => '',
'description' => 'The transfer type. Valid values:'."\n"
.'- grant: transfer.'."\n"
.'- recycle: revocation.',
'type' => 'string',
'required' => true,
'example' => 'grant',
'enum' => ['grant', 'recycle'],
],
],
[
'name' => 'Remark',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The remarks.', 'type' => 'string', 'required' => true, 'example' => '转账的备注'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<Void>',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'The metadata of the response struct.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1BB79-5B23-3EA-BB4F-352F93E'."\n"
."\n", 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'RequestTimeout', 'errorMessage' => 'Request timed out. Please try again later.', 'description' => 'Request timed out, please try again later'],
['errorCode' => 'NoFundAccountPermission', 'errorMessage' => 'The caller does not have permission for the specified fund account.', 'description' => 'The current login account does not have permission to operate the specified account.'],
['errorCode' => 'AccountNotExist', 'errorMessage' => 'Account does not exist.', 'description' => 'Account does not exist'],
['errorCode' => 'AvailableTransferAmountNotEnough', 'errorMessage' => 'The available amount for granting or recycling is insufficient.', 'description' => 'The amount available for allocation/recovery is insufficient. Please confirm and try again.'],
],
],
'title' => 'Create account transfer or revocation',
'summary' => 'Creates an account transfer or revocation.',
'changeSet' => [
['createdAt' => '2025-12-05T11:33:26.000Z', 'description' => 'Error codes changed'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'efc:ModifyTransfer',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"1BB79-5B23-3EA-BB4F-352F93E\\\\n\\\\n\\"\\n}","type":"json"}]',
],
'CreateInvoice' => [
'summary' => 'Apply for Invoice',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '自动化测试平台配置的统一测试UID=1948392007548064不支持开票操作'],
'parameters' => [
[
'name' => 'Amount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Specifies the invoice amount. Supports up to two decimal places.'."\n"
.'- If not specified, the invoice will be issued for the total invoiceable amount of all invoiceCandidateIds.'."\n"
.'- If specified, the invoice will be issued for the specified amount. The specified amount cannot exceed the total invoiceable amount of all invoiceCandidateIds.', 'type' => 'string', 'pattern' => '^[\\d._-]+$', 'required' => false, 'example' => '0.01'],
],
[
'name' => 'InvoiceTitleId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Invoice title ID.'."\n"
."\n"
.'- The ID parameter returned by the ListInvoiceTitle API for the current logged-in account.', 'type' => 'string', 'required' => true, 'pattern' => '^\\d+$', 'example' => '12345'],
],
[
'name' => 'RecipientEmails',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'List of email addresses to receive the invoice. A maximum of 3 can be specified.',
'type' => 'array',
'items' => ['description' => 'Email address to receive the invoice.', 'type' => 'string', 'required' => true, 'example' => '1@1.com', 'title' => ''],
'required' => true,
'maxItems' => 3,
'minItems' => 1,
'example' => '',
],
],
[
'name' => 'InvoiceRemark',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Invoice remark.', 'type' => 'string', 'maxLength' => 200, 'required' => false, 'example' => '备注信息'],
],
[
'name' => 'InvoiceCandidateIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'List of invoice candidate IDs.',
'type' => 'array',
'items' => ['description' => 'Invoice candidate ID.', 'type' => 'string', 'required' => true, 'pattern' => '^\\d+$', 'example' => '12345', 'title' => ''],
'required' => true,
'pattern' => '^\\d+$',
'minItems' => 1,
'example' => '',
],
],
[
'name' => 'InvoiceType',
'in' => 'query',
'schema' => [
'title' => '',
'description' => 'Invoice type.',
'enumValueTitles' => ['Digital electronic general invoice', 'Digital electronic special invoice'],
'type' => 'integer',
'format' => 'int32',
'required' => true,
'enum' => ['0', '1'],
'example' => '0',
],
],
[
'name' => 'InvoiceMode',
'in' => 'query',
'schema' => [
'title' => '',
'description' => 'Invoice mode.'."\n"
.'- 0: Independent invoicing. Expenses of multiple accounts under the enterprise are invoiced separately for each account.'."\n"
.'- 1: Consolidated invoicing. Expenses of multiple accounts under the enterprise are consolidated and invoiced under the invoicing entity.'."\n"
.'If only one account is passed in the AccountIds parameter, independent invoicing is applied.',
'enumValueTitles' => ['Independent invoicing', 'Consolidated invoicing'],
'type' => 'integer',
'format' => 'int32',
'required' => true,
'enum' => ['0', '1'],
'example' => '0',
],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'Enterprise and account list. If empty, the current account is queried.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'AccountIds' => [
'title' => '',
'description' => 'List of accounts to access. If empty, all accounts under the current entity ID are selected.',
'type' => 'array',
'items' => ['description' => 'Member account ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1990699401005016', 'title' => ''],
'required' => false,
'maxItems' => 100,
'example' => '',
],
'EcId' => ['title' => '', 'description' => 'Enterprise entity ID.', 'type' => 'string', 'required' => false, 'example' => '12345'],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Primary marketplace ID. If empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiListResult<BssOpenInvoiceApplyDTO>',
'type' => 'object',
'properties' => [
'Data' => [
'title' => '',
'description' => 'Data list.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'AccountId' => ['title' => '', 'description' => 'Account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1990699401005016'],
'Message' => ['title' => '', 'description' => 'Error message.', 'type' => 'string', 'example' => '不可开票'],
'Amount' => ['title' => '', 'description' => 'Invoice amount.', 'type' => 'string', 'example' => '0.01'],
'ErrorCode' => ['title' => '', 'description' => 'Error code.', 'type' => 'string', 'example' => '1001'],
'InvoiceIssuer' => ['title' => '', 'description' => 'Invoice issuer.', 'type' => 'string', 'example' => 'ALIYUN_SERVICE'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'Response metadata.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InnerAccountNoQueryPricePermission', 'errorMessage' => 'In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group\'s cloud account. More questions please refer to the document.', 'description' => 'Due to data security and compliance requirements, the Group\'s cloud account amount information permissions are controlled. Please understand the inconvenience caused. You can view it through HCRM/cloud platform. For details, please refer to: https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2 。'],
['errorCode' => 'InnerSubAccountNoQueryPricePermission', 'errorMessage' => 'In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group\'s cloud account.', 'description' => 'Due to data security and compliance requirements, the Group\'s cloud account amount information permissions are controlled. Please understand the inconvenience caused. You can view it through HCRM/cloud platform. For details, please refer to: https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2 。'],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this action.', 'description' => 'You do not have permissions to perform the operation.'],
['errorCode' => 'AccountNoQueryPricePermission', 'errorMessage' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.', 'description' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.'],
['errorCode' => 'SubAccountNoQueryPricePermission', 'errorMessage' => 'This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice.', 'description' => 'This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice.'],
['errorCode' => 'InvoiceManualAmountNotAllowed', 'errorMessage' => 'Cross-account independent invoicing, amount cannot be specified.', 'description' => 'Cross-account independent invoicing, amount cannot be specified'],
['errorCode' => 'InvoiceRecipientEmailsMoreThanThree', 'errorMessage' => 'Maximum 3 email addresses allowed for invoice application.', 'description' => ''],
['errorCode' => 'InvoiceCandidateNotFound', 'errorMessage' => 'No valid data to be invoiced can be found based on the invoicing object list and account list passed in.', 'description' => 'No valid data to be invoiced can be found based on the invoicing object list and account list passed in.'],
['errorCode' => 'InvoiceTitleNotExist', 'errorMessage' => 'Invoice title does not exist.', 'description' => 'Invoice header does not exist'],
['errorCode' => 'InvoiceRemarkTooLong', 'errorMessage' => 'Invoice remarks must not exceed 200 characters. Please abbreviate and resubmit.', 'description' => 'The length of the invoice note is too long, please abbreviate it properly and resubmit it!'],
['errorCode' => 'InvoiceAmountInValid', 'errorMessage' => 'Illegal amount requested for invoicing.', 'description' => 'Illegal amount requested for invoicing'],
['errorCode' => 'InvoiceAmountFormatInvalid', 'errorMessage' => 'Illegal format of invoiced amount.', 'description' => 'Illegal format of invoiced amount'],
['errorCode' => 'InvoiceModeInvalid', 'errorMessage' => 'InvoiceMode field is illegal.', 'description' => 'InvoiceMode field is illegal'],
['errorCode' => 'InvoiceTypeInvalid', 'errorMessage' => 'InvoiceType field is illegal.', 'description' => 'InvoiceType field is illegal'],
['errorCode' => 'InvoiceSpecialOnlyForEnterprises', 'errorMessage' => 'Special invoices can only be issued by enterprise accounts.', 'description' => 'Special invoices can only be issued by enterprise accounts.'],
['errorCode' => 'InvoiceAmountNegativeInvalid', 'errorMessage' => 'The sum of the selected amounts is negative and cannot be invoiced.', 'description' => 'The sum of the selected amounts is negative and cannot be invoiced.'],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AccountId\\": 1990699401005016,\\n \\"Message\\": \\"不可开票\\",\\n \\"Amount\\": \\"0.01\\",\\n \\"ErrorCode\\": \\"1001\\",\\n \\"InvoiceIssuer\\": \\"ALIYUN_SERVICE\\"\\n }\\n ],\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\"\\n}","type":"json"}]',
'title' => 'Invoice Application',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
],
'CreateReportDefinition' => [
'summary' => 'Creates a billing report subscription.',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ReportSourceType',
'in' => 'formData',
'schema' => ['description' => 'The subscription source. Valid values: OSS, MC, and MSC_EMAIL.', 'type' => 'string', 'required' => false, 'example' => 'OSS', 'title' => ''],
],
[
'name' => 'ReportType',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The subscription type. Valid values:'."\n"
.'- consumeDetailBillV2: consumption details. This value is supported only by OSS/MC subscriptions.'."\n"
.'- splitDetailBillV2: split details. This value is supported only by OSS/MC subscriptions.'."\n"
.'- costDetailBillV2: cost details. This value is supported only by OSS/MC subscriptions.'."\n"
.'- monthBillOverview: monthly bill overview. This value is supported only by OSS/MSC_EMAIL subscriptions.'."\n"
.'- focus: FOCUS bill. This value is supported only by OSS/MC subscriptions.', 'type' => 'string', 'required' => true, 'example' => 'consumeDetailBillV2'],
],
[
'name' => 'BeginBillingCycle',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The start billing cycle for push. After the subscription succeeds, the system automatically pushes data from the start billing cycle to the current time. This parameter is invalid for monthly bill PDF subscriptions, and historical data will not be re-pushed. You can push data within the last year.', 'type' => 'string', 'required' => false, 'example' => '2025-05'],
],
[
'name' => 'OssBucketOwnerAccountId',
'in' => 'query',
'schema' => ['description' => 'The UID of the OSS bucket owner that stores the files. If this is a Bid/Reseller subscription and you need to push data to a sub-account\'s OSS, specify this parameter. The account must be a sub-account of the calling account, and the AliyunConsumeDump2OSSRole permission must be granted to this account. Regular users do not need to specify this parameter. The default value is the calling account.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1234567812345678', 'title' => ''],
],
[
'name' => 'OssBucketName',
'in' => 'query',
'schema' => ['description' => 'The name of the OSS bucket for file storage.', 'type' => 'string', 'required' => false, 'example' => 'sh-bill', 'title' => ''],
],
[
'name' => 'OssBucketPath',
'in' => 'query',
'schema' => ['description' => 'The storage path of the OSS bucket.', 'type' => 'string', 'required' => false, 'example' => 'bill/', 'title' => ''],
],
[
'name' => 'McProject',
'in' => 'formData',
'schema' => ['description' => 'The name of the MaxCompute project.', 'type' => 'string', 'required' => false, 'example' => 'project', 'title' => ''],
],
[
'name' => 'McTableName',
'in' => 'formData',
'schema' => ['description' => 'The name of the MaxCompute subscription table.', 'type' => 'string', 'required' => false, 'example' => 'table', 'title' => ''],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The first-level site ID. If this parameter is left empty, the site ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
[
'name' => 'SplitFileOnUserId',
'in' => 'query',
'schema' => ['description' => 'The email subscription configuration that specifies whether to split attachments by user ID.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'NotSendOnNoData',
'in' => 'query',
'schema' => ['description' => 'The email subscription configuration that specifies whether to skip sending emails when no bills are available.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'SendWithAttach',
'in' => 'query',
'schema' => ['description' => 'The email subscription configuration that specifies whether to send emails with bill attachments.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'IncludeMembers',
'in' => 'query',
'schema' => ['description' => 'The email subscription configuration that specifies whether to include multi-account members of the organization in bills.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'The metadata of the response.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '340CAB45-0637-5875-9BE4-EFD5750F6BA5', 'title' => ''],
'ReportTaskId' => ['description' => 'The ID of the billing subscription task.', 'type' => 'integer', 'format' => 'int64', 'example' => '123123', 'title' => ''],
'ReportSourceType' => ['description' => 'The subscription source. Valid values: OSS and MC.', 'type' => 'string', 'example' => 'OSS', 'title' => ''],
'ReportSourceName' => ['description' => 'The name of the subscription source.', 'type' => 'string', 'example' => 'OSS', 'title' => ''],
'ReportType' => ['title' => '', 'description' => 'The subscription type. Valid values:'."\n"
.'- consumeDetailBillV2: consumption details. This value is supported only by OSS/MC subscriptions.'."\n"
.'- splitDetailBillV2: split details. This value is supported only by OSS/MC subscriptions.'."\n"
.'- costDetailBillV2: cost details. This value is supported only by OSS/MC subscriptions.'."\n"
.'- monthBillOverview: monthly bill overview. This value is supported only by OSS/MSC_EMAIL subscriptions.'."\n"
.'- focus: FOCUS bill. This value is supported only by OSS/MC subscriptions.', 'type' => 'string', 'example' => 'consumeDetailBillV2'],
'BeginBillingCycle' => ['title' => '', 'description' => 'The start billing cycle for push. After the subscription succeeds, the system automatically pushes data from the start billing cycle to the current time. This parameter is invalid for monthly bill PDF subscriptions, and historical data will not be re-pushed. You can push data within the last year.', 'type' => 'string', 'example' => '2025-05'],
'SubscribeCreateTime' => ['description' => 'The time when the subscription was created.', 'type' => 'string', 'example' => '2025-05-21 10:36:31', 'title' => ''],
'OssBucketOwnerAccountId' => ['description' => 'The UID of the OSS bucket owner that stores the files. If this is a Bid/Reseller subscription and you need to push data to a sub-account\'s OSS, specify this parameter. The account must be a sub-account of the calling account, and the AliyunConsumeDump2OSSRole permission must be granted to this account. Regular users do not need to specify this parameter. The default value is the calling account.', 'type' => 'integer', 'format' => 'int64', 'example' => '1234567812345678', 'title' => ''],
'OssBucketName' => ['description' => 'The name of the OSS bucket for file storage.', 'type' => 'string', 'example' => 'sh-bill', 'title' => ''],
'OssBucketPath' => ['description' => 'The storage path of the OSS bucket.', 'type' => 'string', 'example' => 'bill/', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'TASK_EXIST', 'errorMessage' => 'task has already exist.', 'description' => 'This table already exists and cannot be resubscribed'],
['errorCode' => 'InvalidBucket', 'errorMessage' => 'The bucket is invalid or the bucket does not belong to you.', 'description' => ''],
['errorCode' => 'InvalidHistoricalNbid', 'errorMessage' => 'Historical field does not support subscription bill.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"340CAB45-0637-5875-9BE4-EFD5750F6BA5\\",\\n \\"ReportTaskId\\": 123123,\\n \\"ReportSourceType\\": \\"OSS\\",\\n \\"ReportSourceName\\": \\"OSS\\",\\n \\"ReportType\\": \\"consumeDetailBillV2\\",\\n \\"BeginBillingCycle\\": \\"2025-05\\",\\n \\"SubscribeCreateTime\\": \\"2025-05-21 10:36:31\\",\\n \\"OssBucketOwnerAccountId\\": 1234567812345678,\\n \\"OssBucketName\\": \\"sh-bill\\",\\n \\"OssBucketPath\\": \\"bill/\\"\\n}","type":"json"}]',
'title' => 'Create Report Subscription',
'description' => 'When you call this API operation, note the following information:'."\n"
."\n"
.'- You can subscribe to one type of billing file at a time.'."\n"
."\n"
.'- Except for monthly bill PDFs, starting from the day after the subscription, the system pushes daily billing files that contain full detailed data from the beginning of the current month to the present. Before the 4th of each month, the system pushes full billing files for the complete billing cycle of the previous month.'."\n"
.'- Monthly bill PDFs are pushed before the 4th of each month for the previous month.'."\n"
."\n"
.'- Billing files generated on a daily basis may have delays. Delayed billing files are pushed on the day after they are generated and may also contain bills that were delayed from before the previous day and generated on the previous day. We recommend that you pull the full files for the previous month at the beginning of each month.'."\n"
."\n"
.'> Apply for the required permissions by following the procedure described in the documentation: [Billing Subscription](https://help.aliyun.com/zh/user-center/user-guide/billing-subscription?spm=5176.21213303.J_v8LsmxMG6alneH-O7TCPa.1.3ef82f3d5ZIf08&scm=20140722.S_help@@%E6%96%87%E6%A1%A3@@2861820._.ID_help@@%E6%96%87%E6%A1%A3@@2861820-RL_%E8%B4%A6%E5%8D%95%E8%AE%A2%E9%98%85-LOC_2024SPHelpResult-OR_ser-PAR1_2150419517478292121114501eaee8-V_4-RE_new5-P0_0-P1_0)'."\n"
."\n"
.'- This subscription and the Expenses and Costs - Billing Subscription are the same feature, and subscriptions are interchangeable.'."\n"
."\n"
.'- When subscribing to a directory under a bucket, follow the directory naming conventions:'."\n"
."\n"
.' - Emojis are not allowed. Use compliant UTF-8 characters.'."\n"
.' - Forward slashes (/) are used to separate paths and can quickly create subdirectories. However, do not start with / or \\, and do not use consecutive forward slashes (/).'."\n"
.' - Subdirectories named .. are not allowed.'."\n"
.' - The total length must be 1 to 254 characters.'."\n"
."\n"
.'- File names:'."\n"
.' - Example: **consumeDetailBillV2** (billing item details)'."\n"
.' '."\n"
.' - Daily push file name format: `{Account UID}_{Site ID}_{Bill type}_{YYYYMM|YYYYMMDD}`, for example: `169**_2688801000001_consumeDetailBillV2_20190312`.'."\n"
.' '."\n"
.' - Full file name format at the beginning of the next month: `{Account UID}_{Site ID}_{Bill type}_{YYYYMM|YYYYMM}`, for example: `169**_2688801000001_consumeDetailBillV2_201903`.'."\n"
."\n"
.'- Monthly bill PDF files are in .pdf format, and other file types are in .csv format. When the data volume is large, the system automatically splits the exported bills into multiple files and compresses them into one or more .zip files. The .zip file name format is the same.',
'changeSet' => [
['createdAt' => '2025-08-22T06:39:14.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ModifyOssSub',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'DeleteBudget' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'BudgetName',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The budget name.', 'type' => 'string', 'required' => true, 'example' => 'department1'],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The ID of the primary marketplace. If this parameter is left empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7EA6C02D-06D0-4213-9C3B-E67910F7D1EB', 'title' => ''],
'BudgetName' => ['title' => '', 'description' => 'The budget name.', 'type' => 'string', 'example' => 'department1'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeleteBudget',
'summary' => 'Deletes a budget.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7EA6C02D-06D0-4213-9C3B-E67910F7D1EB\\",\\n \\"BudgetName\\": \\"department1\\"\\n}","type":"json"}]',
],
'DeleteCostCenter' => [
'summary' => 'Delete Cost Center',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'OwnerAccountId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'User ID of the cost center owner.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1314839403940987'],
],
[
'name' => 'CostCenterId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Cost center ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '485938'],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'First-level marketplace ID. If left empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<CostCenterOperateDto>',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'Response metadata.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'C1BD134E-D914-6AE0-1901-AEB2A99FA205', 'title' => ''],
'OwnerAccountId' => ['title' => '', 'description' => 'User ID of the cost center owner.', 'type' => 'integer', 'format' => 'int64', 'example' => '1314839403940987'],
'CostCenterId' => ['title' => '', 'description' => 'Cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '485938'],
'IsSuccess' => ['title' => '', 'description' => 'Indicates whether the operation is successful.', 'type' => 'boolean', 'example' => 'True'],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'CostCenter.DeleteWithShareRule', 'errorMessage' => 'This financial unit involves splitting expense rules. Please adjust relevant rules before deleting the financial unit.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'CostCenter.MasterAndSubHasNoRelation', 'errorMessage' => 'Your account has no valid account relation yet.', 'description' => ''],
['errorCode' => 'CostCenter.UnitNotExist', 'errorMessage' => 'The financial unit does not exist or is invalid.', 'description' => ''],
['errorCode' => 'CostCenter.DeleteWithSubUnitOrResource', 'errorMessage' => 'Financial units with sub-units, allocated resources, or auto-allocation rules cannot be deleted.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"C1BD134E-D914-6AE0-1901-AEB2A99FA205\\",\\n \\"OwnerAccountId\\": 1314839403940987,\\n \\"CostCenterId\\": 485938,\\n \\"IsSuccess\\": true\\n}","type":"json"}]',
'title' => 'Delete Cost Center',
'description' => 'This API is in canary release and is only available to whitelisted users. Excessive calls may cause performance issues such as response timeouts.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'DeleteCostCenterRule' => [
'summary' => 'Delete financial unit automatic allocation rule',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'CostCenterId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Financial unit ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '637127'],
],
[
'name' => 'FilterExpression',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'Rule expression.'."\n"
.'**This field does not need to be entered during the delete operation.**',
'type' => 'object',
'properties' => [
'ExpressionType' => [
'description' => 'The operation type.',
'enumValueTitles' => ['DIMENSION' => 'Leaf node filter type (used when Code is not a tag)', 'TAG' => 'Leaf node filter type (used when Code is a tag)', 'NARY' => 'Sub-condition relationship (used for non-leaf conditions)'],
'type' => 'string',
'required' => false,
'example' => 'NARY',
'title' => '',
],
'OperatorType' => ['description' => 'The relational expression.', 'type' => 'string', 'required' => false, 'example' => 'AND', 'title' => ''],
'Operands' => [
'description' => 'The conditional expressions.',
'type' => 'array',
'items' => ['description' => 'The conditional expression.'."\n"
.'**See the example for the overall structure (supports multi-level nesting). The following fields are only field descriptions.**', 'type' => 'any', 'required' => false, 'example' => '{'."\n"
.' '."\n"
.' "Operands": ['."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "TAG-xxx",'."\n"
.' "Values": ['."\n"
.' "xxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "TAG"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "INSTANCE_ID",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "LIKE"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "INSTANCE_NICK",'."\n"
.' "Values": ['."\n"
.' "111"'."\n"
.' ],'."\n"
.' "SelectType": "LIKE"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "RESOURCE_GROUP",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "ARTICLE",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "PRODUCT",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "OWNER",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' }'."\n"
.' ]'."\n"
.' }', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'Operand' => ['description' => 'The filter condition (no longer used).', 'type' => 'any', 'required' => false, 'example' => '无', 'title' => ''],
'FilterValues' => [
'description' => 'The sub-expression filter conditions.',
'type' => 'object',
'properties' => [
'Code' => [
'description' => 'The condition filter key.',
'enumValueTitles' => ['OWNER' => 'Account', 'ARTICLE' => 'Product detail', 'RESOURCE_GROUP' => 'Resource group', 'xxx (user-defined tag key)' => 'Business tag, based on the user\'s actual configuration value', 'PRODUCT' => 'Product', 'INSTANCE_NICK' => 'Instance name', 'INSTANCE_ID' => 'Billing granularity'],
'type' => 'string',
'required' => false,
'example' => 'TAG-test-xxx-key'."\n",
'title' => '',
],
'CodeName' => ['description' => 'The condition filter key name.', 'type' => 'string', 'required' => false, 'example' => '无', 'title' => ''],
'Values' => [
'description' => 'The condition filter values.',
'type' => 'array',
'items' => ['description' => 'The condition filter value. Only one value can be entered for INSTANCE_NICK or INSTANCE_NICK.', 'type' => 'string', 'required' => false, 'example' => '["TAG-test-xxx"]'."\n", 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'SelectType' => [
'description' => 'The association between Code and value.',
'enumValueTitles' => ['LIKE' => 'Used when Code is other values', 'IN' => 'Used when Code is INSTANCE_NICK or INSTANCE_NICK'],
'type' => 'string',
'required' => false,
'example' => 'IN',
'title' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Level-1 marketplace ID. If empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<Long>',
'type' => 'object',
'properties' => [
'Data' => ['description' => 'The ID of the financial unit allocation rule.', 'type' => 'integer', 'format' => 'int64', 'example' => '37404', 'title' => ''],
'Metadata' => ['title' => '', 'description' => 'The response metadata.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'UUID', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'CostCenter.MasterAndSubHasNoRelation', 'errorMessage' => 'Your account has no valid account relation yet.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'CostCenter.UnitNotExist', 'errorMessage' => 'The financial unit does not exist or is invalid.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": 37404,\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"UUID\\"\\n}","type":"json"}]',
'title' => 'Delete financial unit automatic allocation rule',
'description' => 'This API is in canary release and is only available to whitelisted users. Excessive calls may cause performance issues such as response timeouts.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'DeleteReportDefinition' => [
'summary' => 'Deletes a bill report export subscription.',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'ReportTaskId',
'in' => 'query',
'schema' => ['description' => 'The ID of the bill subscription task.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123123', 'title' => ''],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The ID of the primary sales channel. If this parameter is left empty, the ID of the sales channel to which the current user belongs is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'Data' => ['description' => 'Indicates whether the subscription is deleted.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'Metadata' => ['title' => '', 'description' => 'The metadata of the response struct.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'."\n", 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidHistoricalNbid', 'errorMessage' => 'Historical field does not support subscription bill.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\\\n\\"\\n}","type":"json"}]',
'title' => 'Delete a report subscription',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'bss:ModifyOssSub',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'DescribeBudget' => [
'summary' => 'Query a Single Budget',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'BudgetName',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Budget name.', 'type' => 'string', 'required' => true, 'example' => 'department1'],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Primary marketplace ID. If left empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'Response structure metadata.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'A1B2C3D4-E5F6-7890-ABCD-EF1234567890', 'title' => ''],
'BudgetName' => ['title' => '', 'description' => 'Budget name.', 'type' => 'string', 'example' => 'department1'],
'BudgetType' => ['title' => '', 'description' => 'Budget type.', 'type' => 'string', 'example' => 'CONSUME'],
'Metric' => ['title' => '', 'description' => 'Budget metric.', 'type' => 'string', 'example' => 'REQUIRE_AMOUNT'],
'CycleType' => ['title' => '', 'description' => 'Cycle type.', 'type' => 'string', 'example' => 'MONTHLY'],
'CycleStartPeriod' => ['title' => '', 'description' => 'Start cycle period.', 'type' => 'string', 'example' => '2025-10'],
'CycleEndPeriod' => ['title' => '', 'description' => 'End cycle period.', 'type' => 'string', 'example' => '2026-12'],
'QuotaType' => ['title' => '', 'description' => 'Quota type.', 'type' => 'string', 'example' => 'FIXED'],
'Quota' => ['title' => '', 'description' => 'Fixed quota value.', 'type' => 'string', 'example' => '1000'],
'CycleQuota' => [
'title' => '',
'description' => 'Quota specified per cycle.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CyclePeriod' => ['title' => '', 'description' => 'Cycle period.', 'type' => 'string', 'example' => '202601'],
'Quota' => ['title' => '', 'description' => 'Quota.', 'type' => 'string', 'example' => '100'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'QueryFilter' => [
'title' => '',
'description' => 'Filter conditions.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['title' => '', 'description' => 'Parameter code.', 'type' => 'string', 'example' => 'RESOURCE_OWNER_ACCOUNT'],
'SelectType' => ['title' => '', 'description' => 'Selection mode.', 'type' => 'string', 'example' => 'IN'],
'Values' => [
'title' => '',
'description' => 'Filter value list.',
'type' => 'array',
'items' => ['description' => 'Dimension value.', 'type' => 'string', 'example' => '5772131917493334', 'title' => ''],
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'EcIdAccountIdsFilter' => [
'title' => '',
'description' => 'Enterprise multi-account filter conditions.',
'type' => 'object',
'properties' => [
'EcId' => ['description' => 'Enterprise entity ID.', 'type' => 'string', 'example' => 'E2024112210463400001', 'title' => ''],
'AccountIds' => [
'description' => 'Member account IDs.',
'type' => 'array',
'items' => ['description' => 'Member account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '5772131917494444', 'title' => ''],
'title' => '',
'example' => '',
],
],
'example' => '',
],
'Comment' => ['title' => '', 'description' => 'Remarks.', 'type' => 'string', 'example' => 'comment'],
'WarnConfs' => [
'title' => '',
'description' => 'Alert configurations.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['title' => '', 'description' => 'Alert name. User-defined and optional. If not specified, the backend automatically generates a name.', 'type' => 'string', 'example' => 'Alter-1'],
'Sequence' => ['title' => '', 'description' => 'Sequence number. Only present in responses. Alerts are numbered in ascending order of alert ID, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'WarnTarget' => ['title' => '', 'description' => 'Alert target.', 'type' => 'string', 'example' => 'ACTUAL'],
'ThresholdType' => ['title' => '', 'description' => 'Threshold type.', 'type' => 'string', 'example' => 'FIXED'],
'ThresholdValue' => ['title' => '', 'description' => 'Threshold value.', 'type' => 'string', 'example' => '1000'],
'MscContacts' => [
'title' => '',
'description' => 'Message center contact list.',
'type' => 'array',
'items' => ['description' => 'Contact ID.', 'type' => 'string', 'example' => '112100', 'title' => ''],
'example' => '',
],
'MscChannels' => [
'title' => '',
'description' => 'Message center notification channel list.',
'type' => 'array',
'items' => ['description' => 'Notification channel.', 'type' => 'string', 'example' => 'EMAIL', 'title' => ''],
'example' => '',
],
'EventBridge' => ['title' => '', 'description' => 'Specifies whether to enable EventBridge.', 'type' => 'boolean', 'example' => ''],
'Comment' => ['title' => '', 'description' => 'Remarks.', 'type' => 'string', 'example' => 'comment'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query Single Budget Details',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"A1B2C3D4-E5F6-7890-ABCD-EF1234567890\\",\\n \\"BudgetName\\": \\"department1\\",\\n \\"BudgetType\\": \\"CONSUME\\",\\n \\"Metric\\": \\"REQUIRE_AMOUNT\\",\\n \\"CycleType\\": \\"MONTHLY\\",\\n \\"CycleStartPeriod\\": \\"2025-10\\",\\n \\"CycleEndPeriod\\": \\"2026-12\\",\\n \\"QuotaType\\": \\"FIXED\\",\\n \\"Quota\\": \\"1000\\",\\n \\"CycleQuota\\": [\\n {\\n \\"CyclePeriod\\": \\"202601\\",\\n \\"Quota\\": \\"100\\"\\n }\\n ],\\n \\"QueryFilter\\": [\\n {\\n \\"Code\\": \\"RESOURCE_OWNER_ACCOUNT\\",\\n \\"SelectType\\": \\"IN\\",\\n \\"Values\\": [\\n \\"5772131917493334\\"\\n ]\\n }\\n ],\\n \\"EcIdAccountIdsFilter\\": {\\n \\"EcId\\": \\"E2024112210463400001\\",\\n \\"AccountIds\\": [\\n 5772131917494444\\n ]\\n },\\n \\"Comment\\": \\"comment\\",\\n \\"WarnConfs\\": [\\n {\\n \\"Name\\": \\"Alter-1\\",\\n \\"Sequence\\": 1,\\n \\"WarnTarget\\": \\"ACTUAL\\",\\n \\"ThresholdType\\": \\"FIXED\\",\\n \\"ThresholdValue\\": \\"1000\\",\\n \\"MscContacts\\": [\\n \\"112100\\"\\n ],\\n \\"MscChannels\\": [\\n \\"EMAIL\\"\\n ],\\n \\"EventBridge\\": false,\\n \\"Comment\\": \\"comment\\"\\n }\\n ]\\n}","type":"json"}]',
],
'DescribeBudgets' => [
'summary' => 'Query budget list',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'PageNo',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'BudgetName',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The budget name. Fuzzy search is supported.', 'type' => 'string', 'required' => false, 'example' => 'department1'],
],
[
'name' => 'BudgetType',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The budget type.', 'type' => 'string', 'required' => false, 'example' => 'CONSUME'],
],
[
'name' => 'ExpireStatus',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The expiration status.', 'type' => 'string', 'required' => false, 'example' => 'NOT_EXPIRED'],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The primary marketplace ID. If this parameter is left empty, the ID of the marketplace to which the current user belongs is used by default.', 'type' => 'string', 'required' => false, 'example' => '2688801000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'CurrentPage' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'TotalCount' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Data' => [
'title' => '',
'description' => 'The data list.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'BudgetName' => ['title' => '', 'description' => 'The budget name.', 'type' => 'string', 'example' => 'department1-test'],
'BudgetType' => ['title' => '', 'description' => 'The budget type.', 'type' => 'string', 'example' => 'CONSUME'],
'Metric' => ['title' => '', 'description' => 'The budget metric.', 'type' => 'string', 'example' => 'REQUIRE_AMOUNT'],
'CycleStartPeriod' => ['title' => '', 'description' => 'The start period.', 'type' => 'string', 'example' => '2025-10'],
'CycleEndPeriod' => ['title' => '', 'description' => 'The end period.', 'type' => 'string', 'example' => '2026-12'],
'CycleType' => ['title' => '', 'description' => 'The cycle type.', 'type' => 'string', 'example' => 'MONTHLY'],
'ExpireStatus' => ['title' => '', 'description' => 'The expiration status.', 'type' => 'string', 'example' => 'NOT_EXPIRED'],
'QueryFilter' => [
'title' => '',
'description' => 'The filter conditions.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['title' => '', 'description' => 'The parameter code.', 'type' => 'string', 'example' => 'RESOURCE_OWNER_ACCOUNT'],
'SelectType' => ['title' => '', 'description' => 'The selection mode.', 'type' => 'string', 'example' => 'IN'],
'Values' => [
'title' => '',
'description' => 'The filter value list.',
'type' => 'array',
'items' => ['description' => 'The dimension value.', 'type' => 'string', 'example' => '5772131917493334', 'title' => ''],
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'EcIdAccountIdsFilter' => [
'title' => '',
'description' => 'The enterprise multi-account filter conditions.',
'type' => 'object',
'properties' => [
'EcId' => ['description' => 'The enterprise entity ID.', 'type' => 'string', 'example' => 'E2024112210463400001', 'title' => ''],
'AccountIds' => [
'description' => 'The member account IDs.',
'type' => 'array',
'items' => ['description' => 'The member account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '5772131917494444', 'title' => ''],
'title' => '',
'example' => '',
],
],
'example' => '',
],
'QuotaType' => ['title' => '', 'description' => 'The quota type.', 'type' => 'string', 'example' => 'FIXED'],
'Quota' => ['title' => '', 'description' => 'The fixed quota value.', 'type' => 'string', 'example' => '10000'],
'CycleQuota' => [
'title' => '',
'description' => 'The specified quota per cycle.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CyclePeriod' => ['title' => '', 'description' => 'The cycle period.', 'type' => 'string', 'example' => '202601'],
'Quota' => ['title' => '', 'description' => 'The quota.', 'type' => 'string', 'example' => '100'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'WarnConfs' => [
'title' => '',
'description' => 'The alert configurations.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['title' => '', 'description' => 'The alert name. This parameter is user-defined and optional. If not specified, the backend automatically generates a name.', 'type' => 'string', 'example' => 'Alert-1'],
'Sequence' => ['title' => '', 'description' => 'The sort sequence number. This parameter is present only in responses. Alerts are numbered in ascending order by alert ID, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'WarnTarget' => ['title' => '', 'description' => 'The alert target.', 'type' => 'string', 'example' => 'ACTUAL'],
'ThresholdType' => ['title' => '', 'description' => 'The threshold type.', 'type' => 'string', 'example' => 'FIXED'],
'ThresholdValue' => ['title' => '', 'description' => 'The threshold value.', 'type' => 'string', 'example' => '100'],
'MscContacts' => [
'title' => '',
'description' => 'The list of message center contacts.',
'type' => 'array',
'items' => ['description' => 'The contact.', 'type' => 'string', 'example' => '12210', 'title' => ''],
'example' => '',
],
'MscChannels' => [
'title' => '',
'description' => 'The list of message center notification channels.',
'type' => 'array',
'items' => ['description' => 'The notification channel.', 'type' => 'string', 'example' => 'EMAIL', 'title' => ''],
'example' => '',
],
'EventBridge' => ['title' => '', 'description' => 'Indicates whether EventBridge is enabled.', 'type' => 'boolean', 'example' => ''],
'Comment' => ['title' => '', 'description' => 'The remarks.', 'type' => 'string', 'example' => 'comment1'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'Comment' => ['title' => '', 'description' => 'The remarks.', 'type' => 'string', 'example' => 'budget-1'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DB2A9097-289C-11CE-AA74-235FCFD39204', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query budget list',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"Data\\": [\\n {\\n \\"BudgetName\\": \\"department1-test\\",\\n \\"BudgetType\\": \\"CONSUME\\",\\n \\"Metric\\": \\"REQUIRE_AMOUNT\\",\\n \\"CycleStartPeriod\\": \\"2025-10\\",\\n \\"CycleEndPeriod\\": \\"2026-12\\",\\n \\"CycleType\\": \\"MONTHLY\\",\\n \\"ExpireStatus\\": \\"NOT_EXPIRED\\",\\n \\"QueryFilter\\": [\\n {\\n \\"Code\\": \\"RESOURCE_OWNER_ACCOUNT\\",\\n \\"SelectType\\": \\"IN\\",\\n \\"Values\\": [\\n \\"5772131917493334\\"\\n ]\\n }\\n ],\\n \\"EcIdAccountIdsFilter\\": {\\n \\"EcId\\": \\"E2024112210463400001\\",\\n \\"AccountIds\\": [\\n 5772131917494444\\n ]\\n },\\n \\"QuotaType\\": \\"FIXED\\",\\n \\"Quota\\": \\"10000\\",\\n \\"CycleQuota\\": [\\n {\\n \\"CyclePeriod\\": \\"202601\\",\\n \\"Quota\\": \\"100\\"\\n }\\n ],\\n \\"WarnConfs\\": [\\n {\\n \\"Name\\": \\"Alert-1\\",\\n \\"Sequence\\": 1,\\n \\"WarnTarget\\": \\"ACTUAL\\",\\n \\"ThresholdType\\": \\"FIXED\\",\\n \\"ThresholdValue\\": \\"100\\",\\n \\"MscContacts\\": [\\n \\"12210\\"\\n ],\\n \\"MscChannels\\": [\\n \\"EMAIL\\"\\n ],\\n \\"EventBridge\\": false,\\n \\"Comment\\": \\"comment1\\"\\n }\\n ],\\n \\"Comment\\": \\"budget-1\\"\\n }\\n ],\\n \\"RequestId\\": \\"DB2A9097-289C-11CE-AA74-235FCFD39204\\"\\n}","type":"json"}]',
],
'DescribeCoupon' => [
'methods' => ['get', 'post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'EffectiveStartTime',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The effective start time.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1684750028000'],
],
[
'name' => 'EffectiveEndTime',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The effective end time.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1708423156000'],
],
[
'name' => 'ExpireStartDate',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The expiration start time.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1684750028000'],
],
[
'name' => 'ExpireEndDate',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The expiration end time.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1708423156000'],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The status.', 'type' => 'string', 'required' => false, 'example' => 'AVAILABLE'],
],
[
'name' => 'CouponType',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The coupon type.', 'type' => 'string', 'required' => false, 'example' => 'CERTAIN'],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The primary campaign information.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
[
'name' => 'CouponId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The coupon ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '351430260343'],
],
[
'name' => 'CouponNo',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The coupon code.', 'type' => 'string', 'required' => false, 'example' => '554863270150'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The enterprise and account list. If this parameter is left empty, the current account is queried.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'EcId' => ['title' => '', 'description' => 'The enterprise entity ID.', 'type' => 'string', 'required' => false, 'example' => '1501603440974415'],
'AccountIds' => [
'title' => '',
'description' => 'The list of accessed accounts. If this parameter is left empty, all accounts under the current entity ID are selected.',
'type' => 'array',
'items' => ['description' => 'The member account ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1501603440974415', 'title' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
[
'name' => 'CouponTemplateIdList',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'array',
'items' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'title' => '',
'example' => '',
],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
[
'name' => 'IncludeShare',
'in' => 'query',
'schema' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPageResult<CouponVO>',
'type' => 'object',
'properties' => [
'CurrentPage' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'Data' => [
'title' => '',
'description' => 'The data list.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CouponId' => ['title' => '', 'description' => 'The coupon ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '59243658'],
'CouponNo' => ['title' => '', 'description' => 'The coupon code.', 'type' => 'string', 'example' => '731074910070'],
'CouponType' => ['title' => '', 'description' => 'The coupon type.', 'type' => 'string', 'example' => 'CERTAIN'],
'CouponTypeName' => ['title' => '', 'description' => 'The coupon type name.', 'type' => 'string', 'example' => '满减券'],
'Amount' => ['title' => '', 'description' => 'The face value.', 'type' => 'string', 'example' => '9929.750000'],
'RemainAmount' => ['title' => '', 'description' => 'The remaining amount.', 'type' => 'string', 'example' => '100.00'],
'ItemNames' => [
'title' => '',
'description' => 'The product code list.',
'type' => 'array',
'items' => ['description' => 'The applicable product name.', 'type' => 'string', 'example' => '全产品适用', 'title' => ''],
'example' => '',
],
'UniversalType' => ['title' => '', 'description' => 'The coupon applicable scope.', 'type' => 'string', 'example' => 'UNIVERSAL'],
'YhOrderTypes' => [
'title' => '',
'description' => 'The list of order types applicable to the coupon.',
'type' => 'array',
'items' => ['description' => 'The applicable order type.', 'type' => 'string', 'example' => '新购', 'title' => ''],
'example' => '',
],
'Status' => ['title' => '', 'description' => 'The status.', 'type' => 'string', 'example' => 'Available'],
'GmtCreate' => ['description' => 'The coupon issuance time.', 'type' => 'string', 'example' => '2021-03-02T15:12Z'."\n", 'title' => ''],
'StartTime' => ['title' => '', 'description' => 'The start time.', 'type' => 'string', 'example' => '2021-03-02T15:12Z'],
'EndTime' => ['title' => '', 'description' => 'The end time.', 'type' => 'string', 'example' => '2021-03-06T15:12Z'],
'Site' => ['title' => '', 'description' => 'The site.', 'type' => 'string', 'example' => 'CHINA'],
'SiteName' => ['title' => '', 'description' => 'The site name.', 'type' => 'string', 'example' => '官网自营'],
'Remark' => ['title' => '', 'description' => 'The remarks.', 'type' => 'string', 'example' => '新买28号'],
'MoneyLimit' => ['title' => '', 'description' => 'The amount limit.', 'type' => 'string', 'example' => '无订单金额限制'],
'Currency' => ['title' => '', 'description' => 'The currency.', 'type' => 'string', 'example' => 'CNY'],
'SuitAccount' => ['title' => '', 'description' => 'The applicable account.', 'type' => 'string', 'example' => '1902671110151254'],
'OrderTimeRule' => ['title' => '', 'description' => 'The order duration limit rule.', 'type' => 'string', 'example' => '预付费规则:购买订单时长大于3600s才能使用'],
'ShareUidList' => [
'title' => '',
'description' => 'The shared account list.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Uid' => ['title' => '', 'description' => 'The Alibaba Cloud UID.', 'type' => 'string', 'example' => '1902671110151254'],
'UserNick' => ['title' => '', 'description' => 'The Alibaba Cloud account.', 'type' => 'string', 'example' => '阿里云计算有限公司'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'SuitItemType' => ['title' => '', 'description' => 'The applicable product type. Valid values: all, which indicates that the coupon is applicable to all products. white, which indicates that the coupon is applicable to specified products. black, which indicates that the coupon is not applicable to specified products.', 'type' => 'string', 'example' => 'all'],
'ShowSetDeductTagButton' => ['description' => 'Indicates whether to display the tag deduction button.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'CertainAmount' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'FirstBuy' => ['title' => '', 'description' => 'Indicates whether there is a first purchase restriction.', 'type' => 'boolean', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C880B065-A781-4F19-B6DD-3E0E3B715C64', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'AccountNoQueryPricePermission', 'errorMessage' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.', 'description' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.'],
['errorCode' => 'SubAccountNoQueryPricePermission', 'errorMessage' => 'This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice.', 'description' => 'This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query coupon list',
'summary' => 'Queries a list of coupons.',
'changeSet' => [
['createdAt' => '2025-08-14T06:14:53.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2025-04-24T07:53:40.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeCoupon',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 2,\\n \\"Data\\": [\\n {\\n \\"CouponId\\": 59243658,\\n \\"CouponNo\\": \\"731074910070\\",\\n \\"CouponType\\": \\"CERTAIN\\",\\n \\"CouponTypeName\\": \\"满减券\\",\\n \\"Amount\\": \\"9929.750000\\",\\n \\"RemainAmount\\": \\"100.00\\",\\n \\"ItemNames\\": [\\n \\"全产品适用\\"\\n ],\\n \\"UniversalType\\": \\"UNIVERSAL\\",\\n \\"YhOrderTypes\\": [\\n \\"新购\\"\\n ],\\n \\"Status\\": \\"Available\\",\\n \\"GmtCreate\\": \\"2021-03-02T15:12Z\\\\n\\",\\n \\"StartTime\\": \\"2021-03-02T15:12Z\\",\\n \\"EndTime\\": \\"2021-03-06T15:12Z\\",\\n \\"Site\\": \\"CHINA\\",\\n \\"SiteName\\": \\"官网自营\\",\\n \\"Remark\\": \\"新买28号\\",\\n \\"MoneyLimit\\": \\"无订单金额限制\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"SuitAccount\\": \\"1902671110151254\\",\\n \\"OrderTimeRule\\": \\"预付费规则:购买订单时长大于3600s才能使用\\",\\n \\"ShareUidList\\": [\\n {\\n \\"Uid\\": \\"1902671110151254\\",\\n \\"UserNick\\": \\"阿里云计算有限公司\\"\\n }\\n ],\\n \\"SuitItemType\\": \\"all\\",\\n \\"ShowSetDeductTagButton\\": true,\\n \\"CertainAmount\\": \\"\\",\\n \\"FirstBuy\\": false\\n }\\n ],\\n \\"RequestId\\": \\"C880B065-A781-4F19-B6DD-3E0E3B715C64\\"\\n}","type":"json"}]',
],
'DescribeCouponItemList' => [
'methods' => ['get', 'post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'CouponId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The coupon ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '59104570'],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The product name. Fuzzy matching is supported.', 'type' => 'string', 'required' => false, 'example' => '云服务器ECS'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The list of enterprise entities and accounts. If this parameter is left empty, the current account is queried.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'EcId' => ['title' => '', 'description' => 'The enterprise entity ID.', 'type' => 'string', 'required' => true, 'example' => '1004064243473974'],
'AccountIds' => [
'title' => '',
'description' => 'The list of accounts to access. If this parameter is left empty, all accounts under the current entity ID are selected.',
'type' => 'array',
'items' => ['description' => 'The member account ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1004064243473974', 'title' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The level-1 sales channel ID. If this parameter is left empty, the channel ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPageResult<ItemNameVO>',
'type' => 'object',
'properties' => [
'CurrentPage' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
'Data' => [
'title' => '',
'description' => 'The data list.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['title' => '', 'description' => 'The product code.', 'type' => 'string', 'example' => 'vm'],
'Name' => ['title' => '', 'description' => 'The product name.', 'type' => 'string', 'example' => '云服务器ECS'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'EAE08A27-386C-579E-966D-8853EC3C5D0E', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query the list of products available for a coupon',
'summary' => 'Queries the list of products available for a coupon.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeCouponItemList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 5,\\n \\"Data\\": [\\n {\\n \\"Code\\": \\"vm\\",\\n \\"Name\\": \\"云服务器ECS\\"\\n }\\n ],\\n \\"RequestId\\": \\"EAE08A27-386C-579E-966D-8853EC3C5D0E\\"\\n}","type":"json"}]',
],
'DescribeDeductLogs' => [
'methods' => ['get', 'post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'Group',
'in' => 'formData',
'schema' => [
'title' => '',
'description' => 'The resource dimension for the query.',
'enumValueTitles' => ['oss_arc' => 'OSS region-independent reserved storage.', 'cu' => 'storage capacity unit (SCU)', 'ecsRi' => 'reserved instance.', 'oss_rc' => 'OSS reserved storage.', 'fr' => 'resource plan.', 'polardb' => 'PolarDB compute package.'],
'type' => 'string',
'required' => false,
'example' => 'oss_rc',
],
],
[
'name' => 'BillingStartTime',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The billing start time.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1647446400000'],
],
[
'name' => 'BillingEndTime',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The billing end time.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1679068799999'],
],
[
'name' => 'InstanceId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The instance name.', 'type' => 'string', 'required' => false, 'example' => 'OSSBAG-cn******'],
],
[
'name' => 'PageNum',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '50', 'example' => '20'],
],
[
'name' => 'BillingCommodityCode',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The commodity code of the deducted item.', 'type' => 'string', 'required' => false, 'example' => 'snapshot'],
],
[
'name' => 'CommodityCode',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The commodity code.', 'type' => 'string', 'required' => false, 'example' => 'ossbag'],
],
[
'name' => 'RelationAccountIds',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The list of deduction accounts.',
'type' => 'array',
'items' => ['description' => 'The deduction account ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[]', 'title' => ''],
'required' => false,
'example' => '',
],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The enterprise and account list. If this parameter is empty, the current account is queried.',
'type' => 'array',
'items' => [
'description' => 'The enterprise and account list. If this parameter is empty, the current account is queried.',
'type' => 'object',
'properties' => [
'EcId' => ['title' => '', 'description' => 'The enterprise entity ID.', 'type' => 'string', 'required' => true, 'example' => '1004064243473974'],
'AccountIds' => [
'title' => '',
'description' => 'The list of accounts to access. If this parameter is empty, all accounts under the current entity ID are selected.',
'type' => 'array',
'items' => ['description' => 'The member accounts ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1990699401005016', 'title' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The primary marketplace ID. If this parameter is empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
[
'name' => 'BillInstanceId',
'in' => 'query',
'schema' => ['description' => 'The instance ID for billing deduction.', 'type' => 'string', 'required' => false, 'example' => 'ecs-******', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPageResult<InstanceDeductResponse>',
'type' => 'object',
'properties' => [
'CurrentPage' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
'Data' => [
'title' => '',
'description' => 'The data list.',
'type' => 'array',
'items' => [
'description' => 'The returned data.',
'type' => 'object',
'properties' => [
'AccountId' => ['title' => '', 'description' => 'The account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1929817951466001'],
'InstanceId' => ['title' => '', 'description' => 'The instance name.', 'type' => 'string', 'example' => 'OSSBAG-cn-****s'],
'CapacityType' => [
'title' => '',
'description' => 'The capacity type.',
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The property code.', 'type' => 'string', 'example' => 'absolute', 'title' => ''],
'Name' => ['description' => 'The property name.', 'type' => 'string', 'example' => '总量恒定型', 'title' => ''],
],
'example' => '',
],
'CapacityTypeCode' => ['title' => '', 'description' => 'The capacity type code.', 'type' => 'string', 'example' => 'absolute'],
'CapacityTypeName' => ['title' => '', 'description' => 'The capacity type name.', 'type' => 'string', 'example' => '总量恒定型'],
'CycleType' => [
'title' => '',
'description' => 'The commitment cycle.',
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The commitment cycle code.', 'type' => 'string', 'example' => 'hour', 'title' => ''],
'Name' => ['description' => 'The commitment cycle name.', 'type' => 'string', 'example' => '小时', 'title' => ''],
],
'example' => '',
],
'CycleTypeCode' => ['title' => '', 'description' => 'The commitment cycle code.', 'type' => 'string', 'example' => 'hour'],
'CycleTypeName' => ['title' => '', 'description' => 'The commitment cycle name.', 'type' => 'string', 'example' => '小时'],
'CapacityBeforeDeductViewValue' => ['title' => '', 'description' => 'The display value of the capacity before deduction.', 'type' => 'string', 'example' => '40.000000'],
'CapacityBeforeDeductViewUnit' => ['title' => '', 'description' => 'The display unit of the capacity before deduction.', 'type' => 'string', 'example' => 'GB'],
'CapacityDeductedViewValue' => ['title' => '', 'description' => 'The display value of the deducted capacity.', 'type' => 'string', 'example' => '16.103515'],
'CapacityDeductedViewUnit' => ['title' => '', 'description' => 'The display unit of the deducted capacity.', 'type' => 'string', 'example' => 'GB'],
'CapacityAfterDeductViewValue' => ['title' => '', 'description' => 'The display value of the capacity after deduction.', 'type' => 'string', 'example' => '23.896484'],
'CapacityAfterDeductViewUnit' => ['title' => '', 'description' => 'The display unit of the capacity after deduction.', 'type' => 'string', 'example' => 'GB'],
'DeductTime' => ['title' => '', 'description' => 'The deduction time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1679039572000'],
'Commodity' => [
'title' => '',
'description' => 'The commodity.',
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The property code.', 'type' => 'string', 'example' => 'ossbag', 'title' => ''],
'Name' => ['description' => 'The property name.', 'type' => 'string', 'example' => '对象存储OSS资源包(包月)', 'title' => ''],
],
'example' => '',
],
'CommodityCode' => ['title' => '', 'description' => 'The commodity code.', 'type' => 'string', 'example' => 'ossbag'],
'CommodityName' => ['title' => '', 'description' => 'The commodity name.', 'type' => 'string', 'example' => '对象存储OSS资源包(包月)'],
'Product' => [
'title' => '',
'description' => 'The product.',
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The property code.', 'type' => 'string', 'example' => 'oss', 'title' => ''],
'Name' => ['description' => 'The property name.', 'type' => 'string', 'example' => '对象存储', 'title' => ''],
],
'example' => '',
],
'ProductCode' => ['title' => '', 'description' => 'The product code.', 'type' => 'string', 'example' => 'oss'],
'ProductName' => ['title' => '', 'description' => 'The product name.', 'type' => 'string', 'example' => '对象存储'],
'AccountName' => ['title' => '', 'description' => 'The account name.', 'type' => 'string', 'example' => 'icloudtest'],
'RelationAccountId' => ['title' => '', 'description' => 'The deduction account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1990699401005016'],
'RelationAccountName' => ['title' => '', 'description' => 'The deduction account name.', 'type' => 'string', 'example' => 'icloudtest'],
'BillingCommodity' => [
'title' => '',
'description' => 'The deducted commodity.',
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The property code.', 'type' => 'string', 'example' => 'snapshot', 'title' => ''],
'Name' => ['description' => 'The property name.', 'type' => 'string', 'example' => '云服务器ECS-快照', 'title' => ''],
],
'example' => '',
],
'BillingCommodityCode' => ['title' => '', 'description' => 'The deducted commodity code.', 'type' => 'string', 'example' => 'snapshot'],
'BillingCommodityName' => ['title' => '', 'description' => 'The deducted commodity name.', 'type' => 'string', 'example' => '云服务器ECS-快照'],
'BillingInstanceId' => ['title' => '', 'description' => 'The deduction instance.', 'type' => 'string', 'example' => 'cn-beijing'],
'BillingStartTime' => ['title' => '', 'description' => 'The effective period.', 'type' => 'integer', 'format' => 'int64', 'example' => '1679032800000'],
'BillingEndTime' => ['title' => '', 'description' => 'The expiration time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1679036400000'],
'MeasureBeforeDeductViewValue' => ['title' => '', 'description' => 'The display value of the metering amount before deduction.', 'type' => 'string', 'example' => '16.103515'],
'MeasureBeforeDeductViewUnit' => ['title' => '', 'description' => 'The display unit of the metering amount before deduction.', 'type' => 'string', 'example' => 'GB'],
'MeasureAfterDeductViewValue' => ['title' => '', 'description' => 'The display value of the metering amount after deduction.', 'type' => 'string', 'example' => '0'],
'MeasureAfterDeductViewUnit' => ['title' => '', 'description' => 'The display unit of the metering amount after deduction.', 'type' => 'string', 'example' => 'Byte'],
'MeasureDeductedViewValue' => ['title' => '', 'description' => 'The display value of the deducted metering amount.', 'type' => 'string', 'example' => '16.103515'],
'MeasureDeductedViewUnit' => ['title' => '', 'description' => 'The display unit of the deducted metering amount.', 'type' => 'string', 'example' => 'GB'],
'Template' => [
'title' => '',
'description' => 'The template.',
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The property code.', 'type' => 'string', 'example' => 'FPT_ossbag********', 'title' => ''],
'Name' => ['description' => 'The property name.', 'type' => 'string', 'example' => '标准存储包', 'title' => ''],
],
'example' => '',
],
'TemplateCode' => ['title' => '', 'description' => 'The template code.', 'type' => 'string', 'example' => 'FPT_ossbag********'],
'TemplateName' => ['title' => '', 'description' => 'The template name.', 'type' => 'string', 'example' => '标准存储包'."\n"],
'Factor' => ['title' => '', 'description' => 'The deduction factor.', 'type' => 'string', 'example' => '1'],
'BillingPriceField' => [
'title' => '',
'description' => 'The deduction billable item.',
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The property code.', 'type' => 'string', 'example' => 'Storage', 'title' => ''],
'Name' => ['description' => 'The property name.', 'type' => 'string', 'example' => '零折使用容量', 'title' => ''],
],
'example' => '',
],
'BillingPriceFieldCode' => ['title' => '', 'description' => 'The deduction billable item code.', 'type' => 'string', 'example' => 'Storage'],
'BillingPriceFieldName' => ['title' => '', 'description' => 'The deduction billable item name.', 'type' => 'string', 'example' => '零折使用容量'],
'InstanceBelongAccountId' => ['title' => '', 'description' => 'The ID of the account to which the instance belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '1990699401005016'],
'InstanceBelongAccountName' => ['title' => '', 'description' => 'The name of the account to which the instance belongs.', 'type' => 'string', 'example' => 'icloudtest'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DF58589C-A06C-4224-8615-7797E6474FA3', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotAuthorized', 'errorMessage' => 'You are not authorized to call the API operation. Please check whether RAM user has the permission or check whether ownerId and callerId have been given the appropriate permission.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified request lacks essential parameters.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query resource plan deduction records',
'summary' => 'Queries resource plan deduction records.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 8,\\n \\"Data\\": [\\n {\\n \\"AccountId\\": 1929817951466001,\\n \\"InstanceId\\": \\"OSSBAG-cn-****s\\",\\n \\"CapacityType\\": {\\n \\"Code\\": \\"absolute\\",\\n \\"Name\\": \\"总量恒定型\\"\\n },\\n \\"CapacityTypeCode\\": \\"absolute\\",\\n \\"CapacityTypeName\\": \\"总量恒定型\\",\\n \\"CycleType\\": {\\n \\"Code\\": \\"hour\\",\\n \\"Name\\": \\"小时\\"\\n },\\n \\"CycleTypeCode\\": \\"hour\\",\\n \\"CycleTypeName\\": \\"小时\\",\\n \\"CapacityBeforeDeductViewValue\\": \\"40.000000\\",\\n \\"CapacityBeforeDeductViewUnit\\": \\"GB\\",\\n \\"CapacityDeductedViewValue\\": \\"16.103515\\",\\n \\"CapacityDeductedViewUnit\\": \\"GB\\",\\n \\"CapacityAfterDeductViewValue\\": \\"23.896484\\",\\n \\"CapacityAfterDeductViewUnit\\": \\"GB\\",\\n \\"DeductTime\\": 1679039572000,\\n \\"Commodity\\": {\\n \\"Code\\": \\"ossbag\\",\\n \\"Name\\": \\"对象存储OSS资源包(包月)\\"\\n },\\n \\"CommodityCode\\": \\"ossbag\\",\\n \\"CommodityName\\": \\"对象存储OSS资源包(包月)\\",\\n \\"Product\\": {\\n \\"Code\\": \\"oss\\",\\n \\"Name\\": \\"对象存储\\"\\n },\\n \\"ProductCode\\": \\"oss\\",\\n \\"ProductName\\": \\"对象存储\\",\\n \\"AccountName\\": \\"icloudtest\\",\\n \\"RelationAccountId\\": 1990699401005016,\\n \\"RelationAccountName\\": \\"icloudtest\\",\\n \\"BillingCommodity\\": {\\n \\"Code\\": \\"snapshot\\",\\n \\"Name\\": \\"云服务器ECS-快照\\"\\n },\\n \\"BillingCommodityCode\\": \\"snapshot\\",\\n \\"BillingCommodityName\\": \\"云服务器ECS-快照\\",\\n \\"BillingInstanceId\\": \\"cn-beijing\\",\\n \\"BillingStartTime\\": 1679032800000,\\n \\"BillingEndTime\\": 1679036400000,\\n \\"MeasureBeforeDeductViewValue\\": \\"16.103515\\",\\n \\"MeasureBeforeDeductViewUnit\\": \\"GB\\",\\n \\"MeasureAfterDeductViewValue\\": \\"0\\",\\n \\"MeasureAfterDeductViewUnit\\": \\"Byte\\",\\n \\"MeasureDeductedViewValue\\": \\"16.103515\\",\\n \\"MeasureDeductedViewUnit\\": \\"GB\\",\\n \\"Template\\": {\\n \\"Code\\": \\"FPT_ossbag********\\",\\n \\"Name\\": \\"标准存储包\\"\\n },\\n \\"TemplateCode\\": \\"FPT_ossbag********\\",\\n \\"TemplateName\\": \\"标准存储包\\\\n\\",\\n \\"Factor\\": \\"1\\",\\n \\"BillingPriceField\\": {\\n \\"Code\\": \\"Storage\\",\\n \\"Name\\": \\"零折使用容量\\"\\n },\\n \\"BillingPriceFieldCode\\": \\"Storage\\",\\n \\"BillingPriceFieldName\\": \\"零折使用容量\\",\\n \\"InstanceBelongAccountId\\": 1990699401005016,\\n \\"InstanceBelongAccountName\\": \\"icloudtest\\"\\n }\\n ],\\n \\"RequestId\\": \\"DF58589C-A06C-4224-8615-7797E6474FA3\\"\\n}","type":"json"}]',
],
'DescribeFrInstances' => [
'methods' => ['get', 'post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'Group',
'in' => 'formData',
'schema' => [
'title' => '',
'description' => 'The resource dimension to query.',
'enumValueTitles' => ['oss_arc' => 'OSS region-independent reserved capacity.', 'ecsRi' => 'reserved instance.', 'cu' => 'storage capacity unit (SCU)', 'oss_rc' => 'OSS reserved capacity.', 'fr' => 'resource plan.', 'polardb' => 'PolarDB computing package.'],
'type' => 'string',
'required' => false,
'example' => 'cu',
],
],
[
'name' => 'Status',
'in' => 'formData',
'schema' => [
'title' => '',
'description' => 'The resource status.',
'enumValueTitles' => ['valid' => 'valid.', 'invalid' => 'invalid.', 'exhaust' => 'exhausted.'],
'type' => 'string',
'required' => false,
'example' => 'valid',
],
],
[
'name' => 'PageNum',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '50', 'example' => '20'],
],
[
'name' => 'StartTime',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The start time.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1678939035000'],
],
[
'name' => 'EndTime',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The end time.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1710604800000'],
],
[
'name' => 'InstanceId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The instance name.', 'type' => 'string', 'required' => false, 'example' => 'alb_cubag*******'],
],
[
'name' => 'ProductCode',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The product code.', 'type' => 'string', 'required' => false, 'example' => 'slb'],
],
[
'name' => 'CommodityCode',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The commodity code.', 'type' => 'string', 'required' => false, 'example' => 'slb_albcubag_dp_cn'],
],
[
'name' => 'TemplateCode',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The template code.', 'type' => 'string', 'required' => false, 'example' => 'slb_albcubag*******'],
],
[
'name' => 'Spec',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The specification.', 'type' => 'string', 'required' => false, 'example' => '*'],
],
[
'name' => 'CapacityType',
'in' => 'formData',
'schema' => [
'title' => '',
'description' => 'The capacity type.',
'enumValueTitles' => ['periodMonthlyShift' => 'dynamic monthly cycle.', 'deadlineAcc' => 'total decremental.', 'absolute' => 'total constant.', 'periodMonthlyAcc' => 'natural monthly cycle.'],
'type' => 'string',
'required' => false,
'example' => 'deadlineAcc',
],
],
[
'name' => 'CycleType',
'in' => 'formData',
'schema' => ['description' => 'The cycle type.', 'type' => 'string', 'required' => false, 'example' => 'dynamicMonth', 'title' => ''],
],
[
'name' => 'SortField',
'in' => 'formData',
'schema' => [
'title' => '',
'description' => 'The sort field.',
'enumValueTitles' => ['startTime' => 'start time.', 'endTime' => 'end time.'],
'type' => 'string',
'required' => false,
'example' => 'startTime',
],
],
[
'name' => 'SortRule',
'in' => 'formData',
'schema' => [
'title' => '',
'description' => 'The sorting rule.',
'enumValueTitles' => ['asc' => 'ascending.', 'desc' => 'descending.'],
'type' => 'string',
'required' => false,
'example' => 'asc',
],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The enterprise and account list. If this parameter is empty, the current account is queried.',
'type' => 'array',
'items' => [
'description' => 'The enterprise and account list. If this parameter is empty, the current account is queried.',
'type' => 'object',
'properties' => [
'EcId' => ['title' => '', 'description' => 'The enterprise entity ID.', 'type' => 'string', 'required' => true, 'example' => '1004064243473974'],
'AccountIds' => [
'title' => '',
'description' => 'The list of accounts to access. If this parameter is empty, all accounts under the current entity ID are selected.',
'type' => 'array',
'items' => ['description' => 'The ID of a member account.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1990699401005016', 'title' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The primary marketplace ID. If this parameter is empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684202000018'],
],
[
'name' => 'InstanceTag',
'in' => 'query',
'schema' => ['description' => 'The instance label value of the resource plan.', 'type' => 'string', 'required' => false, 'example' => 'FR-***', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPageResult<InstanceOverviewResponse>',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4', 'title' => ''],
'CurrentPage' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Data' => [
'title' => '',
'description' => 'The data list.',
'type' => 'array',
'items' => [
'description' => 'The returned data.',
'type' => 'object',
'properties' => [
'AccountId' => ['title' => '', 'description' => 'The account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1990699401005016'],
'Product' => [
'title' => '',
'description' => 'The product.',
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The property code.', 'type' => 'string', 'example' => 'slb', 'title' => ''],
'Name' => ['description' => 'The property name.', 'type' => 'string', 'example' => '负载均衡', 'title' => ''],
],
'example' => '',
],
'ProductName' => ['title' => '', 'description' => 'The product name.', 'type' => 'string', 'example' => '性能测试'],
'ProductCode' => ['title' => '', 'description' => 'The product code.', 'type' => 'string', 'example' => 'pts'],
'Commodity' => [
'title' => '',
'description' => 'The commodity.',
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The property code.', 'type' => 'string', 'example' => 'slb_albcubag_dp_cn', 'title' => ''],
'Name' => ['description' => 'The property name.', 'type' => 'string', 'example' => 'ALB资源包', 'title' => ''],
],
'example' => '',
],
'CommodityCode' => ['title' => '', 'description' => 'The commodity code.', 'type' => 'string', 'example' => 'pts'],
'CommodityName' => ['title' => '', 'description' => 'The commodity name.', 'type' => 'string', 'example' => '性能测试'],
'InstanceId' => ['title' => '', 'description' => 'The instance name.', 'type' => 'string', 'example' => 'alb_cubag*******'],
'Spec' => ['title' => '', 'description' => 'The specification.', 'type' => 'string', 'example' => '*'],
'Status' => [
'title' => '',
'description' => 'The resource status.',
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The property code.', 'type' => 'string', 'example' => 'valid', 'title' => ''],
'Name' => ['description' => 'The property name.', 'type' => 'string', 'example' => '有效', 'title' => ''],
],
'example' => '',
],
'StatusCode' => ['title' => '', 'description' => 'The resource status code.', 'type' => 'string', 'example' => 'valid'],
'StatusName' => ['title' => '', 'description' => 'The resource status name.', 'type' => 'string', 'example' => '有效'],
'CapacityType' => [
'title' => '',
'description' => 'The capacity type.',
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The property code.', 'type' => 'string', 'example' => 'deadlineAcc', 'title' => ''],
'Name' => ['description' => 'The property name.', 'type' => 'string', 'example' => '总量递减型', 'title' => ''],
],
'example' => '',
],
'CapacityTypeCode' => ['title' => '', 'description' => 'The capacity type code.', 'type' => 'string', 'example' => 'deadlineAcc'],
'CapacitiyTypeName' => ['title' => '', 'description' => 'The capacity type name.', 'type' => 'string', 'example' => '总量递减型'],
'CycleType' => [
'title' => '',
'description' => 'The commitment cycle.',
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The commitment cycle code.', 'type' => 'string', 'example' => 'hour', 'title' => ''],
'Name' => ['description' => 'The commitment cycle name.', 'type' => 'string', 'example' => '小时', 'title' => ''],
],
'example' => '',
],
'CycleTypeCode' => ['description' => 'The commitment cycle code.', 'type' => 'string', 'example' => 'hour', 'title' => ''],
'CycleTypeName' => ['title' => '', 'description' => 'The commitment cycle name.', 'type' => 'string', 'example' => '小时'],
'InitCapacityViewValue' => ['title' => '', 'description' => 'The initial capacity display value.', 'type' => 'string', 'example' => '1000.000000'],
'InitCapacityViewUnit' => ['title' => '', 'description' => 'The initial capacity display unit.', 'type' => 'string', 'example' => 'CU'],
'CurrCapacityViewValue' => ['title' => '', 'description' => 'The current capacity display value.', 'type' => 'string', 'example' => '1000.000000'],
'CurrCapacityViewUnit' => ['title' => '', 'description' => 'The current capacity display unit.', 'type' => 'string', 'example' => 'CU'],
'PeriodCapacityViewValue' => ['title' => '', 'description' => 'The period capacity display value.', 'type' => 'string', 'example' => '1000.000000'],
'PeriodCapacityViewUnit' => ['title' => '', 'description' => 'The period capacity display unit.', 'type' => 'string', 'example' => 'CU'],
'PeriodTime' => ['title' => '', 'description' => 'The period time.', 'type' => 'string', 'example' => 'hour'],
'PurchaseTime' => ['title' => '', 'description' => 'The purchase time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1678939036000'],
'StartTime' => ['title' => '', 'description' => 'The effective period.', 'type' => 'integer', 'format' => 'int64', 'example' => '1678939035000'],
'EndTime' => ['title' => '', 'description' => 'The expiration time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1710604800000'],
'Region' => ['title' => '', 'description' => 'The region.', 'type' => 'string', 'example' => '*'],
'Template' => [
'title' => '',
'description' => 'The template.',
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The property code.', 'type' => 'string', 'example' => 'alb_cubag*******', 'title' => ''],
'Name' => ['description' => 'The property name.', 'type' => 'string', 'example' => '中国内地区域', 'title' => ''],
],
'example' => '',
],
'TemplateCode' => ['title' => '', 'description' => 'The template code.', 'type' => 'string', 'example' => 'FPT_armsappbag_deadlineAcc_bj'],
'TemplateName' => ['title' => '', 'description' => 'The template name.', 'type' => 'string', 'example' => 'new_test'],
'AccountName' => ['title' => '', 'description' => 'The account name.', 'type' => 'string', 'example' => 'icloudtest'],
'EnableRenew' => ['title' => '', 'description' => 'Indicates whether the resource plan can be renewed.', 'type' => 'boolean', 'example' => 'false'],
'EnableUpgrade' => ['title' => '', 'description' => 'Indicates whether the resource plan can be upgraded.', 'type' => 'boolean', 'example' => 'false'],
'EnableExchange' => ['title' => '', 'description' => 'Indicates whether the resource plan can be exchanged.', 'type' => 'boolean', 'example' => 'false'],
'ExchangeCommodityCode' => ['title' => '', 'description' => 'The commodity code for exchange.', 'type' => 'string', 'example' => 'null'],
'RegionName' => ['description' => 'The region name.', 'type' => 'string', 'example' => 'cn-qingdao', 'title' => ''],
'DeductRegions' => [
'description' => 'The list of deductible regions.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['description' => 'The deductible region.', 'type' => 'string', 'example' => '北京', 'title' => ''],
'Code' => ['description' => 'The deductible region code.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'InitCapacityBaseValue' => ['description' => 'The initial capacity baseline value.', 'type' => 'string', 'example' => '1000.000000', 'title' => ''],
'InitCapacityBaseUnit' => ['description' => 'The initial capacity baseline unit.', 'type' => 'string', 'example' => 'CU', 'title' => ''],
'CurrCapacityBaseValue' => ['description' => 'The current capacity baseline value.', 'type' => 'string', 'example' => '1000.000000', 'title' => ''],
'CurrCapacityBaseUnit' => ['description' => 'The current capacity baseline unit.', 'type' => 'string', 'example' => 'CU', 'title' => ''],
'periodCapacityBaseValue' => ['description' => 'The period capacity baseline value.', 'type' => 'string', 'example' => '1000.000000', 'title' => ''],
'periodCapacityBaseUnit' => ['description' => 'The period capacity baseline unit.', 'type' => 'string', 'example' => 'CU', 'title' => ''],
],
'title' => '',
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified request lacks essential parameters.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'You are not authorized to call the API operation. Please check whether RAM user has the permission or check whether ownerId and callerId have been given the appropriate permission.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query resource plan instances',
'summary' => 'Queries resource plan instances.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 1,\\n \\"Data\\": [\\n {\\n \\"AccountId\\": 1990699401005016,\\n \\"Product\\": {\\n \\"Code\\": \\"slb\\",\\n \\"Name\\": \\"负载均衡\\"\\n },\\n \\"ProductName\\": \\"性能测试\\",\\n \\"ProductCode\\": \\"pts\\",\\n \\"Commodity\\": {\\n \\"Code\\": \\"slb_albcubag_dp_cn\\",\\n \\"Name\\": \\"ALB资源包\\"\\n },\\n \\"CommodityCode\\": \\"pts\\",\\n \\"CommodityName\\": \\"性能测试\\",\\n \\"InstanceId\\": \\"alb_cubag*******\\",\\n \\"Spec\\": \\"*\\",\\n \\"Status\\": {\\n \\"Code\\": \\"valid\\",\\n \\"Name\\": \\"有效\\"\\n },\\n \\"StatusCode\\": \\"valid\\",\\n \\"StatusName\\": \\"有效\\",\\n \\"CapacityType\\": {\\n \\"Code\\": \\"deadlineAcc\\",\\n \\"Name\\": \\"总量递减型\\"\\n },\\n \\"CapacityTypeCode\\": \\"deadlineAcc\\",\\n \\"CapacitiyTypeName\\": \\"总量递减型\\",\\n \\"CycleType\\": {\\n \\"Code\\": \\"hour\\",\\n \\"Name\\": \\"小时\\"\\n },\\n \\"CycleTypeCode\\": \\"hour\\",\\n \\"CycleTypeName\\": \\"小时\\",\\n \\"InitCapacityViewValue\\": \\"1000.000000\\",\\n \\"InitCapacityViewUnit\\": \\"CU\\",\\n \\"CurrCapacityViewValue\\": \\"1000.000000\\",\\n \\"CurrCapacityViewUnit\\": \\"CU\\",\\n \\"PeriodCapacityViewValue\\": \\"1000.000000\\",\\n \\"PeriodCapacityViewUnit\\": \\"CU\\",\\n \\"PeriodTime\\": \\"hour\\",\\n \\"PurchaseTime\\": 1678939036000,\\n \\"StartTime\\": 1678939035000,\\n \\"EndTime\\": 1710604800000,\\n \\"Region\\": \\"*\\",\\n \\"Template\\": {\\n \\"Code\\": \\"alb_cubag*******\\",\\n \\"Name\\": \\"中国内地区域\\"\\n },\\n \\"TemplateCode\\": \\"FPT_armsappbag_deadlineAcc_bj\\",\\n \\"TemplateName\\": \\"new_test\\",\\n \\"AccountName\\": \\"icloudtest\\",\\n \\"EnableRenew\\": false,\\n \\"EnableUpgrade\\": false,\\n \\"EnableExchange\\": false,\\n \\"ExchangeCommodityCode\\": \\"null\\",\\n \\"RegionName\\": \\"cn-qingdao\\",\\n \\"DeductRegions\\": [\\n {\\n \\"Name\\": \\"北京\\",\\n \\"Code\\": \\"cn-beijing\\"\\n }\\n ],\\n \\"InitCapacityBaseValue\\": \\"1000.000000\\",\\n \\"InitCapacityBaseUnit\\": \\"CU\\",\\n \\"CurrCapacityBaseValue\\": \\"1000.000000\\",\\n \\"CurrCapacityBaseUnit\\": \\"CU\\",\\n \\"periodCapacityBaseValue\\": \\"1000.000000\\",\\n \\"periodCapacityBaseUnit\\": \\"CU\\"\\n }\\n ]\\n}","type":"json"}]',
],
'GetFundAccountAvailableAmount' => [
'summary' => 'Query available balance of fund account',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'FundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Account ID. If not specified, the account ID owned by the current account (owner) is used by default.', 'type' => 'string', 'example' => '12332112', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<BillingAccountAvailableAmountResponse>',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'Response metadata', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => 'F96A2D13-7509-5DF9-A60E-E7E3A3CB68E8', 'title' => ''],
'FundAccountId' => ['title' => '', 'description' => 'Account ID', 'type' => 'string', 'example' => '12332112'],
'FundAccountOwnerAccountId' => ['title' => '', 'description' => 'Account ID of the fund account owner', 'type' => 'string', 'example' => '1344312434'],
'FundAccountStatus' => ['title' => '', 'description' => 'Account status', 'type' => 'string', 'example' => 'valid'],
'FundAccountType' => ['title' => '', 'description' => 'Fund account type. Valid values:'."\n"
.'DIRECT_USER: Alibaba Cloud direct customer account.'."\n"
.'RESELLER_QUOTA: ecosystem account.', 'type' => 'string', 'example' => 'REDIRECT_USER'],
'AvailableAmount' => ['title' => '', 'description' => 'Available amount', 'type' => 'string', 'example' => '100'],
'CashAmount' => ['title' => '', 'description' => 'Cash balance', 'type' => 'string', 'example' => '50'],
'NegativeBillAmount' => ['title' => '', 'description' => 'Negative bill amount', 'type' => 'string', 'example' => '0'],
'CreditAmount' => ['title' => '', 'description' => 'Credit quota', 'type' => 'string', 'example' => '100'],
'AvailableCreditAmount' => ['title' => '', 'description' => 'Available credit amount', 'type' => 'string', 'example' => '50'],
'CreditRefundAmount' => ['title' => '', 'description' => 'Credit refund balance', 'type' => 'string', 'example' => '0'],
'UnclearedAmount' => ['title' => '', 'description' => 'Uncleared amount (current month uncleared + historical months uncleared)', 'type' => 'string', 'example' => '50'],
'CurrentMonthUnclearedAmount' => ['title' => '', 'description' => 'Current month uncleared amount', 'type' => 'string', 'example' => '20'],
'HistoryMonthUnclearedAmount' => ['title' => '', 'description' => 'Historical months uncleared amount', 'type' => 'string', 'example' => '30'],
'BankAcceptanceAmount' => ['title' => '', 'description' => 'Bank acceptance bill amount', 'type' => 'string', 'example' => '0'],
'ExtendLedgerList' => [
'title' => '',
'description' => 'Extended ledger list',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Currency' => ['title' => '', 'description' => 'Currency of the ledger amount, such as CNY and USD.', 'type' => 'string', 'example' => 'CNY'],
'LedgerName' => ['title' => '', 'description' => 'Ledger name', 'type' => 'string', 'example' => '应付对冲账本'],
'OriginalAmount' => ['title' => '', 'description' => 'Ledger balance', 'type' => 'string', 'example' => '50'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'QuotaAmount' => ['title' => '', 'description' => 'Ecosystem end customer quota', 'type' => 'string', 'example' => '20'],
'QuotaConsumedAmount' => ['title' => '', 'description' => 'Consumed quota of ecosystem end customer', 'type' => 'string', 'example' => '10'],
'Currency' => ['title' => '', 'description' => 'Currency', 'type' => 'string', 'example' => 'CNY'],
'OriginalCashAmountList' => [
'title' => '',
'description' => 'Original cash ledger list. International site users may have cash ledgers in multiple currencies.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Amount' => ['title' => '', 'description' => 'Amount', 'type' => 'string', 'example' => '10'],
'Currency' => ['title' => '', 'description' => 'Currency', 'type' => 'string', 'example' => 'USD'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'CreditUser' => ['title' => '', 'description' => 'Indicates whether credit control is enabled', 'type' => 'boolean', 'default' => 'false', 'example' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'RequestTimeout', 'errorMessage' => 'Request timed out. Please try again later.', 'description' => 'Request timed out, please try again later'],
['errorCode' => 'AccountNoQueryPricePermission', 'errorMessage' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.', 'description' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.'],
['errorCode' => 'SubAccountNoQueryPricePermission', 'errorMessage' => 'This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice.', 'description' => 'This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice.'],
['errorCode' => 'NoFundAccountPermission', 'errorMessage' => 'The caller does not have permission for the specified fund account.', 'description' => 'The current login account does not have permission to operate the specified account.'],
['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this action.', 'description' => 'You do not have permissions to perform the operation.'],
['errorCode' => 'InnerAccountNoQueryPricePermission', 'errorMessage' => 'In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group\'s cloud account. More questions please refer to the document.', 'description' => 'Due to data security and compliance requirements, the Group\'s cloud account amount information permissions are controlled. Please understand the inconvenience caused. You can view it through HCRM/cloud platform. For details, please refer to: https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2 。'],
['errorCode' => 'InnerSubAccountNoQueryPricePermission', 'errorMessage' => 'In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group\'s cloud account.', 'description' => 'Due to data security and compliance requirements, the Group\'s cloud account amount information permissions are controlled. Please understand the inconvenience caused. You can view it through HCRM/cloud platform. For details, please refer to: https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2 。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"F96A2D13-7509-5DF9-A60E-E7E3A3CB68E8\\",\\n \\"FundAccountId\\": \\"12332112\\",\\n \\"FundAccountOwnerAccountId\\": \\"1344312434\\",\\n \\"FundAccountStatus\\": \\"valid\\",\\n \\"FundAccountType\\": \\"REDIRECT_USER\\",\\n \\"AvailableAmount\\": \\"100\\",\\n \\"CashAmount\\": \\"50\\",\\n \\"NegativeBillAmount\\": \\"0\\",\\n \\"CreditAmount\\": \\"100\\",\\n \\"AvailableCreditAmount\\": \\"50\\",\\n \\"CreditRefundAmount\\": \\"0\\",\\n \\"UnclearedAmount\\": \\"50\\",\\n \\"CurrentMonthUnclearedAmount\\": \\"20\\",\\n \\"HistoryMonthUnclearedAmount\\": \\"30\\",\\n \\"BankAcceptanceAmount\\": \\"0\\",\\n \\"ExtendLedgerList\\": [\\n {\\n \\"Currency\\": \\"CNY\\",\\n \\"LedgerName\\": \\"应付对冲账本\\",\\n \\"OriginalAmount\\": \\"50\\"\\n }\\n ],\\n \\"QuotaAmount\\": \\"20\\",\\n \\"QuotaConsumedAmount\\": \\"10\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"OriginalCashAmountList\\": [\\n {\\n \\"Amount\\": \\"10\\",\\n \\"Currency\\": \\"USD\\"\\n }\\n ],\\n \\"CreditUser\\": false\\n}","type":"json"}]',
'title' => 'Query available balance of fund account',
'changeSet' => [
['createdAt' => '2025-06-18T03:29:27.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2025-05-09T08:54:13.000Z', 'description' => 'Error codes changed'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeBillingAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetFundAccountCanAllocateCreditAmount' => [
'summary' => 'Query allocatable credit limit of a fund account',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'FundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Fund account ID. If not specified, the account owned by the current account is used by default.', 'type' => 'integer', 'format' => 'int64', 'example' => '1233231', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<UserCreditLimitResponse>',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'Response structure metadata.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CC706AAC-75A6-55B5-9AB7-7D171C6C7655', 'title' => ''],
'Ecid' => ['title' => '', 'description' => 'The enterprise entity ID.', 'type' => 'string', 'example' => '2032123221'],
'EcidCreditAmount' => ['title' => '', 'description' => 'The enterprise credit quota.', 'type' => 'string', 'example' => '1000'],
'EcidAllocatedCreditAmount' => ['title' => '', 'description' => 'The allocated credit limit of the enterprise.', 'type' => 'string', 'example' => '300'],
'MaxCanAllocateCreditAmount' => ['title' => '', 'description' => 'The maximum allocatable credit limit of the current account.', 'type' => 'string', 'example' => '1500'],
'MinCanAllocateCreditAmount' => ['title' => '', 'description' => 'The minimum allocatable credit limit of the current account.', 'type' => 'string', 'example' => '200'],
'Site' => ['title' => '', 'description' => 'The site.', 'type' => 'string', 'example' => '26842'],
'Nbid' => ['title' => '', 'description' => 'The primary marketplace.', 'type' => 'string', 'example' => '2684210001'],
'FundAccountId' => ['title' => '', 'description' => 'The account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '12332112'],
'FundAccountOwnerAccountId' => ['title' => '', 'description' => 'The Alibaba Cloud account ID of the account owner.', 'type' => 'integer', 'format' => 'int64', 'example' => '123433121'],
'FundAccountName' => ['title' => '', 'description' => 'The account name.', 'type' => 'string', 'example' => '云某的名称'],
'FundAccountEcid' => ['title' => '', 'description' => 'The account ECID.', 'type' => 'string', 'example' => '202321232'],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'RequestTimeout', 'errorMessage' => 'Request timed out. Please try again later.', 'description' => 'Request timed out, please try again later'],
['errorCode' => 'NoFundAccountPermission', 'errorMessage' => 'The caller does not have permission for the specified fund account.', 'description' => 'The current login account does not have permission to operate the specified account.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"CC706AAC-75A6-55B5-9AB7-7D171C6C7655\\",\\n \\"Ecid\\": \\"2032123221\\",\\n \\"EcidCreditAmount\\": \\"1000\\",\\n \\"EcidAllocatedCreditAmount\\": \\"300\\",\\n \\"MaxCanAllocateCreditAmount\\": \\"1500\\",\\n \\"MinCanAllocateCreditAmount\\": \\"200\\",\\n \\"Site\\": \\"26842\\",\\n \\"Nbid\\": \\"2684210001\\",\\n \\"FundAccountId\\": 12332112,\\n \\"FundAccountOwnerAccountId\\": 123433121,\\n \\"FundAccountName\\": \\"云某的名称\\",\\n \\"FundAccountEcid\\": \\"202321232\\"\\n}","type":"json"}]',
'title' => 'Query allocatable credit limit of a fund account',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'efc:ModifyCredit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetFundAccountCanRecycleAmount' => [
'summary' => 'Queries the reclaimable amount of a fund account.',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RecycleFromFundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The ID of the source account (payer account) from which funds are reclaimed. If not specified, the account ID owned by the current account is used by default.', 'type' => 'string', 'example' => '122321223', 'required' => false],
],
[
'name' => 'Currency',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The currency.', 'type' => 'string', 'required' => true, 'example' => 'CNY'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<RecycleBillingAccountQueryResult>',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'The metadata of the response struct.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4', 'title' => ''],
'RecycleFromFundAccountId' => ['title' => '', 'description' => 'The ID of the source account from which funds are reclaimed.', 'type' => 'string', 'example' => '1232122132'],
'TransferAmount' => ['title' => '', 'description' => 'The transfer ledger balance.', 'type' => 'string', 'example' => '200'],
'AvailableAmount' => ['title' => '', 'description' => 'The available balance of the account from which funds are reclaimed.', 'type' => 'string', 'example' => '300'],
'RecycleToFundAccountList' => [
'title' => '',
'description' => 'The list of accounts to which funds can be reclaimed.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'FundAccountOwnerAccountId' => ['title' => '', 'description' => 'The account ID that owns the target account to which funds can be reclaimed.', 'type' => 'string', 'example' => '183221321'],
'MaxRecyclableAmount' => ['title' => '', 'description' => 'The maximum reclaimable amount.', 'type' => 'string', 'example' => '120'],
'FundAccountId' => ['title' => '', 'description' => 'The ID of the target account to which funds can be reclaimed.', 'type' => 'string', 'example' => '122323121'],
'FundAccountName' => ['title' => '', 'description' => 'The name of the target account to which funds can be reclaimed.', 'type' => 'string', 'example' => '云某的账户'],
'OriginalTransferRemainAmount' => ['title' => '', 'description' => 'The remaining transfer amount that can be reclaimed through the original transfer path.', 'type' => 'string', 'example' => '120'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'Currency' => ['title' => '', 'description' => 'The currency.', 'type' => 'string', 'example' => 'CNY'],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'RequestTimeout', 'errorMessage' => 'Request timed out. Please try again later.', 'description' => 'Request timed out, please try again later'],
['errorCode' => 'NoFundAccountPermission', 'errorMessage' => 'The caller does not have permission for the specified fund account.', 'description' => 'The current login account does not have permission to operate the specified account.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"RecycleFromFundAccountId\\": \\"1232122132\\",\\n \\"TransferAmount\\": \\"200\\",\\n \\"AvailableAmount\\": \\"300\\",\\n \\"RecycleToFundAccountList\\": [\\n {\\n \\"FundAccountOwnerAccountId\\": \\"183221321\\",\\n \\"MaxRecyclableAmount\\": \\"120\\",\\n \\"FundAccountId\\": \\"122323121\\",\\n \\"FundAccountName\\": \\"云某的账户\\",\\n \\"OriginalTransferRemainAmount\\": \\"120\\"\\n }\\n ],\\n \\"Currency\\": \\"CNY\\"\\n}","type":"json"}]',
'title' => 'Query reclaimable amount of a fund account',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeBillingAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetFundAccountCanTransferAmount' => [
'summary' => 'Query the transferable amount of a fund account',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'FundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Transfer source account ID. If not specified, the account ID owned by the current account is used by default.', 'type' => 'string', 'example' => '123212', 'required' => false],
],
[
'name' => 'Currency',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Currency', 'type' => 'string', 'required' => true, 'example' => 'CNY'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<TransferBillingAccount>',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'Response metadata', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4', 'title' => ''],
'MaxTransferableAmount' => ['title' => '', 'description' => 'Transferable amount', 'type' => 'string', 'example' => '100'],
'CashAmount' => ['title' => '', 'description' => 'Cash ledger balance', 'type' => 'string', 'example' => '500'],
'TransferAmount' => ['title' => '', 'description' => 'Transfer ledger balance', 'type' => 'string', 'example' => '100'],
'AvailableAmount' => ['title' => '', 'description' => 'Available amount', 'type' => 'string', 'example' => '100'],
'Currency' => ['title' => '', 'description' => 'Currency', 'type' => 'string', 'example' => 'CNY'],
'Site' => ['title' => '', 'description' => 'Site', 'type' => 'string', 'example' => '26842'],
'Nbid' => ['title' => '', 'description' => 'Primary marketplace', 'type' => 'string', 'example' => '2684210001'],
'FundAccountId' => ['title' => '', 'description' => 'Account ID', 'type' => 'integer', 'format' => 'int64', 'example' => '12332112'],
'FundAccountOwnerAccountId' => ['title' => '', 'description' => 'Alibaba Cloud account ID of the fund account owner', 'type' => 'integer', 'format' => 'int64', 'example' => '154738212323'],
'FundAccountName' => ['title' => '', 'description' => 'Account name', 'type' => 'string', 'example' => '云某的账户'],
'FundAccountEcid' => ['title' => '', 'description' => 'Enterprise entity ID of the account owner', 'type' => 'string', 'example' => '2032121324'],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'RequestTimeout', 'errorMessage' => 'Request timed out. Please try again later.', 'description' => 'Request timed out, please try again later'],
['errorCode' => 'NoFundAccountPermission', 'errorMessage' => 'The caller does not have permission for the specified fund account.', 'description' => 'The current login account does not have permission to operate the specified account.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"MaxTransferableAmount\\": \\"100\\",\\n \\"CashAmount\\": \\"500\\",\\n \\"TransferAmount\\": \\"100\\",\\n \\"AvailableAmount\\": \\"100\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"Site\\": \\"26842\\",\\n \\"Nbid\\": \\"2684210001\\",\\n \\"FundAccountId\\": 12332112,\\n \\"FundAccountOwnerAccountId\\": 154738212323,\\n \\"FundAccountName\\": \\"云某的账户\\",\\n \\"FundAccountEcid\\": \\"2032121324\\"\\n}","type":"json"}]',
'title' => 'Query the transferable amount of a fund account',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeBillingAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetFundAccountCanWithdrawAmount' => [
'summary' => 'Query Withdrawable Amount of Fund Account',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'FundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Fund account ID. If not specified, the account ID owned by the current account (owner) is used by default.', 'type' => 'integer', 'format' => 'int64', 'example' => '123212232', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<WithdrawInfoDTO>',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'Response structure metadata', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => 'DF58589C-A06C-4224-8615-7797E6474FA3', 'title' => ''],
'CashAmount' => ['title' => '', 'description' => 'Cash balance', 'type' => 'string', 'example' => '1000'],
'CanWithdrawAmount' => ['title' => '', 'description' => 'Withdrawable amount = Cash balance - Transfer ledger amount - (Outstanding invoice amount + Historical months unsettled amount + Current month unsettled amount - Transfer ledger amount) - Pay-as-you-go reserved amount', 'type' => 'string', 'example' => '500'],
'CanOriginalWithdrawAmount' => ['title' => '', 'description' => 'Amount withdrawable via original payment method', 'type' => 'string', 'example' => '400'],
'CannotOriginalWithdrawAmount' => ['title' => '', 'description' => 'Amount not withdrawable via original payment method', 'type' => 'string', 'example' => '100'],
'PayAsYouGoReversedAmount' => ['title' => '', 'description' => 'Pay-as-you-go reserved amount', 'type' => 'string', 'example' => '100'],
'TransferAmount' => ['title' => '', 'description' => 'Transfer amount', 'type' => 'string', 'example' => '0'],
'CreditMemoAmount' => ['title' => '', 'description' => 'Outstanding invoice amount', 'type' => 'string', 'example' => '100'],
'CurrentMonthUnclearedAmount' => ['title' => '', 'description' => 'Current month unsettled amount', 'type' => 'string', 'example' => '200'],
'HistoryMonthUnclearedAmount' => ['title' => '', 'description' => 'Historical months unsettled amount', 'type' => 'string', 'example' => '100'],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NoFundAccountPermission', 'errorMessage' => 'The caller does not have permission for the specified fund account.', 'description' => 'The current login account does not have permission to operate the specified account.'],
['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this action.', 'description' => 'You do not have permissions to perform the operation.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"DF58589C-A06C-4224-8615-7797E6474FA3\\",\\n \\"CashAmount\\": \\"1000\\",\\n \\"CanWithdrawAmount\\": \\"500\\",\\n \\"CanOriginalWithdrawAmount\\": \\"400\\",\\n \\"CannotOriginalWithdrawAmount\\": \\"100\\",\\n \\"PayAsYouGoReversedAmount\\": \\"100\\",\\n \\"TransferAmount\\": \\"0\\",\\n \\"CreditMemoAmount\\": \\"100\\",\\n \\"CurrentMonthUnclearedAmount\\": \\"200\\",\\n \\"HistoryMonthUnclearedAmount\\": \\"100\\"\\n}","type":"json"}]',
'title' => 'Query Withdrawable Amount of Fund Account',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetFundAccountLowAvailableAmountAlarm' => [
'summary' => 'Query Fund Account Low Balance Alert',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'FundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Fund account ID. If not specified, the account ID owned by the current account is used by default.', 'type' => 'integer', 'format' => 'int64', 'example' => '12332112', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<BalanceAlarmDTO>',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'Response structure metadata', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4', 'title' => ''],
'ThresholdAmount' => ['title' => '', 'description' => 'Alert threshold', 'type' => 'string', 'example' => '100'],
'AlarmEnabled' => ['title' => '', 'description' => 'Whether the alert is enabled', 'type' => 'boolean', 'default' => 'false', 'example' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NoFundAccountPermission', 'errorMessage' => 'The caller does not have permission for the specified fund account.', 'description' => 'The current login account does not have permission to operate the specified account.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"ThresholdAmount\\": \\"100\\",\\n \\"AlarmEnabled\\": false\\n}","type":"json"}]',
'title' => 'Query Fund Account Low Balance Alert',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeAlarm',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetFundAccountTransactionDetails' => [
'summary' => 'Query fund account transaction details',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'FundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Fund account ID. If not specified, the account ID owned by the current account (owner) is used by default.', 'type' => 'integer', 'format' => 'int64', 'example' => '123221232', 'required' => false],
],
[
'name' => 'TransactionNumber',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Transaction serial number', 'type' => 'integer', 'format' => 'int64', 'example' => '543231231', 'required' => false],
],
[
'name' => 'BillNumber',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Transaction order number', 'type' => 'string', 'example' => '2023212312321', 'required' => false],
],
[
'name' => 'ChannelTransactionNumber',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Transaction channel serial number', 'type' => 'string', 'example' => '20250312334312322', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Query start timestamp (milliseconds)', 'type' => 'integer', 'format' => 'int64', 'example' => '1735664461000', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Query end timestamp (milliseconds)', 'type' => 'integer', 'format' => 'int64', 'example' => '1735664561000', 'required' => false],
],
[
'name' => 'TransactionDirection',
'in' => 'formData',
'schema' => [
'title' => '',
'description' => 'Transaction direction: in/out (fund inflow/outflow)',
'type' => 'string',
'example' => 'IN',
'enum' => ['IN', 'OUT'],
'required' => false,
],
],
[
'name' => 'TransactionType',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Transaction type. If a transaction type is specified, only results of that type are returned. If the specified type does not exist, the result is empty. If not specified, all types are returned by default.'."\n"
."\n"
.'Top-up: CHARGE.'."\n"
."\n"
.'Withdrawal: WITHDRAW.'."\n"
."\n"
.'Refund: REFUND.'."\n"
."\n"
.'Payment: PAY.'."\n"
."\n"
.'Transfer: TRANSFER.'."\n"
."\n"
.'Adjustment: ADJUST.'."\n"
."\n"
.'Order expiration refund: PAY_FAILED.', 'type' => 'string', 'example' => 'CHARGE', 'required' => false],
],
[
'name' => 'TransactionTypeList',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'Transaction type list. Supports querying with multiple parameters.',
'type' => 'array',
'items' => ['description' => 'Transaction type', 'type' => 'string', 'required' => false, 'example' => 'CHARGE', 'title' => ''],
'required' => false,
'example' => '',
],
],
[
'name' => 'TransactionChannelList',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'Transaction channel. If specified, the query filters by transaction channel. If not specified, all channels are queried by default.'."\n"
."\n"
.'User balance: ACCT_CASH.'."\n"
."\n"
.'Alipay: ALIPAY.'."\n"
."\n"
.'Alipay Zhifutong: ALIPAY_ZHIFUTONG.'."\n"
."\n"
.'Offline remittance: OFFLINE_REMIT.'."\n"
."\n"
.'Credit control quota refund: REFUND.'."\n"
."\n"
.'Online banking: UNION_PAY_BANK.'."\n"
."\n"
.'Credit card: CREDIT_CARD. (International site only)'."\n"
."\n"
.'PayPal: PAYPAL. (International site only)'."\n"
."\n\n",
'type' => 'array',
'items' => ['description' => 'Fund type', 'type' => 'string', 'required' => false, 'example' => 'ACCT_CASH', 'title' => ''],
'required' => false,
'example' => '',
],
],
[
'name' => 'CurrentPage',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Current page number', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'default' => '1', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Page size (maximum 200)', 'type' => 'integer', 'format' => 'int32', 'maximum' => '200', 'example' => '20', 'default' => '20', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPageResult<FundFlowResponse>',
'type' => 'object',
'properties' => [
'CurrentPage' => ['title' => '', 'description' => 'Current page number', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'default' => '1'],
'PageSize' => ['title' => '', 'description' => 'Page size', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'default' => '20'],
'TotalCount' => ['title' => '', 'description' => 'Total number of records', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
'Data' => [
'title' => '',
'description' => 'Data list',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Site' => ['title' => '', 'description' => 'Site', 'type' => 'string', 'example' => '26842'],
'TransactionType' => ['title' => '', 'description' => 'Transaction type. If a transaction type is specified, only results of that type are returned. If the specified type does not exist, the result is empty. If not specified, all types are returned by default.'."\n"
."\n"
.'Top-up: CHARGE.'."\n"
."\n"
.'Withdrawal: WITHDRAW.'."\n"
."\n"
.'Refund: REFUND.'."\n"
."\n"
.'Payment: PAY.'."\n"
."\n"
.'Transfer: TRANSFER.'."\n"
."\n"
.'Adjustment: ADJUST.'."\n"
."\n"
.'Order expiration refund: PAY_FAILED.'."\n", 'type' => 'string', 'example' => 'CHARGE'],
'ChannelTransactionNumber' => ['title' => '', 'description' => 'External transaction serial number', 'type' => 'string', 'example' => '20244389232'],
'TransactionNumber' => ['title' => '', 'description' => 'Transaction serial number', 'type' => 'integer', 'format' => 'int64', 'example' => '5423121'],
'FundAccountId' => ['title' => '', 'description' => 'Account ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1232121'],
'Nbid' => ['title' => '', 'description' => 'Primary marketplace', 'type' => 'string', 'example' => '2684210001'],
'TransactionAccount' => ['title' => '', 'description' => 'Corresponding transaction account, such as the Alipay top-up account or the counterparty account for transfers.', 'type' => 'string', 'example' => '186****3975'],
'BillNumber' => ['title' => '', 'description' => 'Order number or bill number', 'type' => 'string', 'example' => '2323203243'],
'Remark' => ['title' => '', 'description' => 'Remarks', 'type' => 'string', 'example' => '订单备注'],
'TransactionDirection' => ['title' => '', 'description' => 'Transaction direction: in/out (income/expenditure)', 'type' => 'string', 'example' => 'IN'],
'FundType' => ['title' => '', 'description' => 'Fund type', 'type' => 'string', 'example' => 'ACCT_BOOK'],
'Currency' => ['title' => '', 'description' => 'Transaction amount currency', 'type' => 'string', 'example' => 'USD'],
'TransactionChannel' => ['title' => '', 'description' => 'Transaction channel. If specified, the query filters by transaction channel. If not specified, all channels are queried by default.'."\n"
."\n"
.'User balance: ACCT_CASH.'."\n"
."\n"
.'Alipay: ALIPAY.'."\n"
."\n"
.'Alipay Zhifutong: ALIPAY_ZHIFUTONG.'."\n"
."\n"
.'Offline remittance: OFFLINE_REMIT.'."\n"
."\n"
.'Credit control quota refund: REFUND.'."\n"
."\n"
.'Online banking: UNION_PAY_BANK.'."\n"
."\n"
.'Credit card: CREDIT_CARD. (International site only)'."\n"
."\n"
.'PayPal: PAYPAL. (International site only)'."\n"
."\n\n", 'type' => 'string', 'example' => 'ALIPAY'],
'FundAccountName' => ['title' => '', 'description' => 'Account name', 'type' => 'string', 'example' => '云某的名称'],
'TransactionAmount' => ['title' => '', 'description' => 'Transaction amount', 'type' => 'string', 'example' => '10'],
'TransactionTime' => ['title' => '', 'description' => 'Formatted transaction time string', 'type' => 'string', 'example' => '2024-12-01 12:00:00'],
'FundAccountEcid' => ['title' => '', 'description' => 'Enterprise entity ID', 'type' => 'string', 'example' => '23473943'],
'FundAccountOwnerAccountId' => ['title' => '', 'description' => 'Alibaba Cloud account ID of the account owner', 'type' => 'integer', 'format' => 'int64', 'example' => '32343231'],
'Balance' => ['title' => '', 'description' => 'Balance after the operation', 'type' => 'string', 'example' => '5'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'Response structure metadata', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'MaxOffsetLimit', 'errorMessage' => 'Exceeded maximum page turning limit.', 'description' => 'Maximum page turning limit exceeded, please view after exporting'],
['errorCode' => 'RequestTimeout', 'errorMessage' => 'Request timed out. Please try again later.', 'description' => 'Request timed out, please try again later'],
['errorCode' => 'NoFundAccountPermission', 'errorMessage' => 'The caller does not have permission for the specified fund account.', 'description' => 'The current login account does not have permission to operate the specified account.'],
['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this action.', 'description' => 'You do not have permissions to perform the operation.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 30,\\n \\"Data\\": [\\n {\\n \\"Site\\": \\"26842\\",\\n \\"TransactionType\\": \\"CHARGE\\",\\n \\"ChannelTransactionNumber\\": \\"20244389232\\",\\n \\"TransactionNumber\\": 5423121,\\n \\"FundAccountId\\": 1232121,\\n \\"Nbid\\": \\"2684210001\\",\\n \\"TransactionAccount\\": \\"186****3975\\",\\n \\"BillNumber\\": \\"2323203243\\",\\n \\"Remark\\": \\"订单备注\\",\\n \\"TransactionDirection\\": \\"IN\\",\\n \\"FundType\\": \\"ACCT_BOOK\\",\\n \\"Currency\\": \\"USD\\",\\n \\"TransactionChannel\\": \\"ALIPAY\\",\\n \\"FundAccountName\\": \\"云某的名称\\",\\n \\"TransactionAmount\\": \\"10\\",\\n \\"TransactionTime\\": \\"2024-12-01 12:00:00\\",\\n \\"FundAccountEcid\\": \\"23473943\\",\\n \\"FundAccountOwnerAccountId\\": 32343231,\\n \\"Balance\\": \\"5\\"\\n }\\n ],\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\"\\n}","type":"json"}]',
'title' => 'Query fund account transaction details',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeFund',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetOrderDetail' => [
'summary' => 'Queries the details of a specific order for a user or a reseller\'s customer.',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'OrderId',
'in' => 'query',
'schema' => ['description' => 'The order ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '233501558440169', 'title' => ''],
],
[
'name' => 'MemberUid',
'in' => 'query',
'schema' => ['description' => 'The UID of the enterprise multi-account member managed by the current account. Leave this parameter empty if this scenario does not apply.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1715322405372273', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => 'Success', 'title' => ''],
'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Successful!', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F', 'title' => ''],
'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'Data' => [
'description' => 'The returned data.',
'type' => 'object',
'properties' => [
'HostName' => ['description' => 'The hostname.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'PageNum' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
'TotalCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '400', 'title' => ''],
'OrderList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Order' => [
'description' => 'The list of orders.',
'type' => 'array',
'items' => [
'description' => 'The order details.',
'type' => 'object',
'properties' => [
'Operator' => ['description' => 'The ID of the RAM user who operated the order. This field is empty if not applicable.', 'type' => 'string', 'example' => '322315', 'title' => ''],
'AfterTaxAmount' => ['description' => 'The after-tax amount.', 'type' => 'string', 'example' => '0', 'title' => ''],
'Config' => ['description' => 'The configuration of the main product.', 'type' => 'string', 'example' => 'DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]', 'title' => ''],
'SubOrderId' => ['description' => 'The sub-order ID.', 'type' => 'string', 'example' => '234343', 'title' => ''],
'PaymentTime' => ['description' => 'The payment time of the order.', 'type' => 'string', 'example' => '2017-06-08T09:41:30Z', 'title' => ''],
'Tax' => ['description' => 'The tax.', 'type' => 'string', 'example' => '0', 'title' => ''],
'PaymentCurrency' => ['description' => 'The payment currency. CNY: Chinese Yuan. USD: US Dollar. JPY: Japanese Yen.', 'type' => 'string', 'example' => 'CNY', 'title' => ''],
'UsageEndTime' => ['description' => 'The service end time.', 'type' => 'string', 'example' => '2117-06-08T16:00:00Z', 'title' => ''],
'SubscriptionType' => ['description' => 'The subscription type. Valid values:'."\n"
.'- Subscription: subscription.'."\n"
.'- PayAsYouGo: pay-as-you-go.', 'type' => 'string', 'title' => '', 'example' => 'Subscription'],
'PretaxGrossAmount' => ['description' => 'The original amount.', 'type' => 'string', 'example' => '0', 'title' => ''],
'OrderType' => ['description' => 'The order type. Valid values:'."\n"
.'- New: new purchase.'."\n"
.'- Renew: renewal.'."\n"
.'- Upgrade: upgrade.'."\n"
.'- TempUpgrade: temporary upgrade.'."\n"
.'- Downgrade: downgrade.'."\n"
.'- Refund: refund.'."\n"
.'- Convert: payment type conversion.'."\n"
.'- ResizeDisk: disk resizing.'."\n"
.'- CompensatoryRenew: compensatory renewal.'."\n"
.'- IncreaseUpgrade: bandwidth upgrade.'."\n"
.'- Exchange: exchange.'."\n"
.'- ChangeOperatingSystem: operating system change.', 'type' => 'string', 'example' => 'new', 'title' => ''],
'Currency' => ['description' => 'The currency. Valid values:'."\n"
.'- CNY.'."\n"
.'- USD.'."\n"
.'- JPY.', 'type' => 'string', 'example' => 'CNY', 'title' => ''],
'CommodityCode' => ['description' => 'The commodity code.', 'type' => 'string', 'example' => 'rds', 'title' => ''],
'UsageStartTime' => ['description' => 'The service start time.', 'type' => 'string', 'example' => '2017-06-08T16:00:00Z', 'title' => ''],
'OriginalConfig' => ['description' => 'The non-standardized module information.', 'type' => 'string', 'example' => 'DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]', 'title' => ''],
'InstanceIds' => ['description' => 'The list of instance IDs.', 'type' => 'string', 'example' => '["rm-bp1a2vsr018313t6o"]', 'title' => ''],
'PaymentStatus' => ['description' => 'The payment status. For non-refund orders, valid values:'."\n"
.'- Unpaid: unpaid.'."\n"
.'- Paid: paid.'."\n"
.'- Cancelled: cancelled.', 'type' => 'string', 'example' => 'paid', 'title' => ''],
'ExtendInfos' => [
'description' => 'The extended information of the order.',
'type' => 'object',
'additionalProperties' => ['description' => 'The extended information of the order.'."\n"
.'- IsAutoRenew=true indicates an auto-renewal order. This parameter is not returned for non-auto-renewal orders.'."\n"
.'- CouponNo: the coupon number.'."\n"
.'- DeductedByCoupons: the amount deducted by coupons, in the unit of yuan.'."\n"
.'- DiscountAmount: the discount amount, in the unit of yuan.', 'type' => 'string', 'example' => '{"IsAutoRenew":"true","DiscountAmount":"100.98","DeductedByCoupons":"98.88","CouponNo":"319170900877"}', 'title' => ''],
'title' => '',
'example' => '',
],
'ProductCode' => ['description' => 'The product code.', 'type' => 'string', 'example' => 'rds', 'title' => ''],
'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2017-06-08T09:41:30Z', 'title' => ''],
'ProductType' => ['description' => 'The product type.', 'type' => 'string', 'example' => 'rds', 'title' => ''],
'Quantity' => ['description' => 'The quantity.', 'type' => 'string', 'example' => '3', 'title' => ''],
'RelatedOrderId' => ['description' => 'The related order ID.', 'type' => 'string', 'example' => '241559391310332', 'title' => ''],
'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '241559391310333', 'title' => ''],
'BillModuleConfig' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'billModuleConfig' => [
'description' => 'The billing configuration information.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'BillModuleProperties' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'billModuleProperties' => [
'description' => 'The values of the configuration.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Value' => ['description' => 'The property value of the configuration.', 'type' => 'string', 'example' => 'cloud_ssd', 'title' => ''],
'AttrApiCode' => ['description' => 'The property code of the configuration.', 'type' => 'string', 'example' => 'cloud_ssd', 'title' => ''],
'ModuleApiCode' => ['description' => 'The configuration API code.', 'type' => 'string', 'example' => 'cloud_ssd', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'ApiCode' => ['description' => 'The API code.', 'type' => 'string', 'example' => 'datadisk', 'title' => ''],
'Code' => ['description' => 'The configuration code.', 'type' => 'string', 'example' => 'datadisk', 'title' => ''],
'Name' => ['description' => 'The component name.', 'type' => 'string', 'example' => '数据盘', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'OriginalModuleConfig' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'originalModuleConfig' => [
'description' => 'The specific configuration information.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ModuleProperties' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'moduleProperties' => [
'description' => 'The list of configuration properties.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Value' => ['description' => 'The configuration property value.', 'type' => 'string', 'example' => 'cloud_efficiency', 'title' => ''],
'Code' => ['description' => 'The configuration property code.', 'type' => 'string', 'example' => 'cloud_efficiency', 'title' => ''],
'Name' => ['description' => 'The configuration property name.', 'type' => 'string', 'example' => '高效云盘', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'Code' => ['description' => 'The configuration code.', 'type' => 'string', 'example' => 'systemdisk', 'title' => ''],
'Name' => ['description' => 'The configuration name.', 'type' => 'string', 'example' => '系统盘', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'OrderSubType' => ['description' => 'The sub-order type:'."\n"
.'- productsuborder: product sub-order.'."\n"
.'- refundsuborder: refund sub-order.', 'type' => 'string', 'example' => 'productsuborder', 'title' => ''],
'PretaxAmount' => ['description' => 'The payable amount of the order.', 'type' => 'string', 'example' => '0', 'title' => ''],
'Region' => ['description' => 'The region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
'PretaxAmountLocal' => ['description' => 'The amount in local currency.', 'type' => 'string', 'example' => '0', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => 'Invalid user identity.'],
],
[
['errorCode' => 'InvalidCaller', 'errorMessage' => 'The caller\'s primary account is invalid or does not have permission to query enterprise member account information.', 'description' => 'The caller\'s primary account is invalid or does not have permission to query enterprise member account information.'],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"HostName\\": \\"test\\",\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 400,\\n \\"OrderList\\": {\\n \\"Order\\": [\\n {\\n \\"Operator\\": \\"322315\\",\\n \\"AfterTaxAmount\\": \\"0\\",\\n \\"Config\\": \\"DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]\\",\\n \\"SubOrderId\\": \\"234343\\",\\n \\"PaymentTime\\": \\"2017-06-08T09:41:30Z\\",\\n \\"Tax\\": \\"0\\",\\n \\"PaymentCurrency\\": \\"CNY\\",\\n \\"UsageEndTime\\": \\"2117-06-08T16:00:00Z\\",\\n \\"SubscriptionType\\": \\"Subscription\\",\\n \\"PretaxGrossAmount\\": \\"0\\",\\n \\"OrderType\\": \\"new\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"CommodityCode\\": \\"rds\\",\\n \\"UsageStartTime\\": \\"2017-06-08T16:00:00Z\\",\\n \\"OriginalConfig\\": \\"DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]\\",\\n \\"InstanceIds\\": \\"[\\\\\\"rm-bp1a2vsr018313t6o\\\\\\"]\\",\\n \\"PaymentStatus\\": \\"paid\\",\\n \\"ExtendInfos\\": {\\n \\"key\\": \\"{\\\\\\"IsAutoRenew\\\\\\":\\\\\\"true\\\\\\",\\\\\\"DiscountAmount\\\\\\":\\\\\\"100.98\\\\\\",\\\\\\"DeductedByCoupons\\\\\\":\\\\\\"98.88\\\\\\",\\\\\\"CouponNo\\\\\\":\\\\\\"319170900877\\\\\\"}\\"\\n },\\n \\"ProductCode\\": \\"rds\\",\\n \\"CreateTime\\": \\"2017-06-08T09:41:30Z\\",\\n \\"ProductType\\": \\"rds\\",\\n \\"Quantity\\": \\"3\\",\\n \\"RelatedOrderId\\": \\"241559391310332\\",\\n \\"OrderId\\": \\"241559391310333\\",\\n \\"BillModuleConfig\\": {\\n \\"billModuleConfig\\": [\\n {\\n \\"BillModuleProperties\\": {\\n \\"billModuleProperties\\": [\\n {\\n \\"Value\\": \\"cloud_ssd\\",\\n \\"AttrApiCode\\": \\"cloud_ssd\\",\\n \\"ModuleApiCode\\": \\"cloud_ssd\\"\\n }\\n ]\\n },\\n \\"ApiCode\\": \\"datadisk\\",\\n \\"Code\\": \\"datadisk\\",\\n \\"Name\\": \\"数据盘\\"\\n }\\n ]\\n },\\n \\"OriginalModuleConfig\\": {\\n \\"originalModuleConfig\\": [\\n {\\n \\"ModuleProperties\\": {\\n \\"moduleProperties\\": [\\n {\\n \\"Value\\": \\"cloud_efficiency\\",\\n \\"Code\\": \\"cloud_efficiency\\",\\n \\"Name\\": \\"高效云盘\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"systemdisk\\",\\n \\"Name\\": \\"系统盘\\"\\n }\\n ]\\n },\\n \\"OrderSubType\\": \\"productsuborder\\",\\n \\"PretaxAmount\\": \\"0\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"PretaxAmountLocal\\": \\"0\\"\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
'title' => 'Query Order Details',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeOrderDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetOrders' => [
'summary' => 'Queries the order list of a user or a reseller customer. By default, this operation queries orders created within the most recent hour. To query orders over a longer time range, set the CreateTimeStart and CreateTimeEnd parameters.',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'CreateTimeEnd',
'in' => 'query',
'schema' => ['description' => 'The end of the order creation time range. If not specified, orders created within the most recent hour are queried. Format: YYYY-MM-ddTHH:mm:ssZ. Time zone: UTC.', 'type' => 'string', 'required' => false, 'example' => '2016-05-23T12:00:00Z', 'title' => ''],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => 'The product code.', 'type' => 'string', 'required' => false, 'example' => 'rds', 'title' => ''],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => 'The product type.', 'type' => 'string', 'required' => false, 'example' => 'rds', 'title' => ''],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => 'The subscription type. Valid values:'."\n"
.'- Subscription: upfront.'."\n"
.'- PayAsYouGo: pay-as-you-go.', 'type' => 'string', 'required' => false, 'example' => 'Subscription', 'title' => ''],
],
[
'name' => 'OrderType',
'in' => 'query',
'schema' => ['description' => 'The order type. Valid values:'."\n"
.'- New: new purchase.'."\n"
.'- Renew: renewal.'."\n"
.'- Upgrade: upgrade.'."\n"
.'- TempUpgrade: temporary upgrade.'."\n"
.'- Downgrade: downgrade.'."\n"
.'- Refund: refund.'."\n"
.'- Convert: billing method conversion.'."\n"
.'- ResizeDisk: cloud disk resizing.'."\n"
.'- CompensatoryRenew: compensatory renewal.'."\n"
.'- IncreaseUpgrade: bandwidth upgrade.'."\n"
.'- Exchange: exchange.'."\n"
.'- ChangeOperatingSystem: operating system change.', 'type' => 'string', 'required' => false, 'example' => 'New', 'title' => ''],
],
[
'name' => 'PaymentStatus',
'in' => 'query',
'schema' => ['description' => 'The payment status. For non-refund orders, valid values:'."\n"
.'- Unpaid: unpaid.'."\n"
.'- Paid: paid.'."\n"
.'- Cancelled: canceled.'."\n"
."\n"
.'> For refund orders, set this parameter to NULL.', 'type' => 'string', 'required' => false, 'example' => 'Paid', 'title' => ''],
],
[
'name' => 'CreateTimeStart',
'in' => 'query',
'schema' => ['description' => 'The start of the order creation time range. If not specified, orders created within the most recent hour are queried. Format: YYYY-MM-ddTHH:mm:ssZ. Time zone: UTC.', 'type' => 'string', 'required' => false, 'example' => '2016-05-23T13:00:00Z', 'title' => ''],
],
[
'name' => 'MemberUid',
'in' => 'query',
'schema' => ['description' => 'The UID of a member account in an enterprise with multiple member accounts. Leave this parameter empty if this scenario does not apply.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1779628988149763', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => 'Success', 'title' => ''],
'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Successful!', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4', 'title' => ''],
'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'Data' => [
'description' => 'The returned data.',
'type' => 'object',
'properties' => [
'HostName' => ['description' => 'The hostname.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'PageNum' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'PageSize' => ['description' => 'The number of entries per page. A maximum of 20 entries per page is recommended. A larger number may cause a timeout.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
'TotalCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'OrderList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Order' => [
'description' => 'The order list.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'AfterTaxAmount' => ['description' => 'The after-tax amount.', 'type' => 'string', 'example' => '66', 'title' => ''],
'ProductCode' => ['description' => 'The primary product code.', 'type' => 'string', 'example' => 'rds', 'title' => ''],
'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2017-06-08T09:41:30Z', 'title' => ''],
'ProductType' => ['description' => 'The primary product type.', 'type' => 'string', 'example' => 'rds', 'title' => ''],
'RelatedOrderId' => ['description' => 'The related order ID.', 'type' => 'string', 'example' => '234535345345342', 'title' => ''],
'PaymentCurrency' => ['description' => 'The payment currency. CNY: Chinese Yuan. USD: US Dollar. JPY: Japanese Yen.', 'type' => 'string', 'example' => 'CNY', 'title' => ''],
'PaymentTime' => ['description' => 'The payment time.', 'type' => 'string', 'example' => '2017-06-08T09:41:30Z', 'title' => ''],
'Tax' => ['description' => 'The tax amount. This parameter is used only on the China site (Chinese mainland).', 'type' => 'string', 'example' => '1', 'title' => ''],
'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '237258627070169', 'title' => ''],
'SubscriptionType' => ['description' => 'The subscription type. Valid values:'."\n"
.'- Subscription: upfront.'."\n"
.'- PayAsYouGo: pay-as-you-go.', 'type' => 'string', 'example' => 'Subscription', 'title' => ''],
'PretaxGrossAmount' => ['description' => 'The original amount.', 'type' => 'string', 'example' => '0', 'title' => ''],
'OrderType' => ['description' => 'The order type. Valid values:'."\n"
.'- New: new purchase.'."\n"
.'- Renew: renewal.'."\n"
.'- Upgrade: upgrade.'."\n"
.'- TempUpgrade: temporary upgrade.'."\n"
.'- Downgrade: downgrade.'."\n"
.'- Refund: refund.'."\n"
.'- Convert: billing method conversion.'."\n"
.'- ResizeDisk: cloud disk resizing.'."\n"
.'- CompensatoryRenew: compensatory renewal.'."\n"
.'- IncreaseUpgrade: bandwidth upgrade.'."\n"
.'- Exchange: exchange.'."\n"
.'- ChangeOperatingSystem: operating system change.', 'type' => 'string', 'example' => 'New', 'title' => ''],
'PretaxAmount' => ['description' => 'The payable amount of the order.', 'type' => 'string', 'example' => '0', 'title' => ''],
'Currency' => ['description' => 'The currency.', 'type' => 'string', 'example' => 'CNY', 'title' => ''],
'CommodityCode' => ['description' => 'The commodity code.', 'type' => 'string', 'example' => 'rds', 'title' => ''],
'PaymentStatus' => ['description' => 'The payment status. For non-refund orders, valid values:'."\n"
.'- Unpaid: unpaid.'."\n"
.'- Paid: paid.'."\n"
.'- Cancelled: canceled.'."\n"
."\n"
.'> For refund orders, set this parameter to NULL.', 'type' => 'string', 'example' => 'Paid', 'title' => ''],
'PretaxAmountLocal' => ['description' => 'The amount in local currency.', 'type' => 'string', 'example' => '0', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => 'Invalid user identity.'],
],
[
['errorCode' => 'InvalidCaller', 'errorMessage' => 'The caller\'s primary account is invalid or does not have permission to query enterprise member account information.', 'description' => 'The caller\'s primary account is invalid or does not have permission to query enterprise member account information.'],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"HostName\\": \\"test\\",\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 1,\\n \\"OrderList\\": {\\n \\"Order\\": [\\n {\\n \\"AfterTaxAmount\\": \\"66\\",\\n \\"ProductCode\\": \\"rds\\",\\n \\"CreateTime\\": \\"2017-06-08T09:41:30Z\\",\\n \\"ProductType\\": \\"rds\\",\\n \\"RelatedOrderId\\": \\"234535345345342\\",\\n \\"PaymentCurrency\\": \\"CNY\\",\\n \\"PaymentTime\\": \\"2017-06-08T09:41:30Z\\",\\n \\"Tax\\": \\"1\\",\\n \\"OrderId\\": \\"237258627070169\\",\\n \\"SubscriptionType\\": \\"Subscription\\",\\n \\"PretaxGrossAmount\\": \\"0\\",\\n \\"OrderType\\": \\"New\\",\\n \\"PretaxAmount\\": \\"0\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"CommodityCode\\": \\"rds\\",\\n \\"PaymentStatus\\": \\"Paid\\",\\n \\"PretaxAmountLocal\\": \\"0\\"\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
'title' => 'Query order list',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryOrders',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ListFundAccount' => [
'summary' => 'Query fund account list',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'QueryOnlyManage',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Specifies whether to query only the managed account list. Default value: false.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => ''],
],
[
'name' => 'QueryOnlyInUse',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Specifies whether to query only the active account list. Default value: false.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => ''],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Level-1 marketplace ID. If this parameter is left empty, the ID of the marketplace to which the current user belongs is used by default.', 'type' => 'string', 'example' => '2084210001', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiListResult<BillingAccount>',
'type' => 'object',
'properties' => [
'Data' => [
'title' => '',
'description' => 'Data list',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Site' => ['title' => '', 'description' => 'Site', 'type' => 'string', 'example' => '26842'],
'FundAccountOwnerAccountId' => ['title' => '', 'description' => 'Account ID of the fund account owner', 'type' => 'string', 'example' => '132123211'],
'FundAccountType' => ['title' => '', 'description' => 'Account type.'."\n"
.'DIRECT_USER: Alibaba Cloud direct customer account.'."\n"
.'RESELLER_QUOTA: ecosystem account.', 'type' => 'string', 'example' => 'DIRECT_USER'],
'FundAccountId' => ['title' => '', 'description' => 'Account ID', 'type' => 'string', 'example' => '1022231'],
'FundAccountName' => ['title' => '', 'description' => 'Account name', 'type' => 'string', 'example' => '云某的账户'],
'Permissions' => [
'title' => '',
'description' => 'Set of account permissions that the user has.'."\n"
.'using: use.'."\n"
.'manage: manage.'."\n"
.'owner: own.',
'type' => 'array',
'items' => ['description' => 'Permission', 'type' => 'string', 'example' => 'owner', 'title' => ''],
'example' => '',
],
'Nbid' => ['title' => '', 'description' => 'Level-1 marketplace', 'type' => 'string', 'example' => '2684210001'],
'FundAccountAdminAccountName' => ['title' => '', 'description' => 'Name of the MA user associated with the account', 'type' => 'string', 'example' => '云某的账户'],
'CreateDate' => ['title' => '', 'description' => 'Account creation time', 'type' => 'string', 'example' => '2024-12-30 12:00:00'],
'FundAccountAdminAccountId' => ['title' => '', 'description' => 'Account ID of the MA user associated with the account', 'type' => 'string', 'example' => '1232121'],
'FundAccountStatus' => ['title' => '', 'description' => 'Account status.'."\n"
.'VALID: valid.'."\n"
.'FROZEN: frozen.'."\n"
.'CLOSED: closed.', 'type' => 'string', 'example' => 'VALID'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'Response metadata', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'RequestTimeout', 'errorMessage' => 'Request timed out. Please try again later.', 'description' => 'Request timed out, please try again later'],
['errorCode' => 'AccountNotExist', 'errorMessage' => 'Account does not exist.', 'description' => 'Account does not exist'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Site\\": \\"26842\\",\\n \\"FundAccountOwnerAccountId\\": \\"132123211\\",\\n \\"FundAccountType\\": \\"DIRECT_USER\\",\\n \\"FundAccountId\\": \\"1022231\\",\\n \\"FundAccountName\\": \\"云某的账户\\",\\n \\"Permissions\\": [\\n \\"owner\\"\\n ],\\n \\"Nbid\\": \\"2684210001\\",\\n \\"FundAccountAdminAccountName\\": \\"云某的账户\\",\\n \\"CreateDate\\": \\"2024-12-30 12:00:00\\",\\n \\"FundAccountAdminAccountId\\": \\"1232121\\",\\n \\"FundAccountStatus\\": \\"VALID\\"\\n }\\n ],\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\"\\n}","type":"json"}]',
'title' => 'Query fund account list',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeBillingAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ListFundAccountPayRelation' => [
'summary' => 'Query payment relationships of an account',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'FundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Fund account ID.', 'type' => 'string', 'required' => true, 'example' => '12323123'],
],
[
'name' => 'Status',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The relationship status.'."\n"
.'valid: valid.'."\n"
.'expired: invalid.', 'type' => 'string', 'example' => 'valid', 'required' => false],
],
[
'name' => 'CurrentPage',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'default' => '1', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'default' => '20', 'required' => false],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The primary marketplace ID. If this parameter is left empty, the ID of the marketplace to which the current user belongs is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPageResult<BillingAccountPayRelation>',
'type' => 'object',
'properties' => [
'CurrentPage' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'default' => '1'],
'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'default' => '20'],
'TotalCount' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
'Data' => [
'title' => '',
'description' => 'The data list.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'FundAccountId' => ['title' => '', 'description' => 'The account ID.', 'type' => 'string', 'example' => '123231213'],
'FundAccountOwnerAccountId' => ['title' => '', 'description' => 'The Alibaba Cloud account ID of the account owner.', 'type' => 'string', 'example' => '312328912'],
'AccountId' => ['title' => '', 'description' => 'The account ID of the user associated with the payment relationship, that is, the account that uses this account for payment.', 'type' => 'string', 'example' => '32812132121'],
'AccountName' => ['title' => '', 'description' => 'The user name.', 'type' => 'string', 'example' => '云某的名称'],
'EffectiveTime' => ['title' => '', 'description' => 'The time when the payment relationship takes effect.', 'type' => 'string', 'example' => '2024-12-01 12:00:10'],
'IneffectiveTime' => ['title' => '', 'description' => 'The time when the payment relationship expires.', 'type' => 'string', 'example' => '2025-01-01 12:12:12'],
'Status' => ['title' => '', 'description' => 'The relationship status.'."\n"
.'valid: valid.'."\n"
.'expired: invalid.', 'type' => 'string', 'example' => 'valid'],
'RelationType' => ['title' => '', 'description' => 'The relationship type, which can be collection relationship or payment relationship.', 'type' => 'string', 'example' => 'PAYMENT'],
'OperatorType' => ['title' => '', 'description' => 'The type of the authorized operator.'."\n"
.'aliyun_pk: user.'."\n"
.'system: Alibaba Cloud system.', 'type' => 'string', 'example' => 'aliyun_pk'],
'OperatorNo' => ['title' => '', 'description' => 'The authorized operator.'."\n"
.'When the operator type is aliyun_pk, operatorNo is the Alibaba Cloud account ID.', 'type' => 'string', 'example' => '1232343423'],
'OperatorName' => ['title' => '', 'description' => 'The operator name.'."\n"
.'When the operator type is aliyun_pk, the operator name is the Alibaba Cloud nickname.'."\n"
.'When the operator type is system, the operator name is "Alibaba Cloud assistant".', 'type' => 'string', 'example' => '云某的名称'],
'Site' => ['title' => '', 'description' => 'The site.', 'type' => 'string', 'example' => '26842'],
'Nbid' => ['title' => '', 'description' => 'The primary marketplace.', 'type' => 'string', 'example' => '2684210001'],
'Ecid' => ['title' => '', 'description' => 'The enterprise entity ID of the user associated with the payment relationship.', 'type' => 'string', 'example' => '213231232'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'The response metadata.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'RequestTimeout', 'errorMessage' => 'Request timed out. Please try again later.', 'description' => 'Request timed out, please try again later'],
['errorCode' => 'NoFundAccountPermission', 'errorMessage' => 'The caller does not have permission for the specified fund account.', 'description' => 'The current login account does not have permission to operate the specified account.'],
['errorCode' => 'AccountNotExist', 'errorMessage' => 'Account does not exist.', 'description' => 'Account does not exist'],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
],
],
'title' => 'Query payment relationships of an account',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeBillingAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 50,\\n \\"Data\\": [\\n {\\n \\"FundAccountId\\": \\"123231213\\",\\n \\"FundAccountOwnerAccountId\\": \\"312328912\\",\\n \\"AccountId\\": \\"32812132121\\",\\n \\"AccountName\\": \\"云某的名称\\",\\n \\"EffectiveTime\\": \\"2024-12-01 12:00:10\\",\\n \\"IneffectiveTime\\": \\"2025-01-01 12:12:12\\",\\n \\"Status\\": \\"valid\\",\\n \\"RelationType\\": \\"PAYMENT\\",\\n \\"OperatorType\\": \\"aliyun_pk\\",\\n \\"OperatorNo\\": \\"1232343423\\",\\n \\"OperatorName\\": \\"云某的名称\\",\\n \\"Site\\": \\"26842\\",\\n \\"Nbid\\": \\"2684210001\\",\\n \\"Ecid\\": \\"213231232\\"\\n }\\n ],\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\"\\n}","type":"json"}]',
],
'ListInvoiceCandidate' => [
'summary' => 'Query invoice candidate data, which can be used for invoicing.',
'methods' => ['get', 'post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'Status',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'List of invoice candidate statuses.',
'type' => 'array',
'items' => [
'description' => 'Invoice candidate status.',
'enumValueTitles' => ['Invoiced', 'Not invoiced (invoiceable)', 'Partially invoiced', 'Invoice processing in progress, locked'],
'type' => 'integer',
'format' => 'int32',
'enum' => ['0', '1', '2', '3'],
'required' => false,
'example' => '1',
'title' => '',
],
'required' => false,
'enumValueTitles' => [],
'enum' => ['0', '1', '2', '3'],
'example' => '',
],
],
[
'name' => 'Types',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'List of invoice candidate types.',
'type' => 'array',
'items' => [
'description' => 'Invoice candidate type.',
'enumValueTitles' => [1 => 'Order', 'Bill', 'Contract', 'Adjustment bill', 'Refund order', 7 => 'Adjustment order', 'Commission bill'],
'type' => 'integer',
'format' => 'int32',
'enum' => ['1', '2', '3', '4', '5', '6', '7', '8'],
'required' => false,
'example' => '1',
'title' => '',
],
'required' => false,
'enumValueTitles' => [],
'enum' => ['1', '2', '3', '4', '5', '6', '7', '8'],
'example' => '',
],
],
[
'name' => 'BusinessIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'List of business document numbers.',
'type' => 'array',
'items' => ['description' => 'Business document number, such as order number.', 'type' => 'string', 'required' => false, 'example' => '202506', 'title' => ''],
'required' => false,
'example' => '',
],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The start time. Format: yyyy-mm-dd hh:mm:ss.', 'type' => 'string', 'pattern' => '^\\d{4}(-\\d{2}){2}\\s+\\d{2}(:\\d{2}){2}$', 'required' => false, 'example' => '2025-06-01 00:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The end time. Format: yyyy-mm-dd hh:mm:ss.', 'type' => 'string', 'pattern' => '^\\d{4}(-\\d{2}){2}\\s+\\d{2}(:\\d{2}){2}$', 'required' => false, 'example' => '2025-07-01 00:00:00'],
],
[
'name' => 'BillingCycles',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'List of billing cycles.',
'type' => 'array',
'items' => ['description' => 'Billing cycle.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '202506', 'title' => ''],
'required' => false,
'example' => '',
],
],
[
'name' => 'InvoiceIssuers',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'List of invoice issuers.',
'type' => 'array',
'items' => ['description' => 'Invoice issuer.', 'type' => 'string', 'pattern' => '^[0-9a-zA-Z_-]+$', 'required' => false, 'example' => 'ALIYUN_SERVICE', 'title' => ''],
'required' => false,
'pattern' => '^[0-9a-zA-Z_-]+$',
'example' => '',
],
],
[
'name' => 'CurrentPage',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'default' => '1', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'default' => '20', 'required' => false, 'example' => '20'],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'List of enterprises and accounts. If empty, the current account itself is queried.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'AccountIds' => [
'title' => '',
'description' => 'List of accounts to access. If empty, all accounts under the current entity ID are selected.',
'type' => 'array',
'items' => ['description' => 'Member account ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1990699401005016', 'title' => ''],
'required' => false,
'maxItems' => 100,
'example' => '',
],
'EcId' => ['title' => '', 'description' => 'Enterprise entity ID.', 'type' => 'string', 'required' => false, 'example' => '12345'],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Primary marketplace ID. If empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPageResult<BssOpenInvoiceEvaluateDTO>',
'type' => 'object',
'properties' => [
'CurrentPage' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'Data' => [
'title' => '',
'description' => 'The list of data entries.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => ['title' => '', 'description' => 'The status of the invoice candidate.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'BillingCycle' => ['title' => '', 'description' => 'The billing cycle.', 'type' => 'integer', 'format' => 'int32', 'example' => '202506'],
'AccountId' => ['title' => '', 'description' => 'The account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1990699401005016'],
'AcceptedOffsetAmount' => ['title' => '', 'description' => 'The accepted offset amount.', 'type' => 'string', 'example' => '0.01'],
'ProductName' => ['title' => '', 'description' => 'The product name.', 'type' => 'string', 'example' => '性能测试'],
'ProductCode' => ['title' => '', 'description' => 'The product code.', 'type' => 'string', 'example' => 'pts'],
'CreateTime' => ['title' => '', 'description' => 'The creation time.', 'type' => 'string', 'example' => '2025-06-91 00:00:00'],
'TotalAmount' => ['title' => '', 'description' => 'The total amount.', 'type' => 'string', 'example' => '0.01'],
'ResourceOwnerAccountName' => ['title' => '', 'description' => 'The name of the resource owner account.', 'type' => 'string', 'example' => '测试账号'],
'InvoiceIssuer' => ['title' => '', 'description' => 'The invoice issuer.', 'type' => 'string', 'example' => 'ALIYUN_SERVICE'],
'InvoiceableAmount' => ['title' => '', 'description' => 'The invoiceable amount.', 'type' => 'string', 'example' => '0.01'],
'OffsetAmount' => ['title' => '', 'description' => 'The offset amount.', 'type' => 'string', 'example' => '0'],
'Type' => ['title' => '', 'description' => 'The type of the invoice candidate.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'ResourceOwnerAccountId' => ['title' => '', 'description' => 'The ID of the resource owner account.', 'type' => 'integer', 'format' => 'int64', 'example' => '1990699401005016'],
'CommodityCode' => ['title' => '', 'description' => 'The commodity code.', 'type' => 'string', 'example' => 'pts'],
'Id' => ['title' => '', 'description' => 'The ID of the invoice candidate.', 'type' => 'string', 'example' => '12345'],
'BusinessTime' => ['title' => '', 'description' => 'The time when the business event occurred.', 'type' => 'string', 'example' => '2025-06-01 00:00:00'."\n"],
'InvoicedAmount' => ['title' => '', 'description' => 'The invoiced amount.', 'type' => 'string', 'example' => '0'],
'BusinessId' => ['title' => '', 'description' => 'The business document number.', 'type' => 'string', 'example' => '202506'],
'CommodityName' => ['title' => '', 'description' => 'The commodity name.', 'type' => 'string', 'example' => '性能测试'],
'AccountName' => ['title' => '', 'description' => 'The account name.', 'type' => 'string', 'example' => '测试账号'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'The metadata of the response.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'AccountNoQueryPricePermission', 'errorMessage' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.', 'description' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.'],
['errorCode' => 'InnerAccountNoQueryPricePermission', 'errorMessage' => 'In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group\'s cloud account. More questions please refer to the document.', 'description' => 'Due to data security and compliance requirements, the Group\'s cloud account amount information permissions are controlled. Please understand the inconvenience caused. You can view it through HCRM/cloud platform. For details, please refer to: https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2 。'],
['errorCode' => 'InnerSubAccountNoQueryPricePermission', 'errorMessage' => 'In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group\'s cloud account.', 'description' => 'Due to data security and compliance requirements, the Group\'s cloud account amount information permissions are controlled. Please understand the inconvenience caused. You can view it through HCRM/cloud platform. For details, please refer to: https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2 。'],
['errorCode' => 'SubAccountNoQueryPricePermission', 'errorMessage' => 'This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice.', 'description' => 'This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice.'],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this action.', 'description' => 'You do not have permissions to perform the operation.'],
['errorCode' => 'InvoiceCandidateSearchTimeInvalid', 'errorMessage' => 'Invoicing Candidate query time is illegal.', 'description' => 'Invoicing Candidate query time is illegal'],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 100,\\n \\"Data\\": [\\n {\\n \\"Status\\": 1,\\n \\"BillingCycle\\": 202506,\\n \\"AccountId\\": 1990699401005016,\\n \\"AcceptedOffsetAmount\\": \\"0.01\\",\\n \\"ProductName\\": \\"性能测试\\",\\n \\"ProductCode\\": \\"pts\\",\\n \\"CreateTime\\": \\"2025-06-91 00:00:00\\",\\n \\"TotalAmount\\": \\"0.01\\",\\n \\"ResourceOwnerAccountName\\": \\"测试账号\\",\\n \\"InvoiceIssuer\\": \\"ALIYUN_SERVICE\\",\\n \\"InvoiceableAmount\\": \\"0.01\\",\\n \\"OffsetAmount\\": \\"0\\",\\n \\"Type\\": 1,\\n \\"ResourceOwnerAccountId\\": 1990699401005016,\\n \\"CommodityCode\\": \\"pts\\",\\n \\"Id\\": \\"12345\\",\\n \\"BusinessTime\\": \\"2025-06-01 00:00:00\\\\n\\",\\n \\"InvoicedAmount\\": \\"0\\",\\n \\"BusinessId\\": \\"202506\\",\\n \\"CommodityName\\": \\"性能测试\\",\\n \\"AccountName\\": \\"测试账号\\"\\n }\\n ],\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\"\\n}","type":"json"}]',
'title' => 'Invoice Candidate Query Service',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeQueryInvoice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ListInvoiceTitle' => [
'summary' => 'Query the list of available invoice titles',
'methods' => ['get', 'post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
[
'APP' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiListResult<BssInvoiceTitleDTO>',
'type' => 'object',
'properties' => [
'Data' => [
'title' => '',
'description' => 'Invoice title list',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'UnifiedSocialCreditCode' => ['title' => '', 'description' => 'Unified social credit code. 15, 17, 18, or 20 characters.', 'type' => 'string', 'example' => '111111111111111'],
'AccountId' => ['title' => '', 'description' => 'Account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1990699401005016'],
'RegisteredAddress' => ['title' => '', 'description' => 'Registered address.', 'type' => 'string', 'example' => '北京市朝阳区'],
'CreateTime' => ['title' => '', 'description' => 'The time when the invoice title was created.', 'type' => 'string', 'example' => '2025-06-01 00:00:00'],
'InvoiceTitle' => ['title' => '', 'description' => 'Invoice title.', 'type' => 'string', 'example' => 'xx公司'],
'Id' => ['title' => '', 'description' => 'Invoice title ID.', 'type' => 'string', 'example' => '123456'],
'BankAccountNumber' => ['title' => '', 'description' => 'Basic bank account number.', 'type' => 'string', 'example' => '1234567890'],
'RegisteredLandline' => ['title' => '', 'description' => 'Registered landline number.', 'type' => 'string', 'example' => '010-12345678'],
'AccountBankName' => ['title' => '', 'description' => 'Bank name.', 'type' => 'string', 'example' => '招商银行'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'Response metadata.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'AccountNoQueryPricePermission', 'errorMessage' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.', 'description' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.'],
['errorCode' => 'InnerAccountNoQueryPricePermission', 'errorMessage' => 'In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group\'s cloud account. More questions please refer to the document.', 'description' => 'Due to data security and compliance requirements, the Group\'s cloud account amount information permissions are controlled. Please understand the inconvenience caused. You can view it through HCRM/cloud platform. For details, please refer to: https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2 。'],
['errorCode' => 'InnerSubAccountNoQueryPricePermission', 'errorMessage' => 'In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group\'s cloud account.', 'description' => 'Due to data security and compliance requirements, the Group\'s cloud account amount information permissions are controlled. Please understand the inconvenience caused. You can view it through HCRM/cloud platform. For details, please refer to: https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2 。'],
['errorCode' => 'SubAccountNoQueryPricePermission', 'errorMessage' => 'This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice.', 'description' => 'This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice.'],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this action.', 'description' => 'You do not have permissions to perform the operation.'],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"UnifiedSocialCreditCode\\": \\"111111111111111\\",\\n \\"AccountId\\": 1990699401005016,\\n \\"RegisteredAddress\\": \\"北京市朝阳区\\",\\n \\"CreateTime\\": \\"2025-06-01 00:00:00\\",\\n \\"InvoiceTitle\\": \\"xx公司\\",\\n \\"Id\\": \\"123456\\",\\n \\"BankAccountNumber\\": \\"1234567890\\",\\n \\"RegisteredLandline\\": \\"010-12345678\\",\\n \\"AccountBankName\\": \\"招商银行\\"\\n }\\n ],\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\"\\n}","type":"json"}]',
'title' => 'Invoice title query service',
'requestParamsDescription' => 'No parameters are required. The API directly queries the list of available invoice titles for the currently logged-in UID.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeQueryInvoice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ListReportDefinitions' => [
'summary' => 'Queries the list of subscribed reports.',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The level-1 marketplace ID. If this parameter is left empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'ReportDefinitions' => [
'title' => '',
'description' => 'The data list.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ReportTaskId' => ['description' => 'The bill subscription task ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '123321', 'title' => ''],
'ReportSourceType' => ['description' => 'The subscription source. Valid values: OSS and MC.', 'type' => 'string', 'example' => 'OSS', 'title' => ''],
'ReportSourceName' => ['description' => 'The subscription source name.', 'type' => 'string', 'example' => 'OSS', 'title' => ''],
'ReportType' => ['title' => '', 'description' => 'The subscription type. Valid values:'."\n"
.'- BillingItemDetailForBillingPeriod: billable item consumption details.'."\n"
.'- InstanceDetailForBillingPeriod: instance consumption details.'."\n"
.'- BillingItemDetailMonthly: billable item consumption summary by billing cycle.', 'type' => 'string', 'example' => 'BillingItemDetailForBillingPeriod'],
'BeginBillingCycle' => ['title' => '', 'description' => 'The start billing cycle for push. After the subscription is created, the system automatically pushes data from the start billing cycle to the current time. This parameter does not take effect for monthly bill PDF subscriptions, and historical data is not re-pushed. Data within the last year can be pushed.', 'type' => 'string', 'example' => '2025-05'],
'SubscribeCreateTime' => ['description' => 'The time when the subscription was created.', 'type' => 'string', 'example' => '2025-05-21 10:36:31', 'title' => ''],
'OssBucketOwnerAccountId' => ['description' => 'The UID of the OSS bucket owner that stores the files. Specify this parameter when a Bid/Reseller subscription needs to push data to the OSS bucket of a sub-account. The specified account must be a sub-account of the calling account and must be granted the AliyunConsumeDump2OSSRole permission. Regular users do not need to specify this parameter. The calling account is used by default.', 'type' => 'integer', 'format' => 'int64', 'example' => '1234567812345678', 'title' => ''],
'OssBucketName' => ['description' => 'The name of the OSS bucket that stores the files.', 'type' => 'string', 'example' => 'oss-bill', 'title' => ''],
'OssBucketPath' => ['description' => 'The storage path of the OSS bucket.', 'type' => 'string', 'example' => 'bill/', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'The metadata of the response struct.', 'type' => 'any', 'example' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidHistoricalNbid', 'errorMessage' => 'Historical field does not support subscription bill.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReportDefinitions\\": [\\n {\\n \\"ReportTaskId\\": 123321,\\n \\"ReportSourceType\\": \\"OSS\\",\\n \\"ReportSourceName\\": \\"OSS\\",\\n \\"ReportType\\": \\"BillingItemDetailForBillingPeriod\\",\\n \\"BeginBillingCycle\\": \\"2025-05\\",\\n \\"SubscribeCreateTime\\": \\"2025-05-21 10:36:31\\",\\n \\"OssBucketOwnerAccountId\\": 1234567812345678,\\n \\"OssBucketName\\": \\"oss-bill\\",\\n \\"OssBucketPath\\": \\"bill/\\"\\n }\\n ],\\n \\"Metadata\\": \\"\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\"\\n}","type":"json"}]',
'title' => 'View subscribed reports',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeOss',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ModifyCostCenter' => [
'summary' => 'Modify cost centers',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true],
'parameters' => [
[
'name' => 'CostCenterEntityList',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The list of cost center entities.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CostCenterName' => ['title' => '', 'description' => 'The new name of the cost center. The name must be unique within the same account.', 'type' => 'string', 'required' => true, 'example' => '资源组'],
'OwnerAccountId' => ['title' => '', 'description' => 'The ID of the owner to which the cost center belongs.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1314839403940987'],
'CostCenterId' => ['title' => '', 'description' => 'The ID of the cost center.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '485938'],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => true,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The level-1 marketplace ID. If this parameter is left empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiListResult<CostCenterOperateDto>',
'type' => 'object',
'properties' => [
'CostCenterOperateDto' => [
'title' => '',
'description' => 'The list of data entries.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'IsSuccess' => ['title' => '', 'description' => 'Indicates whether the operation is successful.', 'type' => 'boolean', 'example' => 'True'],
'OwnerAccountId' => ['title' => '', 'description' => 'The ID of the owner to which the cost center belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '1314839403940987'],
'CostCenterId' => ['title' => '', 'description' => 'The ID of the cost center.', 'type' => 'integer', 'format' => 'int64', 'example' => '485938'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'The metadata of the response.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified request lacks essential parameters.', 'description' => ''],
['errorCode' => 'CostCenter.MasterAndSubHasNoRelation', 'errorMessage' => 'Your account has no valid account relation yet.', 'description' => ''],
['errorCode' => 'CostCenter.UnitNotBelongToUser', 'errorMessage' => 'Cost unit is not belong to this user.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'CostCenter.UnitNameLengthExceed', 'errorMessage' => 'The length of the financial unit name exceeds the maximum limit.', 'description' => ''],
['errorCode' => 'CostCenter.UnitNameExist', 'errorMessage' => 'The financial unit name already exists.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CostCenterOperateDto\\": [\\n {\\n \\"IsSuccess\\": true,\\n \\"OwnerAccountId\\": 1314839403940987,\\n \\"CostCenterId\\": 485938\\n }\\n ],\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\"\\n}","type":"json"}]',
'title' => 'Modify cost centers',
'description' => 'Modifies one or more cost centers.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ModifyCostCenterRule' => [
'summary' => 'Modify financial unit rules',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'OwnerAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Owner of the financial unit (deprecated)', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1234567812345678'],
],
[
'name' => 'CostCenterId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Financial unit ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '485938'],
],
[
'name' => 'FilterExpression',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'Rule expression',
'type' => 'object',
'properties' => [
'ExpressionType' => [
'description' => 'Operation type',
'enumValueTitles' => ['DIMENSION' => 'Leaf node filter type (used when code is not a tag)', 'TAG' => 'Leaf node filter type (used when code is a tag)', 'NARY' => 'Sub-condition relationship (used for non-leaf conditions)'],
'type' => 'string',
'required' => false,
'example' => 'NARY',
'title' => '',
],
'OperatorType' => [
'description' => 'Relational expression',
'enumValueTitles' => ['OR' => 'OR', 'AND' => 'AND'],
'type' => 'string',
'required' => false,
'example' => 'AND',
'title' => '',
],
'Operands' => [
'description' => 'Condition expression',
'type' => 'array',
'items' => ['description' => 'Condition expression. **See the example for the overall structure (supports multi-level nesting). The following fields are for field description only.**', 'type' => 'any', 'required' => false, 'example' => '{'."\n"
.' '."\n"
.' "Operands": ['."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "TAG-xxx",'."\n"
.' "Values": ['."\n"
.' "xxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "TAG"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "INSTANCE_ID",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "LIKE"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "INSTANCE_NICK",'."\n"
.' "Values": ['."\n"
.' "111"'."\n"
.' ],'."\n"
.' "SelectType": "LIKE"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "RESOURCE_GROUP",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "ARTICLE",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "PRODUCT",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "OWNER",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' }'."\n"
.' ]'."\n"
.' }', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'Operand' => ['description' => 'Filter condition (deprecated)', 'type' => 'any', 'required' => false, 'example' => '无', 'title' => ''],
'FilterValues' => [
'description' => 'Sub-condition filter',
'type' => 'object',
'properties' => [
'Code' => [
'description' => 'Condition filter key',
'enumValueTitles' => ['OWNER' => 'Account', 'ARTICLE' => 'Product detail', 'RESOURCE_GROUP' => 'Resource group', 'xxx (user-defined tag key)' => 'Business tag, based on user\'s actual configuration value', 'PRODUCT' => 'Product', 'INSTANCE_NICK' => 'Instance name', 'INSTANCE_ID' => 'Instance ID (billing granularity)'],
'type' => 'string',
'required' => false,
'example' => 'TAG-test-xxx-key',
'title' => '',
],
'CodeName' => ['description' => 'Condition filter key name (deprecated)', 'type' => 'string', 'required' => false, 'example' => '无', 'title' => ''],
'Values' => [
'description' => 'Condition filter value list',
'type' => 'array',
'items' => ['description' => 'Condition filter value. Only one value can be entered for INSTANCE_NICK or INSTANCE_ID.', 'type' => 'string', 'required' => false, 'example' => '["TAG-test-xxx"]'."\n", 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'SelectType' => [
'description' => 'Association between code and value',
'enumValueTitles' => ['LIKE' => 'Used when Code is other cases', 'IN' => 'Used when Code is INSTANCE_NICK or INSTANCE_ID'],
'type' => 'string',
'required' => false,
'example' => 'IN',
'title' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Level-1 marketplace ID. If empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<Long>',
'type' => 'object',
'properties' => [
'Data' => ['description' => 'Financial unit allocation rule ID', 'type' => 'integer', 'format' => 'int64', 'example' => '5632', 'title' => ''],
'Metadata' => ['title' => '', 'description' => 'Response metadata', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'CostCenter.MasterAndSubHasNoRelation', 'errorMessage' => 'Your account has no valid account relation yet.', 'description' => ''],
['errorCode' => 'CostCenter.RuleExpressionIllegal', 'errorMessage' => 'The auto-allocation rule configuration is invalid.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'CostCenter.UnitNotExist', 'errorMessage' => 'The financial unit does not exist or is invalid.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": 5632,\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\"\\n}","type":"json"}]',
'title' => 'Modify financial unit auto-allocation rules',
'description' => 'Modify one or more financial units',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'QueryCostByCostCenter' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'BillingMonth',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Billing month (format: YYYYMM)', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '202506'],
],
[
'name' => 'GroupByCostCenterLevel',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Whether to aggregate and display by cost center level', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'OwnerAccountId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Account ID that owns the resource', 'type' => 'integer', 'format' => 'int64', 'example' => '1374729705039203', 'required' => false],
],
[
'name' => 'Metrics',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Cost type', 'type' => 'string', 'required' => true, 'example' => 'REQUIRE_AMOUNT'],
],
[
'name' => 'DisplayZeroAmountBills',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Whether to display data rows with zero payable amount', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'Response structure metadata', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F', 'title' => ''],
'TotalAmount' => ['title' => '', 'description' => 'Sum of totalAllocatedAmount across all cost centers', 'type' => 'string', 'example' => '130296.64'],
'ConsumeAmountList' => [
'title' => '',
'description' => 'Cost center consumption amount details list',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CostCenterId' => ['title' => '', 'description' => 'Cost center ID', 'type' => 'integer', 'format' => 'int64', 'example' => '530658'],
'CostCenterName' => ['title' => '', 'description' => 'Cost center name', 'type' => 'string', 'example' => '项目组A'],
'CostCenterCode' => ['title' => '', 'description' => 'Cost center code', 'type' => 'string', 'example' => '15945703968#'],
'ParentCostCenterId' => ['description' => 'Parent cost center ID', 'type' => 'integer', 'format' => 'int64', 'example' => '637537', 'title' => ''],
'PreCostCenterId' => ['description' => 'Previous cost center ID', 'type' => 'integer', 'format' => 'int64', 'example' => '6375371', 'title' => ''],
'OwnerAccountId' => ['title' => '', 'description' => 'Account ID that owns the resource', 'type' => 'integer', 'format' => 'int64', 'example' => '1857464601594004'],
'OwnerAccountName' => ['title' => '', 'description' => 'Account name that owns the resource', 'type' => 'string', 'example' => '研发团队测试账号'],
'Level' => ['title' => '', 'description' => 'Level', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'TotalAllocatedAmount' => ['title' => '', 'description' => 'Total (sum of cost type amount and shared allocation amount)', 'type' => 'string', 'example' => '100'],
'DirectAmount' => ['title' => '', 'description' => 'Cost type amount', 'type' => 'string', 'example' => '80'],
'AllocatedAmount' => ['title' => '', 'description' => 'Shared allocation amount', 'type' => 'string', 'example' => '20'],
'TotalAllocatedAmountPercent' => ['title' => '', 'description' => 'Cost type amount percentage', 'type' => 'string', 'example' => '0.01'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'AccountNoQueryPricePermission', 'errorMessage' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.', 'description' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.'],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified request lacks essential parameters.', 'description' => ''],
['errorCode' => 'CostCenter.UnitNotBelongToUser', 'errorMessage' => 'Cost unit is not belong to this user.', 'description' => ''],
],
],
'title' => 'Query cost center expense overview results',
'summary' => 'Query cost center expense overview',
'description' => 'Query cost center expense overview results for a specified billing period',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"TotalAmount\\": \\"130296.64\\",\\n \\"ConsumeAmountList\\": [\\n {\\n \\"CostCenterId\\": 530658,\\n \\"CostCenterName\\": \\"项目组A\\",\\n \\"CostCenterCode\\": \\"15945703968#\\",\\n \\"ParentCostCenterId\\": 637537,\\n \\"PreCostCenterId\\": 6375371,\\n \\"OwnerAccountId\\": 1857464601594004,\\n \\"OwnerAccountName\\": \\"研发团队测试账号\\",\\n \\"Level\\": 1,\\n \\"TotalAllocatedAmount\\": \\"100\\",\\n \\"DirectAmount\\": \\"80\\",\\n \\"AllocatedAmount\\": \\"20\\",\\n \\"TotalAllocatedAmountPercent\\": \\"0.01\\"\\n }\\n ]\\n}","type":"json"}]',
],
'QueryCostCenter' => [
'summary' => 'Queries financial units.',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'OwnerAccountId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The ID of the user who owns the financial unit.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1314839403940987'],
],
[
'name' => 'ParentCostCenterId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The ID of the parent financial unit. A value of -1 indicates the root financial unit.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '-1'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The list of enterprises and accounts. If this parameter is left empty, the current account is queried.',
'type' => 'array',
'items' => [
'description' => 'The list of enterprises and accounts. If this parameter is left empty, the current account is queried.',
'type' => 'object',
'properties' => [
'EcId' => ['title' => '', 'description' => 'The ID of the enterprise entity.', 'type' => 'string', 'required' => true, 'example' => '1004064243473974'],
'AccountIds' => [
'title' => '',
'description' => 'The list of accounts to access. If this parameter is left empty, all accounts under the current entity ID are selected.',
'type' => 'array',
'items' => ['description' => 'The ID of the member accounts.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1501603440974415', 'title' => ''],
'required' => false,
'maxItems' => 100,
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The ID of the primary sales channel. If this parameter is left empty, the sales channel ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPageResult<CostCenterDto>',
'type' => 'object',
'properties' => [
'CurrentPage' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
'CostCenterDtoList' => [
'title' => '',
'description' => 'The list of financial unit data.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'OwnerAccountId' => ['title' => '', 'description' => 'The ID of the user who owns the financial unit.', 'type' => 'integer', 'format' => 'int64', 'example' => '1314839403940987'],
'ParentCostCenterId' => ['title' => '', 'description' => 'The ID of the parent financial unit.', 'type' => 'integer', 'format' => 'int64', 'example' => '-1'],
'CostCenterId' => ['title' => '', 'description' => 'The ID of the financial unit.', 'type' => 'integer', 'format' => 'int64', 'example' => '485938'],
'CostCenterName' => ['title' => '', 'description' => 'The name of the financial unit. The name must be unique within the same account.', 'type' => 'string', 'example' => '资源组'],
'PrevCostCenterId' => ['title' => '', 'description' => 'The ID of the previous financial unit.', 'type' => 'integer', 'format' => 'int64', 'example' => '485996'],
'CostCenterCode' => ['title' => '', 'description' => 'The code of the financial unit.', 'type' => 'string', 'example' => '15945703968#'],
'Level' => ['title' => '', 'description' => 'The level of the financial unit node.', 'type' => 'integer', 'format' => 'int32', 'example' => 'loose'],
'Priority' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'The metadata of the response struct.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Id of the request', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'CostCenter.MasterAndSubHasNoRelation', 'errorMessage' => 'Your account has no valid account relation yet.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query financial units',
'description' => 'Queries a parent financial unit and its child financial units.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 30,\\n \\"CostCenterDtoList\\": [\\n {\\n \\"OwnerAccountId\\": 1314839403940987,\\n \\"ParentCostCenterId\\": -1,\\n \\"CostCenterId\\": 485938,\\n \\"CostCenterName\\": \\"资源组\\",\\n \\"PrevCostCenterId\\": 485996,\\n \\"CostCenterCode\\": \\"15945703968#\\",\\n \\"Level\\": 0,\\n \\"Priority\\": 0\\n }\\n ],\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\"\\n}","type":"json"}]',
],
'QueryCostCenterResource' => [
'path' => '',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'OwnerAccountId',
'in' => 'formData',
'schema' => ['description' => 'The owner user ID of the cost center.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1234567812345678', 'title' => ''],
],
[
'name' => 'CostCenterId',
'in' => 'formData',
'schema' => ['description' => 'The ID of the cost center.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '123456', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => 'The token for the next query. An empty NextToken indicates that there are no more results.', 'type' => 'string', 'required' => false, 'example' => 'CAESEgoQCg4KCmd'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => 'The maximum number of records per query.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '200'],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'title' => '',
'description' => 'The list of enterprises and accounts. An empty value indicates querying the current account.',
'type' => 'array',
'items' => [
'description' => 'The list of enterprises and accounts.',
'type' => 'object',
'properties' => [
'EcId' => ['title' => '', 'description' => 'The enterprise entity ID.', 'type' => 'string', 'required' => true, 'example' => '1501603440974415'],
'AccountIds' => [
'title' => '',
'description' => 'The list of accessed accounts. An empty value indicates that all accounts under the current entity ID are selected.',
'type' => 'array',
'items' => ['description' => 'The member account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1501603440974415', 'required' => false, 'title' => ''],
'required' => false,
'maxItems' => 100,
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The first-level marketplace ID. If empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiTokenResult<CostCenterResourceDto>',
'type' => 'object',
'properties' => [
'NextToken' => ['title' => '', 'description' => 'The token for the next query. An empty NextToken indicates that there are no more results.', 'type' => 'string', 'required' => true, 'example' => 'eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6MTB9'],
'MaxResults' => ['title' => '', 'description' => 'The maximum number of records per query.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
'TotalCount' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '2000'],
'CostCenterResourceDtoList' => [
'title' => '',
'description' => 'The data list.',
'type' => 'array',
'items' => [
'description' => 'The detailed data.',
'type' => 'object',
'properties' => [
'OwnerAccountId' => ['description' => 'The customer ID to which the cost center belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '1234567812345678', 'title' => ''],
'OwnerAccountName' => ['description' => 'The customer name to which the cost center belongs.', 'type' => 'string', 'example' => '客户A', 'title' => ''],
'ResourceUserId' => ['description' => 'The owner user ID of the resource.', 'type' => 'integer', 'format' => 'int64', 'example' => '1234567812345678', 'title' => ''],
'ResourceUserName' => ['description' => 'The owner username of the resource.', 'type' => 'string', 'example' => 'test@test.aliyun.com'."\n", 'title' => ''],
'RootCostCenterId' => ['description' => 'The root cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '-1', 'title' => ''],
'CostCenterId' => ['description' => 'The cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '123456', 'title' => ''],
'ParentCostCenterId' => ['description' => 'The parent cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '123456', 'title' => ''],
'CostCenterCode' => ['description' => 'The cost center code.', 'type' => 'string', 'example' => 'code', 'title' => ''],
'CostCenterName' => ['description' => 'The cost center name.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'CostCenterCreateTime' => ['description' => 'The creation time of the cost center.', 'type' => 'string', 'example' => '2025-05-18 12:12:25', 'title' => ''],
'CostCenterUpdateTime' => ['description' => 'The last update time of the cost center.', 'type' => 'string', 'example' => '2025-05-18 16:12:25', 'title' => ''],
'ResourceUpdateTime' => ['description' => 'The last update time of the cost center. This is a reserved field and is currently unavailable.', 'type' => 'string', 'example' => '2025-05-18 16:12:25'."\n", 'title' => ''],
'PipCode' => ['description' => 'The product code, which is the same as the product code in Cost Center bills.', 'type' => 'string', 'example' => 'rds', 'title' => ''],
'PipName' => ['description' => 'The product name.', 'type' => 'string', 'example' => '云数据库', 'title' => ''],
'CommodityCode' => ['description' => 'The commodity code of the resource.', 'type' => 'string', 'example' => 'otsbag', 'title' => ''],
'CommodityName' => ['description' => 'The commodity name of the resource.', 'type' => 'string', 'example' => '云数据库', 'title' => ''],
'ApportionItemCode' => ['description' => 'The apportionment item code of the resource.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'ApportionItemName' => ['description' => 'The apportionment item name of the resource.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'OSSBAG-cn-v0h1s4hma018'."\n", 'title' => ''],
'InstanceId' => ['description' => 'The billing granularity ID.', 'type' => 'string', 'example' => 'cn-hangzhou;standard', 'title' => ''],
'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'FPT_ossbag_absolute_Storage_bj', 'title' => ''],
'ResourceTag' => ['description' => 'The tag of the resource.', 'type' => 'string', 'example' => 'tag', 'title' => ''],
'ResourceNick' => ['description' => 'The custom alias of the resource.', 'type' => 'string', 'example' => 'testResource', 'title' => ''],
'ResourceGroup' => ['description' => 'The resource group to which the resource belongs.', 'type' => 'string', 'example' => '默认资源组'."\n", 'title' => ''],
'ResourceSource' => ['description' => 'The resource source. Valid values:'."\n"
.'- AUTO_ALLOCATE: automatically allocated.'."\n"
.'- MANUAL_ALLOCATE: manually allocated.', 'type' => 'string', 'example' => 'MANUAL_ALLOCATE', 'title' => ''],
'RegionNo' => ['type' => 'string', 'example' => 'cn-shanghai', 'description' => '', 'title' => ''],
'RegionName' => ['type' => 'string', 'example' => '上海', 'description' => '', 'title' => ''],
'RecentBillingMonth' => ['type' => 'integer', 'format' => 'int64', 'example' => '202509', 'description' => '', 'title' => ''],
'FinanceUnitRuleVersion' => ['type' => 'integer', 'format' => 'int64', 'example' => '3', 'description' => '', 'title' => ''],
'StartBillingMonth' => ['type' => 'integer', 'format' => 'int64', 'example' => '202509', 'description' => '', 'title' => ''],
'ApplicablePeriodNum' => ['type' => 'integer', 'format' => 'int64', 'example' => '3', 'description' => '', 'title' => ''],
'AddStrategy' => ['type' => 'string', 'example' => 'AUTO_ALLOCATE', 'description' => '', 'title' => ''],
'AddStrategyName' => ['type' => 'string', 'example' => '自动分配', 'description' => '', 'title' => ''],
'MasterCommodityCode' => ['type' => 'string', 'example' => 'ecs', 'description' => '', 'title' => ''],
'MasterInstanceId' => ['type' => 'string', 'example' => 'i-xxxxx', 'description' => '', 'title' => ''],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'The metadata of the response structure.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'CostCenter.MasterAndSubHasNoRelation', 'errorMessage' => 'Your account has no valid account relation yet.', 'description' => ''],
['errorCode' => 'CostCenter.ResourceAuthFailed', 'errorMessage' => 'The instance does not belong to the current user.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query resources of a cost center',
'summary' => 'Queries the list of resource instances that belong to a cost center of the user. When CostCenterId is 0, it queries unallocated primary and sub-resource instances.',
'changeSet' => [
['createdAt' => '2025-07-22T05:47:39.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'bss:DescribeCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6MTB9\\",\\n \\"MaxResults\\": 200,\\n \\"TotalCount\\": 2000,\\n \\"CostCenterResourceDtoList\\": [\\n {\\n \\"OwnerAccountId\\": 1234567812345678,\\n \\"OwnerAccountName\\": \\"客户A\\",\\n \\"ResourceUserId\\": 1234567812345678,\\n \\"ResourceUserName\\": \\"test@test.aliyun.com\\\\n\\",\\n \\"RootCostCenterId\\": -1,\\n \\"CostCenterId\\": 123456,\\n \\"ParentCostCenterId\\": 123456,\\n \\"CostCenterCode\\": \\"code\\",\\n \\"CostCenterName\\": \\"test\\",\\n \\"CostCenterCreateTime\\": \\"2025-05-18 12:12:25\\",\\n \\"CostCenterUpdateTime\\": \\"2025-05-18 16:12:25\\",\\n \\"ResourceUpdateTime\\": \\"2025-05-18 16:12:25\\\\n\\",\\n \\"PipCode\\": \\"rds\\",\\n \\"PipName\\": \\"云数据库\\",\\n \\"CommodityCode\\": \\"otsbag\\",\\n \\"CommodityName\\": \\"云数据库\\",\\n \\"ApportionItemCode\\": \\"test\\",\\n \\"ApportionItemName\\": \\"test\\",\\n \\"ResourceId\\": \\"OSSBAG-cn-v0h1s4hma018\\\\n\\",\\n \\"InstanceId\\": \\"cn-hangzhou;standard\\",\\n \\"ResourceType\\": \\"FPT_ossbag_absolute_Storage_bj\\",\\n \\"ResourceTag\\": \\"tag\\",\\n \\"ResourceNick\\": \\"testResource\\",\\n \\"ResourceGroup\\": \\"默认资源组\\\\n\\",\\n \\"ResourceSource\\": \\"MANUAL_ALLOCATE\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"RegionName\\": \\"上海\\",\\n \\"RecentBillingMonth\\": 202509,\\n \\"FinanceUnitRuleVersion\\": 3,\\n \\"StartBillingMonth\\": 202509,\\n \\"ApplicablePeriodNum\\": 3,\\n \\"AddStrategy\\": \\"AUTO_ALLOCATE\\",\\n \\"AddStrategyName\\": \\"自动分配\\",\\n \\"MasterCommodityCode\\": \\"ecs\\",\\n \\"MasterInstanceId\\": \\"i-xxxxx\\"\\n }\\n ],\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\"\\n}","type":"json"}]',
],
'QueryCostCenterRule' => [
'summary' => 'Query cost center rules',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'CostCenterId',
'in' => 'formData',
'schema' => ['description' => 'The ID of the cost center.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '597745', 'title' => ''],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'title' => '',
'description' => 'List of enterprises and accounts. If empty, queries the current account itself.',
'type' => 'array',
'items' => [
'description' => 'List of enterprises and accounts. If empty, queries the current account itself.',
'type' => 'object',
'properties' => [
'AccountIds' => [
'title' => '',
'description' => 'List of accounts to access. If empty, all accounts under the current entity ID are selected.',
'type' => 'array',
'items' => ['description' => 'Member account ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1990699401005016', 'title' => ''],
'required' => false,
'maxItems' => 100,
'example' => '',
],
'EcId' => ['title' => '', 'description' => 'Enterprise entity ID.', 'type' => 'string', 'required' => true, 'example' => '1004064243473974'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Primary marketplace ID. If empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<CostCenterRuleDto>',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'Response structure metadata.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'UUID', 'title' => ''],
'OwnerAccountId' => ['title' => '', 'description' => 'The owner user of the cost center.', 'type' => 'integer', 'format' => 'int64', 'example' => '1977800748053695'],
'RootCostCenterId' => ['title' => '', 'description' => 'The root cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'CostCenterId' => ['title' => '', 'description' => 'The cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '597745'],
'Id' => ['description' => 'The ID of the cost center auto-allocation rule.', 'type' => 'integer', 'format' => 'int64', 'example' => '32048', 'title' => ''],
'FilterExpression' => [
'description' => 'The rule expression.',
'type' => 'object',
'properties' => [
'ExpressionType' => [
'description' => 'The operation type.',
'enumValueTitles' => ['DIMENSION' => 'Leaf node filter type (used when code is not a tag)', 'TAG' => 'Leaf node filter type (used when code is a tag)', 'NARY' => 'Sub-condition relationship (used for non-leaf conditions)'],
'type' => 'string',
'example' => 'NARY',
'title' => '',
],
'OperatorType' => [
'description' => 'The relational expression.',
'enumValueTitles' => ['OR' => 'OR', 'AND' => 'AND'],
'type' => 'string',
'example' => 'AND',
'title' => '',
],
'Operands' => [
'description' => 'The condition expression.',
'type' => 'array',
'items' => ['description' => 'The condition expression. See the example for the overall structure (supports multi-level nesting). The following fields are field descriptions only.', 'type' => 'any', 'example' => '{'."\n"
.' '."\n"
.' "Operands": ['."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "TAG-xxx",'."\n"
.' "Values": ['."\n"
.' "xxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "TAG"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "INSTANCE_ID",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "LIKE"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "INSTANCE_NICK",'."\n"
.' "Values": ['."\n"
.' "111"'."\n"
.' ],'."\n"
.' "SelectType": "LIKE"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "RESOURCE_GROUP",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "ARTICLE",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "PRODUCT",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' },'."\n"
.' {'."\n"
.' "FilterValues": {'."\n"
.' "Code": "OWNER",'."\n"
.' "Values": ['."\n"
.' "xxxxx"'."\n"
.' ],'."\n"
.' "SelectType": "IN"'."\n"
.' },'."\n"
.' "ExpressionType": "DIMENSION"'."\n"
.' }'."\n"
.' ]'."\n"
.' }', 'title' => ''],
'title' => '',
'example' => '',
],
'Operand' => ['description' => 'The filter condition (deprecated).', 'type' => 'any', 'example' => '无', 'title' => ''],
'FilterValues' => [
'description' => 'The sub-condition filter.',
'type' => 'object',
'properties' => [
'Code' => [
'description' => 'The condition filter key.',
'enumValueTitles' => ['OWNER' => 'Account', 'ARTICLE' => 'Product details', 'RESOURCE_GROUP' => 'Resource group', 'xxx (user-defined tag key)' => 'Business tag, based on the user\'s actual configured value', 'PRODUCT' => 'Product', 'INSTANCE_NICK' => 'Instance name', 'INSTANCE_ID' => 'Instance ID (billing granularity)'],
'type' => 'string',
'example' => 'TAG-test-xxx-key'."\n",
'title' => '',
],
'CodeName' => ['description' => 'The condition filter key name (deprecated).', 'type' => 'string', 'example' => '无', 'title' => ''],
'Values' => [
'description' => 'The attribute value types corresponding to the module code. Valid values:'."\n"
.'- single_float: single value type.'."\n"
.'- range_float: range value type.',
'type' => 'array',
'items' => ['description' => 'The condition filter value. Only one value can be entered for INSTANCE_NICK or INSTANCE_ID.', 'type' => 'string', 'example' => '["TAG-test-xxx"]'."\n", 'title' => ''],
'title' => '',
'example' => '',
],
'SelectType' => [
'description' => 'The association between code and value.',
'enumValueTitles' => ['LIKE' => 'Used in other cases for Code', 'IN' => 'Used when Code is INSTANCE_NICK or INSTANCE_ID'],
'type' => 'string',
'example' => 'IN',
'title' => '',
],
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'Status' => ['description' => 'The status. Valid values:'."\n"
.'- on: active.'."\n"
.'- off: inactive.', 'type' => 'string', 'example' => 'on', 'title' => ''],
'IsDeleted' => ['description' => 'The deletion status. Valid values:'."\n"
.'* **0**: active.'."\n"
.'* **1**: inactive.', 'type' => 'integer', 'format' => 'int32', 'example' => 'false', 'title' => ''],
'GmtCreate' => ['description' => 'The creation time.', 'type' => 'string', 'example' => 'Tue Nov 12 14:49:43 CST 2024', 'title' => ''],
'GmtModified' => ['description' => 'The modification time.', 'type' => 'string', 'example' => 'Wed Oct 16 10:15:37 CST 2024', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'CostCenter.MasterAndSubHasNoRelation', 'errorMessage' => 'Your account has no valid account relation yet.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"UUID\\",\\n \\"OwnerAccountId\\": 1977800748053695,\\n \\"RootCostCenterId\\": 0,\\n \\"CostCenterId\\": 597745,\\n \\"Id\\": 32048,\\n \\"FilterExpression\\": {\\n \\"ExpressionType\\": \\"NARY\\",\\n \\"OperatorType\\": \\"AND\\",\\n \\"Operands\\": [\\n \\"{\\\\n \\\\n \\\\\\"Operands\\\\\\": [\\\\n {\\\\n \\\\\\"FilterValues\\\\\\": {\\\\n \\\\\\"Code\\\\\\": \\\\\\"TAG-xxx\\\\\\",\\\\n \\\\\\"Values\\\\\\": [\\\\n \\\\\\"xxxx\\\\\\"\\\\n ],\\\\n \\\\\\"SelectType\\\\\\": \\\\\\"IN\\\\\\"\\\\n },\\\\n \\\\\\"ExpressionType\\\\\\": \\\\\\"TAG\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"FilterValues\\\\\\": {\\\\n \\\\\\"Code\\\\\\": \\\\\\"INSTANCE_ID\\\\\\",\\\\n \\\\\\"Values\\\\\\": [\\\\n \\\\\\"xxxxx\\\\\\"\\\\n ],\\\\n \\\\\\"SelectType\\\\\\": \\\\\\"LIKE\\\\\\"\\\\n },\\\\n \\\\\\"ExpressionType\\\\\\": \\\\\\"DIMENSION\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"FilterValues\\\\\\": {\\\\n \\\\\\"Code\\\\\\": \\\\\\"INSTANCE_NICK\\\\\\",\\\\n \\\\\\"Values\\\\\\": [\\\\n \\\\\\"111\\\\\\"\\\\n ],\\\\n \\\\\\"SelectType\\\\\\": \\\\\\"LIKE\\\\\\"\\\\n },\\\\n \\\\\\"ExpressionType\\\\\\": \\\\\\"DIMENSION\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"FilterValues\\\\\\": {\\\\n \\\\\\"Code\\\\\\": \\\\\\"RESOURCE_GROUP\\\\\\",\\\\n \\\\\\"Values\\\\\\": [\\\\n \\\\\\"xxxxx\\\\\\"\\\\n ],\\\\n \\\\\\"SelectType\\\\\\": \\\\\\"IN\\\\\\"\\\\n },\\\\n \\\\\\"ExpressionType\\\\\\": \\\\\\"DIMENSION\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"FilterValues\\\\\\": {\\\\n \\\\\\"Code\\\\\\": \\\\\\"ARTICLE\\\\\\",\\\\n \\\\\\"Values\\\\\\": [\\\\n \\\\\\"xxxxx\\\\\\"\\\\n ],\\\\n \\\\\\"SelectType\\\\\\": \\\\\\"IN\\\\\\"\\\\n },\\\\n \\\\\\"ExpressionType\\\\\\": \\\\\\"DIMENSION\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"FilterValues\\\\\\": {\\\\n \\\\\\"Code\\\\\\": \\\\\\"PRODUCT\\\\\\",\\\\n \\\\\\"Values\\\\\\": [\\\\n \\\\\\"xxxxx\\\\\\"\\\\n ],\\\\n \\\\\\"SelectType\\\\\\": \\\\\\"IN\\\\\\"\\\\n },\\\\n \\\\\\"ExpressionType\\\\\\": \\\\\\"DIMENSION\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"FilterValues\\\\\\": {\\\\n \\\\\\"Code\\\\\\": \\\\\\"OWNER\\\\\\",\\\\n \\\\\\"Values\\\\\\": [\\\\n \\\\\\"xxxxx\\\\\\"\\\\n ],\\\\n \\\\\\"SelectType\\\\\\": \\\\\\"IN\\\\\\"\\\\n },\\\\n \\\\\\"ExpressionType\\\\\\": \\\\\\"DIMENSION\\\\\\"\\\\n }\\\\n ]\\\\n }\\"\\n ],\\n \\"Operand\\": \\"无\\",\\n \\"FilterValues\\": {\\n \\"Code\\": \\"TAG-test-xxx-key\\\\n\\",\\n \\"CodeName\\": \\"无\\",\\n \\"Values\\": [\\n \\"[\\\\\\"TAG-test-xxx\\\\\\"]\\\\n\\"\\n ],\\n \\"SelectType\\": \\"IN\\"\\n }\\n },\\n \\"Status\\": \\"on\\",\\n \\"IsDeleted\\": 0,\\n \\"GmtCreate\\": \\"Tue Nov 12 14:49:43 CST 2024\\",\\n \\"GmtModified\\": \\"Wed Oct 16 10:15:37 CST 2024\\"\\n}","type":"json"}]',
'title' => 'Query cost center auto-allocation rules',
'description' => 'Query parent cost center and its child cost centers.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'QueryCostCenterShareRule' => [
'summary' => 'Query cost center sharing rules',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'OwnerAccountId',
'in' => 'query',
'schema' => ['description' => 'The owner account ID of the cost center.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1529600453335198', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Reserved field.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6nYCisJwqt18pP5E9yb47iu'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Reserved field.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'title' => '',
'description' => 'The list of enterprises and accounts. If empty, the current account is queried.',
'type' => 'array',
'items' => [
'description' => 'The list information.',
'type' => 'object',
'properties' => [
'EcId' => ['title' => '', 'description' => 'The enterprise entity ID.', 'type' => 'string', 'required' => true, 'example' => '1004064243473974'],
'AccountIds' => [
'title' => '',
'description' => 'The list of accounts to access. If empty, all accounts under the current entity ID are selected.',
'type' => 'array',
'items' => ['description' => 'The member account ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1501603440974415', 'title' => ''],
'required' => false,
'maxItems' => 100,
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The primary marketplace ID. If empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiTokenResult<CostCenterShareRuleDto>',
'type' => 'object',
'properties' => [
'NextToken' => ['title' => '', 'description' => 'Reserved field.', 'type' => 'string', 'example' => 'eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6NH0='],
'MaxResults' => ['title' => '', 'description' => 'Reserved field.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'Data' => [
'title' => '',
'description' => 'The returned data list.',
'type' => 'array',
'items' => [
'description' => 'The object information.',
'type' => 'object',
'properties' => [
'OwnerAccountId' => ['description' => 'The owner account ID of the cost center.', 'type' => 'integer', 'format' => 'int64', 'example' => '1529600453335198', 'title' => ''],
'ShareRuleId' => ['description' => 'The sharing rule ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1826', 'title' => ''],
'ShareRuleName' => ['description' => 'The sharing rule name.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'ShareRuleType' => [
'description' => 'The sharing rule type.',
'enumValueTitles' => ['AVERAGE' => 'Split evenly', 'CUSTOM' => 'Custom split ratio', 'RATIO' => 'Split by ratio'],
'type' => 'string',
'example' => 'AVERAGE',
'title' => '',
],
'FromCostCenterShareRuleDetails' => [
'description' => 'The source cost center rule details.',
'type' => 'array',
'items' => [
'description' => 'The object information.',
'type' => 'object',
'properties' => [
'OwnerAccountId' => ['description' => 'The owner account ID of the cost center.', 'type' => 'integer', 'format' => 'int64', 'example' => '1529600453335198', 'title' => ''],
'RootCostCenterId' => ['description' => 'The root cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '583050', 'title' => ''],
'CostCenterId' => ['description' => 'The cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '637127', 'title' => ''],
'ParentCostCenterId' => ['description' => 'The parent cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '637537', 'title' => ''],
'PrevCostCenterId' => ['description' => 'The previous cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '583059', 'title' => ''],
'CostCenterCode' => ['description' => 'The cost center code.', 'type' => 'string', 'example' => '970354711219#', 'title' => ''],
'CostCenterName' => ['description' => 'The cost center name.', 'type' => 'string', 'example' => '成本计划', 'title' => ''],
'GmtCreate' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-07-16 13:49:59', 'title' => ''],
'GmtModified' => ['description' => 'The modification time.', 'type' => 'string', 'title' => '', 'example' => '2025-07-16 13:49:59'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'ToCostCenterShareRuleDetails' => [
'description' => 'The target cost center rule details.',
'type' => 'array',
'items' => [
'description' => 'The object information.',
'type' => 'object',
'properties' => [
'OwnerAccountId' => ['description' => 'The owner account ID of the cost center.', 'type' => 'integer', 'format' => 'int64', 'example' => '1529600453335198', 'title' => ''],
'RootCostCenterId' => ['description' => 'The root cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '583050', 'title' => ''],
'CostCenterId' => ['description' => 'The cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '637127', 'title' => ''],
'ParentCostCenterId' => ['description' => 'The parent cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '637537', 'title' => ''],
'PrevCostCenterId' => ['description' => 'The previous cost center ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '583055', 'title' => ''],
'CostCenterCode' => ['description' => 'The cost center code.', 'type' => 'string', 'example' => '970354711215#', 'title' => ''],
'CostCenterName' => ['description' => 'The cost center name.', 'type' => 'string', 'example' => '成本分摊', 'title' => ''],
'ShareRatio' => ['description' => 'The sharing ratio.', 'type' => 'number', 'format' => 'double', 'example' => '0.2', 'title' => ''],
'GmtCreate' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-07-16 13:49:59', 'title' => ''],
'GmtModified' => ['description' => 'The modification time.', 'type' => 'string', 'example' => '2025-07-16 13:49:59', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'GmtModified' => ['title' => '', 'type' => 'string', 'example' => '2026-01-01 00:00:00', 'description' => ''],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'The response metadata.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'CostCenter.MasterAndSubHasNoRelation', 'errorMessage' => 'Your account has no valid account relation yet.', 'description' => ''],
['errorCode' => 'CostCenter.ResourceAuthFailed', 'errorMessage' => 'The instance does not belong to the current user.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query cost center sharing rules',
'description' => 'Queries the sharing rules of user cost centers.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6NH0=\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 20,\\n \\"Data\\": [\\n {\\n \\"OwnerAccountId\\": 1529600453335198,\\n \\"ShareRuleId\\": 1826,\\n \\"ShareRuleName\\": \\"test\\",\\n \\"ShareRuleType\\": \\"AVERAGE\\",\\n \\"FromCostCenterShareRuleDetails\\": [\\n {\\n \\"OwnerAccountId\\": 1529600453335198,\\n \\"RootCostCenterId\\": 583050,\\n \\"CostCenterId\\": 637127,\\n \\"ParentCostCenterId\\": 637537,\\n \\"PrevCostCenterId\\": 583059,\\n \\"CostCenterCode\\": \\"970354711219#\\",\\n \\"CostCenterName\\": \\"成本计划\\",\\n \\"GmtCreate\\": \\"2025-07-16 13:49:59\\",\\n \\"GmtModified\\": \\"2025-07-16 13:49:59\\"\\n }\\n ],\\n \\"ToCostCenterShareRuleDetails\\": [\\n {\\n \\"OwnerAccountId\\": 1529600453335198,\\n \\"RootCostCenterId\\": 583050,\\n \\"CostCenterId\\": 637127,\\n \\"ParentCostCenterId\\": 637537,\\n \\"PrevCostCenterId\\": 583055,\\n \\"CostCenterCode\\": \\"970354711215#\\",\\n \\"CostCenterName\\": \\"成本分摊\\",\\n \\"ShareRatio\\": 0.2,\\n \\"GmtCreate\\": \\"2025-07-16 13:49:59\\",\\n \\"GmtModified\\": \\"2025-07-16 13:49:59\\"\\n }\\n ],\\n \\"GmtModified\\": \\"2026-01-01 00:00:00\\"\\n }\\n ],\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\"\\n}","type":"json"}]',
],
'QueryMonthlySlaList' => [
'summary' => 'Queries the SLA compensation list of a user.',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'Months',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'title' => '',
'description' => 'Optional. Month list in yyyyMM format.',
'type' => 'array',
'items' => ['description' => 'The month in yyyyMM format. Only the last two months are supported.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '202603', 'title' => ''],
'required' => false,
'example' => '[202602,202603]',
'maxItems' => 100,
],
],
[
'name' => 'ProductCodes',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'title' => '',
'description' => 'Optional. Filter by product code.',
'type' => 'array',
'items' => ['description' => 'The cloud product code.', 'type' => 'string', 'required' => false, 'example' => 'oss', 'title' => ''],
'required' => false,
'example' => '["ecs","oss"]',
'maxItems' => 100,
],
],
[
'name' => 'InstanceIds',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'title' => '',
'description' => 'Optional. Filter by instance ID.',
'type' => 'array',
'items' => ['description' => 'The instance ID. Separate multiple IDs with commas. A maximum of 100 IDs are supported.', 'type' => 'string', 'required' => false, 'example' => 'rm-xxxxxxxxxxxx', 'title' => ''],
'required' => false,
'example' => '["instance_1","instance_2"]',
'maxItems' => 100,
],
],
[
'name' => 'PayStatuses',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'title' => '',
'description' => 'Optional. Filter by compensation status. Valid values: 0 and 1.',
'type' => 'array',
'items' => ['description' => 'The compensation status. Valid values: 0 (uncompensated) and 1 (compensated).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'required' => false,
'maxItems' => 100,
'example' => '',
],
],
[
'name' => 'CurrentPage',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The current page number. Default value: 1, which indicates the first page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The number of entries per page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'required' => false],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'title' => '',
'description' => 'The list of enterprise entities and accounts. If this parameter is left empty, the current account is queried.',
'type' => 'array',
'items' => [
'description' => 'The list of enterprise entities and accounts. If this parameter is left empty, the current account is queried.',
'type' => 'object',
'properties' => [
'EcId' => ['title' => '', 'description' => 'The enterprise entity ID.', 'type' => 'string', 'required' => false, 'example' => '1501603440974415'],
'AccountIds' => [
'title' => '',
'description' => 'The list of accounts to query. If this parameter is left empty, all accounts under the current entity ID are selected.',
'type' => 'array',
'items' => ['description' => 'The member account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1501603440974415', 'required' => false, 'title' => ''],
'required' => false,
'maxItems' => 100,
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The level-1 marketplace ID. If this parameter is left empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'example' => '2684201000001', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPageResult<MonthlySlaInfoDTO>',
'type' => 'object',
'properties' => [
'CurrentPage' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'TotalCount' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
'Data' => [
'title' => '',
'description' => 'The data list.',
'type' => 'array',
'items' => [
'description' => 'The response body.',
'type' => 'object',
'properties' => [
'Month' => ['title' => '', 'description' => 'The month in yyyyMM format.', 'type' => 'integer', 'format' => 'int32', 'example' => '202603'],
'DamagedId' => ['title' => '', 'description' => 'The unique identifier of the damage record, which is used for targeted compensation application.', 'type' => 'string', 'example' => '9b7***9413'],
'ProductCode' => ['title' => '', 'description' => 'The product code.', 'type' => 'string', 'example' => 'oss'],
'InstanceId' => ['title' => '', 'description' => 'The instance ID.', 'type' => 'string', 'example' => 'OSSBAG-cn-0xl0n****003'],
'AvailableRate' => ['title' => '', 'description' => 'The service availability.', 'type' => 'number', 'format' => 'double', 'example' => '99.9155'],
'PayRate' => ['title' => '', 'description' => 'The compensation ratio. Unit: %.', 'type' => 'number', 'format' => 'double', 'example' => '10'],
'MonthlyServiceCharge' => ['title' => '', 'description' => 'The monthly service charge.', 'type' => 'number', 'format' => 'double', 'example' => '365.00'],
'ShouldPaySum' => ['title' => '', 'description' => 'The compensation amount.', 'type' => 'number', 'format' => 'double', 'example' => '36.5'],
'PayStatus' => ['title' => '', 'description' => 'The compensation status. Valid values: 0 (uncompensated) and 1 (compensated).', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PayDescription' => ['title' => '', 'description' => 'The compensation description.', 'type' => 'string', 'example' => 'SLA赔付'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'Metadata' => ['title' => '', 'description' => 'The response metadata.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'title' => 'Query SLA Compensation',
'description' => 'Queries the SLA compensation details list of a user. Only data from the last two months is available.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryMonthlySlaList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 5,\\n \\"Data\\": [\\n {\\n \\"Month\\": 202603,\\n \\"DamagedId\\": \\"9b7***9413\\",\\n \\"ProductCode\\": \\"oss\\",\\n \\"InstanceId\\": \\"OSSBAG-cn-0xl0n****003\\",\\n \\"AvailableRate\\": 99.9155,\\n \\"PayRate\\": 10,\\n \\"MonthlyServiceCharge\\": 365,\\n \\"ShouldPaySum\\": 36.5,\\n \\"PayStatus\\": 1,\\n \\"PayDescription\\": \\"SLA赔付\\"\\n }\\n ],\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\"\\n}","type":"json"}]',
],
'ReceiveUserConfirm' => [
'parameters' => [],
'responses' => [],
'changeSet' => [],
'ramActions' => [],
],
'SaveCostCenterShareRule' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'OwnerAccountId',
'in' => 'query',
'schema' => ['description' => 'The user ID of the cost center owner.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1977800748053695', 'title' => ''],
],
[
'name' => 'CreateShareRuleList',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The list of sharing rules to create.',
'type' => 'array',
'items' => [
'description' => 'The object information.',
'type' => 'object',
'properties' => [
'ShareRuleName' => ['description' => 'The name of the sharing rule.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'ShareType' => [
'description' => 'The type of the sharing rule.',
'enumValueTitles' => ['AVERAGE' => 'Split equally', 'CUSTOM' => 'Custom split ratio', 'RATIO' => 'Split by ratio'],
'type' => 'string',
'required' => true,
'example' => 'RATIO',
'title' => '',
],
'FromCostCenterList' => [
'description' => 'The list of source cost centers.',
'type' => 'array',
'items' => ['description' => 'The source cost center ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '583053', 'title' => ''],
'required' => false,
'maxItems' => 300,
'title' => '',
'example' => '',
],
'ToCostCenterList' => [
'description' => 'The list of target cost centers.',
'type' => 'array',
'items' => ['description' => 'The target cost center ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '583055', 'title' => ''],
'required' => false,
'maxItems' => 300,
'title' => '',
'example' => '',
],
'ShareRatioList' => [
'description' => 'The list of sharing ratios.',
'type' => 'array',
'items' => ['description' => 'The sharing ratio.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.5', 'title' => ''],
'required' => false,
'maxItems' => 200,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'ModifyShareRuleList',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The list of sharing rules to modify.',
'type' => 'array',
'items' => [
'description' => 'The object information.',
'type' => 'object',
'properties' => [
'ShareRuleId' => ['description' => 'The ID of the sharing rule.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1828', 'title' => ''],
'ShareRuleName' => ['description' => 'The name of the sharing rule.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'ShareType' => [
'description' => 'The type of the sharing rule.',
'enumValueTitles' => ['AVERAGE' => 'Split equally', 'CUSTOM' => 'Custom split ratio', 'RATIO' => 'Split by ratio'],
'type' => 'string',
'required' => true,
'example' => 'CUSTOM',
'title' => '',
],
'FromCostCenterList' => [
'description' => 'The list of source cost centers.',
'type' => 'array',
'items' => ['description' => 'The source cost center ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '583052', 'title' => ''],
'required' => false,
'maxItems' => 300,
'title' => '',
'example' => '',
],
'ToCostCenterList' => [
'description' => 'The list of target cost centers.',
'type' => 'array',
'items' => ['description' => 'The target cost center ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '583056', 'title' => ''],
'required' => false,
'maxItems' => 300,
'title' => '',
'example' => '',
],
'ShareRatioList' => [
'description' => 'The list of sharing ratios.',
'type' => 'array',
'items' => ['description' => 'The sharing ratio.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.2', 'title' => ''],
'required' => false,
'maxItems' => 200,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'RemoveShareRuleList',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The list of sharing rules to delete.',
'type' => 'array',
'items' => ['description' => 'The sharing rule ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1827', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The primary marketplace ID. If left empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '2684201000001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<CostCenterShareRuleSaveDto>',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'The metadata of the response.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4', 'title' => ''],
'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'CostCenter.MasterAndSubHasNoRelation', 'errorMessage' => 'Your account has no valid account relation yet.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ModifyCostCenterShareRules',
'summary' => 'Modifies cost center sharing rules, including creating, modifying, and deleting sharing rules.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'SetFundAccountCreditAmount' => [
'summary' => 'Set the credit control limit for a fund account',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'FundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Fund account ID. If not specified, the account owned by the current account (owner) is used by default.', 'type' => 'integer', 'format' => 'int64', 'example' => '1232312', 'required' => false],
],
[
'name' => 'CreditAmount',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Credit limit', 'type' => 'string', 'required' => true, 'example' => '500'],
],
[
'name' => 'Currency',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Currency for the credit control limit. Currently, only CNY is supported in mainland China, and only USD is supported for international use.', 'type' => 'string', 'required' => true, 'example' => 'CNY'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<Void>',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'Response metadata', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'."\n", 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'RequestTimeout', 'errorMessage' => 'Request timed out. Please try again later.', 'description' => 'Request timed out, please try again later'],
['errorCode' => 'NoFundAccountPermission', 'errorMessage' => 'The caller does not have permission for the specified fund account.', 'description' => 'The current login account does not have permission to operate the specified account.'],
['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this action.', 'description' => 'You do not have permissions to perform the operation.'],
['errorCode' => 'ExistApprovingProcess', 'errorMessage' => 'There is a credit control setting process in the approval process, please contact the business manager.', 'description' => 'There is a credit control setting process in the approval process, please contact the business manager.'],
['errorCode' => 'ExistUnconfirmedContract', 'errorMessage' => 'The account you operate has a credit contract to be confirmed. Please confirm the contract first.', 'description' => 'The account you operate has a credit control contract to be confirmed. Please confirm the contract first.'."\n"],
['errorCode' => 'NotSupportAllocateCredit', 'errorMessage' => 'Self-service credit limit allocation is currently unavailable. Please contact your service manager for assistance.', 'description' => 'Currently, self-service allocation of credit control quota is not supported. Please contact your service manager to modify the credit control quota.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\\\n\\"\\n}","type":"json"}]',
'title' => 'Set the credit control limit for a fund account',
'changeSet' => [
['createdAt' => '2025-08-16T13:58:45.000Z', 'description' => 'Error codes changed'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'efc:ModifyCredit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'SetFundAccountLowAvailableAmountAlarm' => [
'summary' => 'Set Fund Account Low Balance Alert',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ThresholdAmount',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Low balance alert threshold.', 'type' => 'string', 'required' => true, 'example' => '100'],
],
[
'name' => 'FundAccountId',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Fund account ID. If not specified, the account ID owned by the current account (owner) is used by default.', 'type' => 'integer', 'format' => 'int64', 'example' => '12321213', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<Boolean>',
'type' => 'object',
'properties' => [
'Data' => ['description' => 'The returned data.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'Metadata' => ['title' => '', 'description' => 'The response metadata.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '08108BF5-1AA3-518E-9986-95A3616E8DA9', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'RequestTimeout', 'errorMessage' => 'Request timed out. Please try again later.', 'description' => 'Request timed out, please try again later'],
['errorCode' => 'NoFundAccountPermission', 'errorMessage' => 'The caller does not have permission for the specified fund account.', 'description' => 'The current login account does not have permission to operate the specified account.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"08108BF5-1AA3-518E-9986-95A3616E8DA9\\"\\n}","type":"json"}]',
'title' => 'Set Fund Account Low Balance Alert',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyAlarm',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'SubmitSlaCouponApply' => [
'summary' => 'User claims coupons for the last two months.',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DamagedIds',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'title' => '',
'description' => 'Optional. Damaged record IDs.',
'type' => 'array',
'items' => ['description' => 'Damaged record ID.', 'type' => 'string', 'required' => false, 'example' => '9b7***9413', 'title' => ''],
'required' => false,
'maxItems' => 100,
'example' => '',
],
],
[
'name' => 'Month',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'Required. Application month in the yyyyMM format.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '202603'],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'title' => '',
'description' => 'Enterprise and account list. If empty, the current account itself is queried.',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'Enterprise and account list. If empty, the current account itself is queried.',
'type' => 'object',
'properties' => [
'EcId' => ['title' => '', 'description' => 'Enterprise entity ID.', 'type' => 'string', 'required' => false, 'example' => '1501603440974415'],
'AccountIds' => [
'title' => '',
'description' => 'List of accounts to access. If empty, all accounts under the current entity ID are selected.',
'type' => 'array',
'items' => ['title' => '', 'description' => 'Member account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1501603440974415', 'required' => false],
'required' => false,
'maxItems' => 100,
'example' => '',
],
],
'required' => false,
'example' => '',
],
'required' => false,
'maxItems' => 100,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Primary marketplace ID. If empty, the marketplace ID of the current user is used by default.', 'type' => 'string', 'example' => '2084210001', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'BssApiPlainResult<CouponApplyResult>',
'type' => 'object',
'properties' => [
'Metadata' => ['title' => '', 'description' => 'Response structure metadata.', 'type' => 'any', 'example' => '{}'],
'RequestId' => ['title' => '', 'description' => 'Unique request identifier used to tag a request for troubleshooting.', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'SumCoupon' => ['description' => 'Total claimed amount.', 'type' => 'number', 'format' => 'double', 'example' => '6.4', 'title' => ''],
'ValidStartTime' => ['title' => '', 'description' => 'Start time.', 'type' => 'string', 'example' => 'Tue Oct 27 13:15:58 CST 2026'],
'ValidEndTime' => ['title' => '', 'description' => 'End time.', 'type' => 'string', 'example' => 'Mon Apr 27 00:00:00 CST 2026'],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'CouponNotFound', 'errorMessage' => 'No claimable SLA coupons.', 'description' => 'No claimable SLA coupons'],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'title' => 'SLA Compensation Claim',
'description' => '1. Call QueryMonthlySlaList to obtain the claimable months and records.'."\n"
."\n"
.'2. Claim by month or by record.'."\n"
."\n"
.'Note: Only compensation for the last two months can be claimed. Historical compensation has been automatically issued.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'bssapi:SubmitSlaCouponApply',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Metadata\\": \\"{}\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"SumCoupon\\": 6.4,\\n \\"ValidStartTime\\": \\"Tue Oct 27 13:15:58 CST 2026\\",\\n \\"ValidEndTime\\": \\"Mon Apr 27 00:00:00 CST 2026\\"\\n}","type":"json"}]',
],
'UpdateBudget' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'OriginalBudgetName',
'in' => 'formData',
'schema' => ['description' => 'The original budget name.', 'type' => 'string', 'required' => true, 'example' => 'OriginalBudgetName', 'title' => ''],
],
[
'name' => 'BudgetName',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The budget name.', 'type' => 'string', 'required' => true, 'example' => 'NewBudgetName'],
],
[
'name' => 'BudgetType',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The budget type.', 'type' => 'string', 'required' => true, 'example' => 'CONSUME'],
],
[
'name' => 'Metric',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The budget metric.', 'type' => 'string', 'required' => true, 'example' => 'REQUIRE_AMOUNT'],
],
[
'name' => 'CycleType',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The cycle type.', 'type' => 'string', 'required' => true, 'example' => 'MONTHLY'],
],
[
'name' => 'CycleStartPeriod',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The start period of the cycle.', 'type' => 'string', 'required' => true, 'example' => '2026-01'],
],
[
'name' => 'CycleEndPeriod',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The end period of the cycle.', 'type' => 'string', 'required' => true, 'example' => '2026-12'],
],
[
'name' => 'QuotaType',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The quota type.', 'type' => 'string', 'required' => true, 'example' => 'FIXED'],
],
[
'name' => 'Quota',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The fixed quota value.', 'type' => 'string', 'required' => false, 'example' => '1000'],
],
[
'name' => 'CycleQuota',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The quota specified for each cycle.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CyclePeriod' => ['title' => '', 'description' => 'The cycle period.', 'type' => 'string', 'required' => false, 'example' => '2026-01'],
'Quota' => ['title' => '', 'description' => 'The quota.', 'type' => 'string', 'required' => false, 'example' => '1000'],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'QueryFilter',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The filter conditions.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['title' => '', 'description' => 'The parameter code.', 'type' => 'string', 'required' => false, 'example' => 'PRODUCT'],
'SelectType' => ['title' => '', 'description' => 'The selection mode.', 'type' => 'string', 'required' => false, 'example' => 'IN'],
'Values' => [
'title' => '',
'description' => 'The list of filter values.',
'type' => 'array',
'items' => ['description' => 'The filter value.', 'type' => 'string', 'required' => false, 'example' => 'oss', 'title' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Comment',
'in' => 'formData',
'schema' => ['title' => '', 'description' => 'The comment.', 'type' => 'string', 'required' => false, 'example' => 'comment'],
],
[
'name' => 'WarnConfs',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The alert configurations.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['title' => '', 'description' => 'The alert name. This is user-defined and optional. If not specified, the backend automatically generates a name.', 'type' => 'string', 'required' => false, 'example' => 'warn1'],
'WarnTarget' => ['title' => '', 'description' => 'The alert target.', 'type' => 'string', 'required' => false, 'example' => 'ACTUAL'],
'ThresholdType' => ['title' => '', 'description' => 'The threshold type.', 'type' => 'string', 'required' => false, 'example' => 'FIXED'],
'ThresholdValue' => ['title' => '', 'description' => 'The threshold value.', 'type' => 'string', 'required' => false, 'example' => '1000'],
'MscContacts' => [
'title' => '',
'description' => 'The list of Message Center contacts.',
'type' => 'array',
'items' => ['description' => 'The Message Center contact.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
'required' => false,
'example' => '',
],
'MscChannels' => [
'title' => '',
'description' => 'The list of Message Center notification channels.',
'type' => 'array',
'items' => ['description' => 'The Message Center notification channel.', 'type' => 'string', 'required' => false, 'example' => 'EMAIL', 'title' => ''],
'required' => false,
'example' => '',
],
'EventBridge' => ['title' => '', 'description' => 'Specifies whether to enable EventBridge.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
'Comment' => ['title' => '', 'description' => 'The comment.', 'type' => 'string', 'required' => false, 'example' => 'comment'],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'EcIdAccountIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The list of enterprise entities and accounts. If this parameter is left empty, the current account is queried.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'EcId' => ['title' => '', 'description' => 'The enterprise entity ID.', 'type' => 'string', 'required' => false, 'example' => '1'],
'AccountIds' => [
'title' => '',
'description' => 'The list of accounts to access. If this parameter is left empty, all accounts under the current entity ID are selected.',
'type' => 'array',
'items' => ['description' => 'The account to access.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5772131917494444', 'title' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Nbid',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The primary sales channel ID. If this parameter is left empty, the sales channel ID of the current user is used by default.', 'type' => 'string', 'required' => false, 'example' => '26842'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => '',
'type' => 'object',
'properties' => [
'BudgetName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '03A59CD4-6C6B-1A62-B64C-F1F2AF7830F3', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'UpdateBudget',
'summary' => 'Updates a budget.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"BudgetName\\": \\"\\",\\n \\"RequestId\\": \\"03A59CD4-6C6B-1A62-B64C-F1F2AF7830F3\\"\\n}","type":"json"}]',
],
],
'endpoints' => [
['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-northeast-2', 'regionName' => 'South Korea (Seoul)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => 'business-intl.vpc-proxy.aliyuncs.com'],
['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => 'business-intl.vpc-proxy.aliyuncs.com'],
['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => 'business-vpc.cn-hongkong.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => 'business-intl.vpc-proxy.aliyuncs.com'],
['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => 'business.vpc-proxy.aliyuncs.com'],
['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => 'business-vpc.cn-hangzhou.aliyuncs.com'],
['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => 'business-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
],
'errorCodes' => [
['code' => 'AccountAbnormal', 'message' => 'Your account has been suspended or has outstanding issues, please contact customer service.', 'http_code' => 400, 'description' => 'Your account has an abnormality, please contact customer service for details'],
['code' => 'AccountNoQueryPricePermission', 'message' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.', 'http_code' => 400, 'description' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.'],
['code' => 'AccountNotExist', 'message' => 'Account does not exist.', 'http_code' => 400, 'description' => 'Account does not exist'],
['code' => 'AccountNotFound', 'message' => 'The specified account does not exist in the system.', 'http_code' => 404, 'description' => 'Account does not exist'],
['code' => 'AccountRiskFound', 'message' => 'You account has undefined risk.', 'http_code' => 500, 'description' => 'The current account is at risk. Please submit a ticket and try again.'],
['code' => 'ActionInProcess', 'message' => 'Action in process, please wait.', 'http_code' => 400, 'description' => 'Business processing, please wait'],
['code' => 'ActivityNotFound', 'message' => 'Activity does not exist.', 'http_code' => 500, 'description' => 'Activity does not exist'],
['code' => 'AmountExceedLimit', 'message' => 'Amount exceeds limits, please try a different card.', 'http_code' => 400, 'description' => 'The amount exceeds the limit, please contact the issuing bank or change the card to try again.'],
['code' => 'AmountLimitExceed', 'message' => 'The transaction amount exceeds the single or daily limit. Please try reducing the transaction amount or contact your bank to increase the limit.', 'http_code' => 400, 'description' => 'The transaction amount exceeds the single or daily limit. Please try reducing the transaction amount or contact your bank to increase the limit.'],
['code' => 'ApplyPaperContractError', 'message' => 'Failed to apply for a paper contract.', 'http_code' => 400, 'description' => 'Failed to apply for paper contract'],
['code' => 'AsyncFormalContractError', 'message' => 'Application for contract confirmation failed.', 'http_code' => 400, 'description' => 'Failed to apply for contract confirmation'],
['code' => 'AuthSiteFail', 'message' => 'auth site failed.', 'http_code' => 400, 'description' => 'The account number does not match the home site, please check whether the endpoint is accurate.'],
['code' => 'AvailableTransferAmountNotEnough', 'message' => 'The available amount for granting or recycling is insufficient.', 'http_code' => 400, 'description' => 'The amount available for allocation/recovery is insufficient. Please confirm and try again.'],
['code' => 'BillingAccountOperateForbid', 'message' => 'Operation is forbidden for your billing account.', 'http_code' => 400, 'description' => 'You are a customer associated with the distributor, the current operation is prohibited'],
['code' => 'CanApplyContractError', 'message' => 'Failed to apply for contract verification.', 'http_code' => 400, 'description' => 'Failed to apply for contract verification'],
['code' => 'CanApplyInvoiceEmptyError', 'message' => 'Current invoice cannot be queried. Contract application is not allowed.', 'http_code' => 400, 'description' => 'Current invoice cannot be queried. Contract application is not allowed.'],
['code' => 'CanApplyInvoiceNegativeError', 'message' => 'Current invoice amount is negative, contract application is not allowed.', 'http_code' => 400, 'description' => 'Current invoice amount is negative, contract application is not allowed'],
['code' => 'CanApplyInvoiceStatusError', 'message' => 'Invoice status incorrect, unable to apply for contract.', 'http_code' => 400, 'description' => 'Invoice status is not correct, can not apply for contract'],
['code' => 'CANCEL_INVOICE_ERROR', 'message' => 'Cancel invoice fail.', 'http_code' => 400, 'description' => 'Cancel invoice fail.'],
['code' => 'CANCEL_INVOICE_STATUS_ERROR', 'message' => 'The status of this invoice does not meet the cancel conditions.', 'http_code' => 400, 'description' => 'The status of this invoice does not meet the cancel conditions.'],
['code' => 'CantDeletePaymentMethodWhileOpenAutoCharge', 'message' => 'You have turned on the auto-recharge function. After the payment method is unbound, the auto-recharge function cannot be completed. If you need to untie, please turn off auto-recharge before operation.', 'http_code' => 400, 'description' => 'You have turned on the auto-recharge function. After the payment method is unbound, the auto-recharge function cannot be completed. If you need to untie, please turn off auto-recharge before operation.'],
['code' => 'CantDeleteWhileOpenAutoRecharge', 'message' => 'You have turned on the auto-recharge function. After the payment method is unbound, the auto-recharge function cannot be completed. If you need to untie, please turn off auto-recharge before operation.', 'http_code' => 400, 'description' => 'You have turned on the auto-recharge function. After the payment method is unbound, the auto-recharge function cannot be completed. If you need to untie, please turn off auto-recharge before operation.'],
['code' => 'CanTransferAmountNotEnough', 'message' => 'Recoverable/allocated amount is insufficient, please confirm and try again.', 'http_code' => 400, 'description' => 'Recoverable/allocated amount is insufficient, please confirm and try again'],
['code' => 'CardAlreadyBind', 'message' => 'The specified card has already been added.', 'http_code' => 400, 'description' => 'You have already added this bank card, please do not add it again.'],
['code' => 'CardBalanceNotEnough', 'message' => 'The card balance is not enough for this transfer, please change the card and try again.', 'http_code' => 400, 'description' => 'Insufficient card balance, please change card and try again'],
['code' => 'CardBindAccountNumberLimit', 'message' => 'The card has been bound to an Alibaba Cloud account.', 'http_code' => 400, 'description' => 'The card has been bound to an Alibaba Cloud account.'],
['code' => 'CardClassNotSupport', 'message' => 'This card type is not supported. Try a different type of card.', 'http_code' => 400, 'description' => ''],
['code' => 'CardCountryNotSupport', 'message' => 'Country not supported this payment method type yet.', 'http_code' => 400, 'description' => 'The issuing country of the bank card is not supported for the time being.'],
['code' => 'CardCurrencyNotSupport', 'message' => 'The card does not support the current transaction currency. Try a different card that supports the current transaction currency.', 'http_code' => 400, 'description' => 'This card does not support the current transaction currency. Use a bank card that supports the current transaction currency to try again.'],
['code' => 'CardHasBindOnOtherAccount', 'message' => 'The specified card has been added to another Alibaba Cloud account.', 'http_code' => 400, 'description' => ''],
['code' => 'CardNotSupport3DVerification', 'message' => 'The card does not support 3D Secure authentication. Contact your issuing bank to enable 3D Secure authentication, or try a different card.', 'http_code' => 400, 'description' => 'This bank card does not support 3D verification. Please contact your card issuer to activate 3D verification or replace another bank card to try again.'],
['code' => 'CardNumberInvalid', 'message' => 'The card number is invalid. Enter a valid card number.', 'http_code' => 400, 'description' => 'Invalid bank card number, please enter the correct bank card number.'],
['code' => 'ChannelProcessFail', 'message' => 'Channel system error, please contact your issuer bank or submit a ticket.', 'http_code' => 400, 'description' => ''],
['code' => 'ChannelProcessFail', 'message' => 'Channel processing is abnormal, please contact the issuing bank or submit a work order.', 'http_code' => 400, 'description' => 'Channel processing is abnormal, please contact the issuing bank or submit a work order.'],
['code' => 'ChargeLimit', 'message' => 'Recharge is prohibited for the account associated with the ecological partner.', 'http_code' => 400, 'description' => 'Recharge is prohibited for the account associated with the ecological partner. Please contact the ecological operation consultation'],
['code' => 'ClaimAmountExceedLimit', 'message' => 'Claim amount exceeds limit.', 'http_code' => 400, 'description' => 'Claim amount exceeds limit, please check and try again'],
['code' => 'CloseAutoWriteoffError', 'message' => 'close auto write off error.', 'http_code' => 400, 'description' => 'Failed to close automatic write-off'],
['code' => 'ConfirmInvoiceInfoFail', 'message' => 'The current invoice has an order bill that exceeds the contract.', 'http_code' => 400, 'description' => 'The current invoice has a bill that exceeds the contract.'],
['code' => 'ConfirmInvoiceInfoFail', 'message' => 'Failed to confirm invoice booking information.', 'http_code' => 400, 'description' => 'Failed to confirm invoice billing information'],
['code' => 'ContractIdEmptyError', 'message' => 'Contract ID cannot be empty.', 'http_code' => 400, 'description' => 'Contract ID cannot be empty'],
['code' => 'ContractIdNotNumberError', 'message' => 'Contract ID is not of numerical type.', 'http_code' => 400, 'description' => 'Contract ID is not a numeric type'],
['code' => 'ContractNoEmptyError', 'message' => 'Contract number cannot be empty.', 'http_code' => 400, 'description' => 'Contract number cannot be empty'],
['code' => 'ContractNoInvalidError', 'message' => 'Contract not found.', 'http_code' => 400, 'description' => 'No contract found'],
['code' => 'ContractStatusInvalidForApplyPaperContractError', 'message' => 'The current contract status does not allow the application for mailing contracts.', 'http_code' => 400, 'description' => 'The current contract status does not allow applying for a mail contract.'],
['code' => 'ContractStatusInvalidForCancelError', 'message' => 'Formal contracts do not allow rejection.', 'http_code' => 400, 'description' => 'Formal contracts do not allow rejection'],
['code' => 'CouponExist', 'message' => 'The coupon collection has reached the upper limit, and the system has recalculated the best price.', 'http_code' => 500, 'description' => 'The coupon collection has reached the upper limit, and the system has recalculated the best price.'],
['code' => 'CouponOverMaxRelease', 'message' => 'Coupon Over Max Release.', 'http_code' => 500, 'description' => 'The voucher has been received and the system has recalculated the best price.'],
['code' => 'CreateCouponError', 'message' => 'create coupon error.', 'http_code' => 500, 'description' => 'The voucher order failed, the system has recalculated the best price.'],
['code' => 'CreateOrderFailed', 'message' => 'Failed to create transfer order due to system processing error.', 'http_code' => 400, 'description' => 'Failed to create transfer order'],
['code' => 'DecinedByBank', 'message' => 'Your bank declined this transaction. Please contact your issuing bank for the specific reason, or try using another card.', 'http_code' => 400, 'description' => 'Your bank declined this transaction. Please contact your issuing bank for the specific reason, or try using another card.'],
['code' => 'DeclinedByIssuerBank', 'message' => 'Declined by your card issuer bank. Please contact your issuer bank to ensure that your card is activated for online payment and try again.', 'http_code' => 400, 'description' => 'If the card issuing bank refuses, please contact the card issuing bank to ensure that the bank card online payment service is activated, and then try again.'],
['code' => 'DeleteContractError', 'message' => 'Failed to delete contract.', 'http_code' => 400, 'description' => 'Failed to delete contract'],
['code' => 'DeleteReasonEmptyError', 'message' => 'Reason for deletion cannot be empty.', 'http_code' => 400, 'description' => 'Delete reason cannot be empty'],
['code' => 'ExceedQueryTimesLimit', 'message' => 'Exceed daily query times limit.', 'http_code' => 400, 'description' => 'Daily query limit exceeded'],
['code' => 'ExistApprovingProcess', 'message' => 'There is a credit control setting process in the approval process, please contact the business manager.', 'http_code' => 400, 'description' => 'There is a credit control setting process in the approval process, please contact the business manager.'],
['code' => 'ExistUnconfirmedContract', 'message' => 'The account you operate has a credit contract to be confirmed. Please confirm the contract first.', 'http_code' => 400, 'description' => 'The account you operate has a credit control contract to be confirmed. Please confirm the contract first.'."\n"],
['code' => 'ExpireCard', 'message' => 'Your bank card has expired. Please use another card that is not expired for payment.', 'http_code' => 400, 'description' => 'Your bank card has expired. Please use a bank card that has not expired.'],
['code' => 'ExpiredCard', 'message' => 'The specified card has been expired.', 'http_code' => 400, 'description' => 'The bank card has expired.'],
['code' => 'ExpiryDateWrong', 'message' => 'The card expiry date format is incorrect. Please enter it in the correct month/year format (e.g., MM/YY) and try again.', 'http_code' => 400, 'description' => 'The card expiry date format is incorrect. Please enter it in the correct month/year format (e.g., MM/YY) and try again.'],
['code' => 'ForbiddenAccessContractError', 'message' => 'Please confirm if you have contract authority.', 'http_code' => 400, 'description' => 'Please confirm whether you have contract authority'],
['code' => 'FormalContractError', 'message' => 'Contract confirmation failed.', 'http_code' => 400, 'description' => 'Contract confirmation failed'],
['code' => 'FormalVipContractError', 'message' => 'Key customer contract confirmation failed.', 'http_code' => 400, 'description' => 'Major customer contract confirmation failed'],
['code' => 'FormalWanWangContractError', 'message' => 'Wanwang Contract Confirmation Failure.', 'http_code' => 400, 'description' => 'Wanwang contract confirmation failed'],
['code' => 'FunctionPaused', 'message' => 'This function is temporarily suspended for maintenance or updates.', 'http_code' => 400, 'description' => 'This function is temporarily suspended'],
['code' => 'GenerateFileUrlError', 'message' => 'Failed to generate download address.', 'http_code' => 400, 'description' => 'Failed to generate download address'],
['code' => 'GetAccountInfoFail', 'message' => 'Failed to get account information, please try again later.', 'http_code' => 400, 'description' => 'Failed to get account information, please try again later'],
['code' => 'GetContractNoError', 'message' => 'Error in obtaining contract number.', 'http_code' => 400, 'description' => 'Error getting contract number'],
['code' => 'GetFileUrlError', 'message' => 'Error in obtaining contract file download address.', 'http_code' => 400, 'description' => 'Obtaining contract file download address error'],
['code' => 'GetFormalResultError', 'message' => 'Error in obtaining contract confirmation results.', 'http_code' => 400, 'description' => 'Error in obtaining contract confirmation result'],
['code' => 'IdempotentParameterMismatch', 'message' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'http_code' => 400, 'description' => ''],
['code' => 'InconsistentConsignerIdentityInfo', 'message' => 'The real name information verified by E-sign is inconsistent. Please enter the correct mobile phone number and name.', 'http_code' => 400, 'description' => 'The real name information verified by E-sign is inconsistent. Please enter the correct mobile phone number and name.'],
['code' => 'InnerAccountNoQueryPricePermission', 'message' => 'In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group\'s cloud account. More questions please refer to the document.', 'http_code' => 400, 'description' => 'Due to data security and compliance requirements, the Group\'s cloud account amount information permissions are controlled. Please understand the inconvenience caused. You can view it through HCRM/cloud platform. For details, please refer to: https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2 。'],
['code' => 'InnerSubAccountNoQueryPricePermission', 'message' => 'In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group\'s cloud account.', 'http_code' => 400, 'description' => 'Due to data security and compliance requirements, the Group\'s cloud account amount information permissions are controlled. Please understand the inconvenience caused. You can view it through HCRM/cloud platform. For details, please refer to: https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2 。'],
['code' => 'InstanceInfoError', 'message' => 'Instance information provided is incomplete or contains invalid data.', 'http_code' => 400, 'description' => 'Instance information error'],
['code' => 'InstanceNotBelongToAccount', 'message' => 'The specified instance does not belong to the current account.', 'http_code' => 400, 'description' => 'The instance you want to process does not belong to the current account'],
['code' => 'InstanceNumberTooLarge', 'message' => 'The instance num exceed 2000.', 'http_code' => 400, 'description' => 'The instance IDs under the corresponding conditions are greater than 2000 and cannot be queried on the page. Please export/subscribe the bill details to view them.'],
['code' => 'INSUFFICIENT.AVAILABLE.QUOTA', 'message' => 'The account balance is negative. Add funds to the account and try again.', 'http_code' => 200, 'description' => 'Your account balance drops below 0. Top up your account and try again.'],
['code' => 'InternalError', 'message' => 'An error occurred in the internal server.', 'http_code' => 500, 'description' => 'System exception, please try again'],
['code' => 'InvalidAmountFormat', 'message' => 'The transaction amount is invalid. Please try using another payment method, or contact customer service.', 'http_code' => 400, 'description' => 'The transaction amount is invalid. Please try using another payment method, or contact customer service.'],
['code' => 'InvalidBillingAccount', 'message' => 'The caller does not have permission for the specified billing account.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidBindRequest', 'message' => 'Invalid bind card request.', 'http_code' => 400, 'description' => 'Invalid bind card request.'],
['code' => 'InvalidCaller', 'message' => 'The caller\'s primary account is invalid or does not have permission to query enterprise member account information.', 'http_code' => 401, 'description' => 'The caller\'s primary account is invalid or does not have permission to query enterprise member account information.'],
['code' => 'InvalidCaptcha', 'message' => 'Invalid Captcha.', 'http_code' => 400, 'description' => 'Your verification code is wrong or has expired, please get it again.'],
['code' => 'InvalidCard', 'message' => 'There is a problem with the card. Try a different card or submit a ticket.', 'http_code' => 400, 'description' => 'There is a problem with this bank card. Please replace the bank card and try again or submit a ticket.'],
['code' => 'InvalidCardExpireTime', 'message' => 'The specified card expiration date is invalid. Check the expiration date and try again.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidCardNumber', 'message' => 'The card number you entered is incorrect. Please carefully check your card number for any errors or omissions and try again.', 'http_code' => 400, 'description' => 'The card number you entered is incorrect. Please carefully check your card number for any errors or omissions and try again.'],
['code' => 'InvalidContractError', 'message' => 'Invalid contract failed.', 'http_code' => 400, 'description' => 'Failed to void the contract'],
['code' => 'InvalidCurrency', 'message' => 'Sorry, this currency is not supported for the current transaction. Please try using a supported currency or contact customer service for more details.', 'http_code' => 400, 'description' => 'Sorry, this currency is not supported for the current transaction. Please try using a supported currency or contact customer service for more details.'],
['code' => 'InvalidCvv', 'message' => 'Invalid cvv code.', 'http_code' => 400, 'description' => 'Cvv code exception'],
['code' => 'InvalidFundAccount', 'message' => 'The caller does not have permission for the specified fund account.', 'http_code' => 400, 'description' => 'The current login account is not the administrator of this account and is not authorized to operate this account.'],
['code' => 'InvalidFundAccount', 'message' => 'The caller does not have permission for the specified billing account.', 'http_code' => 400, 'description' => 'The current login account is not the administrator of this account and is not authorized to operate this account.'],
['code' => 'InvalidOwner', 'message' => 'The specified owner doesn\'t belong to caller.', 'http_code' => 400, 'description' => 'Invalid user identity.'],
['code' => 'InvalidParameter', 'message' => 'Transaction information is incorrect. Please check the transaction details you entered (e.g., amount, card number) and try again.', 'http_code' => 400, 'description' => 'Transaction information is incorrect. Please check the transaction details you entered (e.g., amount, card number) and try again.'],
['code' => 'InvalidReasonEmptyError', 'message' => 'Reason for invalidation cannot be empty.', 'http_code' => 400, 'description' => 'Void reason cannot be empty'],
['code' => 'InvalidSecurityCode', 'message' => 'The security code is invalid ,please contact your issuing bank or try a different card.', 'http_code' => 400, 'description' => 'Your card security code is invalid, please contact the issuing bank or change the card to try again'],
['code' => 'InvalidTime', 'message' => 'Invalid Time.', 'http_code' => 400, 'description' => 'Date selection for cost analysis is out of range, please re-select'],
['code' => 'InvoiceAlreadyInvoicingCanNotClose', 'message' => 'Invoice is being issued and cannot be closed.', 'http_code' => 400, 'description' => 'Invoice is being issued and cannot be closed.'],
['code' => 'InvoiceAmountFormatInvalid', 'message' => 'Illegal format of invoiced amount.', 'http_code' => 400, 'description' => 'Illegal format of invoiced amount'],
['code' => 'InvoiceAmountInValid', 'message' => 'Illegal amount requested for invoicing.', 'http_code' => 400, 'description' => 'Illegal amount requested for invoicing'],
['code' => 'InvoiceAmountNegativeInvalid', 'message' => 'The sum of the selected amounts is negative and cannot be invoiced.', 'http_code' => 400, 'description' => 'The sum of the selected amounts is negative and cannot be invoiced.'],
['code' => 'InvoiceAmountNotValid', 'message' => 'The invoiced amount field is illegal, and supports up to 2 decimal places.', 'http_code' => 400, 'description' => 'The invoiced amount field is illegal, and supports up to 2 decimal places.'],
['code' => 'InvoiceApplyNotAllowedForTestUser', 'message' => 'Test accounts are not permitted to perform invoicing operations.', 'http_code' => 400, 'description' => 'This account is a test account and cannot be invoiced.'],
['code' => 'InvoiceAutoApplyConfigNotMatchRealName', 'message' => 'Automatic invoicing only supports the viewpoint consistent with real-name authentication. Please select again.', 'http_code' => 400, 'description' => 'Automatic invoicing only supports the same header as real-name authentication. Please select'],
['code' => 'InvoiceCandidateNotFound', 'message' => 'No valid data to be invoiced can be found based on the invoicing object list and account list passed in.', 'http_code' => 400, 'description' => 'No valid data to be invoiced can be found based on the invoicing object list and account list passed in.'],
['code' => 'InvoiceCandidateSearchTimeInvalid', 'message' => 'Invoicing Candidate query time is illegal.', 'http_code' => 400, 'description' => 'Invoicing Candidate query time is illegal'],
['code' => 'InvoiceContractUnsupportedWanwangOrderError', 'message' => 'The current invoice has a World Wide Web order that does not support invoicing.', 'http_code' => 400, 'description' => ''],
['code' => 'InvoiceDataDontExistError', 'message' => 'There are no orders being processed in the current invoice.', 'http_code' => 400, 'description' => 'There is no billing order being processed in the current invoice'],
['code' => 'InvoiceDataEmptyError', 'message' => 'There are no subscription bills in the current invoice that can apply for contracts.', 'http_code' => 400, 'description' => 'There is no bill in the current invoice that can apply for a contract.'],
['code' => 'InvoiceDataOverOpeningContract', 'message' => 'The current invoice has an order bill that exceeds the contract.', 'http_code' => 400, 'description' => 'The current invoice has a bill that exceeds the contract.'],
['code' => 'InvoiceDataUsedError', 'message' => 'The current invoice has a subscription bill for a contract that has already been applied.', 'http_code' => 400, 'description' => 'The current invoice has a bill for the requested contract.'],
['code' => 'InvoiceFileDownloadError', 'message' => 'Download failed, please try again later.', 'http_code' => 400, 'description' => 'Download failed, please try again later.'],
['code' => 'InvoiceManualAmountNotAllowed', 'message' => 'Cross-account independent invoicing, amount cannot be specified.', 'http_code' => 400, 'description' => 'Cross-account independent invoicing, amount cannot be specified'],
['code' => 'InvoiceModeInvalid', 'message' => 'InvoiceMode field is illegal.', 'http_code' => 400, 'description' => 'InvoiceMode field is illegal'],
['code' => 'InvoiceModeNotValid', 'message' => 'The invoice mode field is invalid. Please select a valid option.', 'http_code' => 400, 'description' => 'InvoiceMode field is illegal'],
['code' => 'InvoiceOuUnsupportedError', 'message' => 'There are entities in the current invoice that do not support invoicing.', 'http_code' => 400, 'description' => ''],
['code' => 'InvoiceRecipientEmailsMoreThanThree', 'message' => 'Maximum 3 email addresses allowed for invoice application.', 'http_code' => 400, 'description' => ''],
['code' => 'InvoiceRemarkTooLong', 'message' => 'Invoice remarks must not exceed 200 characters. Please abbreviate and resubmit.', 'http_code' => 400, 'description' => 'The length of the invoice note is too long, please abbreviate it properly and resubmit it!'],
['code' => 'InvoiceSpecialOnlyForEnterprises', 'message' => 'Special invoices can only be issued by enterprise accounts.', 'http_code' => 400, 'description' => 'Special invoices can only be issued by enterprise accounts.'],
['code' => 'InvoiceStatusError', 'message' => 'The current invoice status is incorrect, unable to retrieve the contract.', 'http_code' => 400, 'description' => 'The current invoice status is incorrect and the contract cannot be opened.'],
['code' => 'InvoiceTdsValidateAuditing', 'message' => 'This user TAN NO. In the process of approval, please do not submit repeatedly.', 'http_code' => 400, 'description' => 'This user TAN NO. In the process of approval, please do not submit repeatedly.'],
['code' => 'InvoiceTdsValidateDuplicate', 'message' => 'The tan no. It has been saved, please do not submit it again.', 'http_code' => 400, 'description' => 'The tan no. It has been saved, please do not submit it again.'],
['code' => 'InvoiceTdsValidateFailed', 'message' => 'The tan no. It has been used by other accounts. Please confirm whether the input is correct.', 'http_code' => 400, 'description' => 'The tan no. It has been used by other accounts. Please confirm whether the input is correct.'],
['code' => 'InvoiceTitleNotExist', 'message' => 'Invoice title does not exist.', 'http_code' => 400, 'description' => 'Invoice header does not exist'],
['code' => 'InvoiceTypeInvalid', 'message' => 'InvoiceType field is illegal.', 'http_code' => 400, 'description' => 'InvoiceType field is illegal'],
['code' => 'InvoiceTypeNotValid', 'message' => 'The invoice type field is invalid. Please select a valid option.', 'http_code' => 400, 'description' => 'InvoiceType field is illegal'],
['code' => 'InvoiceUnificationCheckEmailFail', 'message' => 'No default email for unified invoicing check.', 'http_code' => 400, 'description' => 'No default email for unified invoicing check.'],
['code' => 'InvoiceUnificationCheckTitleFail', 'message' => 'No default invoice title for unified invoicing check.', 'http_code' => 400, 'description' => 'No default invoice title for unified invoicing check.'],
['code' => 'InvoiceUsedError', 'message' => 'The current invoice has already applied for a contract.', 'http_code' => 400, 'description' => ''],
['code' => 'LimitRecharge', 'message' => 'Account limit recharge.', 'http_code' => 400, 'description' => 'Account limit recharge'],
['code' => 'LimitWithdraw', 'message' => 'Account limit withdraw.', 'http_code' => 400, 'description' => 'Account Limit Withdraw'],
['code' => 'MaxOffsetLimit', 'message' => 'Exceeded maximum page turning limit.', 'http_code' => 400, 'description' => 'Maximum page turning limit exceeded, please view after exporting'],
['code' => 'NoAvailablePaymentMethod', 'message' => 'Sorry, there are no available payment methods at this time. Please check your network connection or try again later. If the issue persists, please contact customer service.', 'http_code' => 400, 'description' => 'Sorry, there are no available payment methods at this time. Please check your network connection or try again later. If the issue persists, please contact customer service.'],
['code' => 'NoFundAccountPermission', 'message' => 'The caller does not have permission for the specified fund account.', 'http_code' => 400, 'description' => 'The current login account does not have permission to operate the specified account.'],
['code' => 'NoPermission', 'message' => 'You are not authorized to perform this action.', 'http_code' => 400, 'description' => 'You do not have permissions to perform the operation.'],
['code' => 'NoQueryPricePermission', 'message' => 'If you do not have discount query permission, please contact the main account for authorization. The permission code is queryprice.', 'http_code' => 400, 'description' => 'If you do not have discount query permission, please contact the main account for authorization. The permission point is queryprice.'."\n"],
['code' => 'NotActiveService', 'message' => 'You are not active the service,please use after activation.', 'http_code' => 400, 'description' => 'You are not active the service,please use after activation.'],
['code' => 'NotEligibleForTransfer', 'message' => 'The selected instances do not meet transfer eligibility requirements.', 'http_code' => 400, 'description' => 'Not eligible for transfer'],
['code' => 'NotOpenUnifiedSettle', 'message' => 'The unified settlement is not open for caller.', 'http_code' => 400, 'description' => 'The unified settlement function has not been opened to you yet, please look forward to it.'],
['code' => 'NotSupportAllocateCredit', 'message' => 'Self-service credit limit allocation is currently unavailable. Please contact your service manager for assistance.', 'http_code' => 400, 'description' => 'Currently, self-service allocation of credit control quota is not supported. Please contact your service manager to modify the credit control quota.'],
['code' => 'NoValidInstanceFund', 'message' => 'No valid instance found.', 'http_code' => 400, 'description' => 'No valid instance found'],
['code' => 'OldFinanceCloudUserNoPermission', 'message' => 'Old finance cloud user has no permission to query new menus.', 'http_code' => 400, 'description' => 'Old version of financial cloud customers do not have access to the new menus, please upgrade the new enterprise organization and try again.'],
['code' => 'OneCardBindUidLimit', 'message' => 'Each bank card can only be linked to one Alibaba Cloud account. The card number you entered has already been bound to another Alibaba Cloud account. Please try again with a different bank card.', 'http_code' => 400, 'description' => 'Each bank card can only be linked to one Alibaba Cloud account. The card number you entered has already been bound to another Alibaba Cloud account. Please try again with a different bank card.'],
['code' => 'OpenAutoWriteoffError', 'message' => 'open auto write off error.', 'http_code' => 400, 'description' => 'Failed to open automatic write-off'],
['code' => 'OperationTypeError', 'message' => 'Invalid operation type specified, please use a valid operation type.', 'http_code' => 400, 'description' => 'Operation type error'],
['code' => 'OrderExpiredOrProcessed', 'message' => 'The transfer order has expired or been completed, cannot be processed.', 'http_code' => 400, 'description' => 'Transfer order has expired or been processed'],
['code' => 'OrderNotExist', 'message' => 'The transaction order does not exist. Please refresh the page and try to initiate a new transaction.', 'http_code' => 400, 'description' => 'The transaction order does not exist. Please refresh the page and try to initiate a new transaction.'],
['code' => 'OrderNotOperational', 'message' => 'The transfer order is not in a state that allows operations.', 'http_code' => 400, 'description' => 'Transfer order is not operational'],
['code' => 'OrderQueryError', 'message' => 'Failed to query transfer order information due to system error.', 'http_code' => 400, 'description' => 'Transfer order information query error'],
['code' => 'PageInfoError', 'message' => 'Invalid pagination parameters provided, please check page number and size.', 'http_code' => 400, 'description' => 'Page information error'],
['code' => 'PaperContractMultipleApplyError', 'message' => 'This contract has already applied for a paper contract.', 'http_code' => 400, 'description' => 'This contract has been applied for a paper contract.'],
['code' => 'ParamError', 'message' => 'Parameter error.', 'http_code' => 500, 'description' => 'Parameter error'],
['code' => 'ParameterError', 'message' => 'Invalid or missing required parameters in the request.', 'http_code' => 400, 'description' => 'Parameter error'],
['code' => 'PARAM_ERROR', 'message' => 'param is error.', 'http_code' => 400, 'description' => 'Parameter error'],
['code' => 'PARAM_INVALID', 'message' => 'Parameter error.', 'http_code' => 533, 'description' => 'Parameter exception'],
['code' => 'PaymentChannelProcessFail', 'message' => 'Payment channel process fail, please contact your issuer bank or submit a ticket.', 'http_code' => 400, 'description' => 'Payment channel process fail, please contact your issuer bank or submit a ticket.'],
['code' => 'PaymentDeclinedByBank', 'message' => 'payment is declined by issuer bank.', 'http_code' => 400, 'description' => 'Payment rejected by card issuing bank'],
['code' => 'PaymentMethodNotExist', 'message' => 'The specific card not exist or has been deleted, please check and try again.', 'http_code' => 400, 'description' => 'The payment method does not exist or has been deleted. Please check and try again.'],
['code' => 'PaymentTypeNotSupportSettleCurrency', 'message' => 'PayPal currently does not support non-USD payments. Please set PayPal as your preferred payment method when both the current and next month\'s settlement currencies are USD.', 'http_code' => 400, 'description' => 'Paypal does not support non-US dollar payment. When setting Paypal as the preferred payment method, set the current settlement currency and the next month\'s settlement currency to USD.'],
['code' => 'PayNotQualified', 'message' => 'Sorry, your transaction does not meet the payment requirements. Please try using another card or payment method.', 'http_code' => 400, 'description' => 'Sorry, your transaction does not meet the payment requirements. Please try using another card or payment method.'],
['code' => 'PaySystemAccessDenied', 'message' => 'Payment channel is temporarily inaccessible. Please try again later or use another payment method. If the issue persists, please contact our customer service.', 'http_code' => 400, 'description' => 'Payment channel is temporarily inaccessible. Please try again later or use another payment method. If the issue persists, please contact our customer service.'],
['code' => 'PaySystemAuthenticationFail', 'message' => 'Payment channel authentication failed. Please try again later, or try using another payment method.', 'http_code' => 400, 'description' => 'Payment channel authentication failed. Please try again later, or try using another payment method.'],
['code' => 'PaySystemAuthenticationRequired', 'message' => 'This transaction requires 3D Secure verification. Please follow the instructions on the page to complete your bank\'s 3D Secure verification.', 'http_code' => 400, 'description' => 'This transaction requires 3D Secure verification. Please follow the instructions on the page to complete your bank\'s 3D Secure verification.'],
['code' => 'PaySystemCardNotSupported', 'message' => 'Sorry, this card is not supported by the current payment channel. Please try using another card or payment method.', 'http_code' => 400, 'description' => 'Sorry, this card is not supported by the current payment channel. Please try using another card or payment method.'],
['code' => 'PaySystemOrderIsClosed', 'message' => 'This transaction order has been closed or is no longer valid. Please initiate a new transaction. If the order was paid, please contact customer service for verification.', 'http_code' => 400, 'description' => 'This transaction order has been closed or is no longer valid. Please initiate a new transaction. If the order was paid, please contact customer service for verification.'],
['code' => 'PaySystemOTPVerifyTimesExceedLimit', 'message' => 'Too many incorrect verification code attempts. Please wait for a while before trying to get a new code, or try another verification method with your bank.', 'http_code' => 400, 'description' => 'Too many incorrect verification code attempts. Please wait for a while before trying to get a new code, or try another verification method with your bank.'],
['code' => 'PaySystemOTPVerifyUnmatched', 'message' => 'Your bank card has expired. Please use another card that is not expired for payment.', 'http_code' => 400, 'description' => 'Your bank card has expired. Please use another card that is not expired for payment.'],
['code' => 'PaySystemSuspectedCard', 'message' => 'Your bank card has an issue. Please contact your issuing bank to inquire about its status and any abnormalities.', 'http_code' => 400, 'description' => 'Your bank card has an issue. Please contact your issuing bank to inquire about its status and any abnormalities.'],
['code' => 'PaySystemUserPaymentVerificationFailed', 'message' => 'Your payment information failed verification. Please check if your payment details (e.g., password, fingerprint, OTP) are correct, or contact the payment channel\'s customer service.', 'http_code' => 400, 'description' => 'Your payment information failed verification. Please check if your payment details (e.g., password, fingerprint, OTP) are correct, or contact the payment channel\'s customer service.'],
['code' => 'PaySystemUserStatusAbnormal', 'message' => 'Your account status is abnormal, unable to complete this transaction. Please contact customer service to inquire about your account status.', 'http_code' => 400, 'description' => 'Your account status is abnormal, unable to complete this transaction. Please contact customer service to inquire about your account status.'],
['code' => 'PaySystemVerificationInProcess', 'message' => 'Verification code is being processed. Please wait patiently for the result and do not repeat the operation. If there is no response for a long time, please contact customer service.', 'http_code' => 400, 'description' => 'Verification code is being processed. Please wait patiently for the result and do not repeat the operation. If there is no response for a long time, please contact customer service.'],
['code' => 'PAY_QUERY_ORDER_EMPTY_RESULT', 'message' => 'Query order is empty, please check order parameters.', 'http_code' => 501, 'description' => 'Query order is empty'],
['code' => 'PAY_QUERY_ORDER_ERROR', 'message' => 'Query Order Exception.', 'http_code' => 502, 'description' => 'Query Order Exception'],
['code' => 'PAY_SYSTEM_EXCEPTION', 'message' => 'Internal system error occurred, please contact technical support.', 'http_code' => 500, 'description' => 'System exception'],
['code' => 'QueryConnectedRelationListInfoError', 'message' => 'Query information of Party A\'s associated entity list is abnormal, please try again later.', 'http_code' => 400, 'description' => 'Query information of Party A\'s associated entity list is abnormal, please try again later.'],
['code' => 'QueryContractTaskInfoError', 'message' => 'Query contract task information is abnormal, please try again later.', 'http_code' => 400, 'description' => 'Query contract task information is abnormal, please try again later.'],
['code' => 'QueryCountExceedLimit', 'message' => 'The count of queries exceeds the daily query limit.', 'http_code' => 400, 'description' => 'Queries exceed daily limit'],
['code' => 'QueryInvioceListInfoError', 'message' => 'Invoice header list query information is abnormal, please try again later.', 'http_code' => 400, 'description' => 'Invoice header list query information is abnormal, please try again later'],
['code' => 'QueryInvioceListInfoFail', 'message' => 'Failed to query invoice header list information, please try again later.', 'http_code' => 400, 'description' => 'Failed to query invoice header list information, please try again later'],
['code' => 'QueryInvoiceInfoError', 'message' => 'Exception in querying invoice information. Please try again later.', 'http_code' => 400, 'description' => 'Invoice information query is abnormal, please try again later'],
['code' => 'QueryInvoiceInfoFail', 'message' => 'Failed to query invoice information.', 'http_code' => 400, 'description' => 'Failed to query invoice information.'],
['code' => 'QueryPartyaInfoError', 'message' => 'Party A entity name query is abnormal, please try again later.', 'http_code' => 400, 'description' => 'Party A entity name query is abnormal, please try again later.'],
['code' => 'RC_3TH_LOGISTICS_DETAIL_REQUEST', 'message' => 'Failed to query the details of the third party logistics node.', 'http_code' => 509, 'description' => 'Failed to query the details of the third party logistics node.'],
['code' => 'RC_GET_USER_ERROR', 'message' => 'Failed to obtain the group account HavanaId required for order query.', 'http_code' => 508, 'description' => 'Failed to obtain the group account HavanaId required for order query.'],
['code' => 'RC_ORDER_CONFIRM_FAIL', 'message' => 'Confirm receipt failed.', 'http_code' => 505, 'description' => 'Confirm receipt failed'],
['code' => 'RC_ORDER_DETAIL_FAIL', 'message' => 'Failed to query order details.', 'http_code' => 503, 'description' => 'Failed to query order details'],
['code' => 'RC_ORDER_LIST_FAIL', 'message' => 'Failed to query order list.', 'http_code' => 502, 'description' => 'Failed to query order list'],
['code' => 'RC_ORDER_LOGISTICS_FAIL', 'message' => 'No logistics information.', 'http_code' => 504, 'description' => 'No logistics information'],
['code' => 'RC_ORDER_LOGISTICS_OVERVIEW_FAIL', 'message' => 'Failed to query logistics overview information.', 'http_code' => 510, 'description' => 'Failed to query logistics overview information.'],
['code' => 'RC_PAGE_SIZE_MAX_LIMIT_REQUEST', 'message' => 'PageSize parameter setting is too large.', 'http_code' => 507, 'description' => 'PageSize parameter setting is too large'],
['code' => 'RC_PARAM_IS_EMPTY', 'message' => 'Required field values in request parameters cannot be empty.', 'http_code' => 501, 'description' => 'Required field values in request parameters cannot be empty.'],
['code' => 'RC_QUERY_OPEN_BY_SYSTEM_ORDER', 'message' => 'Post-paid commodity for service, the system automatically orders and opens. This kind of order does not support customer inquiry.', 'http_code' => 514, 'description' => 'Post-paid commodity for service, the system automatically orders and opens. This kind of order does not support customer inquiry.'],
['code' => 'RC_REFUND_QUOTA_EXCEED', 'message' => 'Exceeding the limit.', 'http_code' => 523, 'description' => 'Sorry, the total amount that can be unsubscribed this month has been exceeded.'],
['code' => 'RC_SYSTEM_ERROR', 'message' => 'An error occurred in the internal server.', 'http_code' => 500, 'description' => 'System exception, please try again'],
['code' => 'RC_TIME_OUT', 'message' => 'The system timed out, the query data may be too much, please shorten the time range or select a specific product and re-query.', 'http_code' => 513, 'description' => 'The system timed out, the query data may be too much, please shorten the time range or select a specific product and re-query'],
['code' => 'RC_UNKNOWN_ERROR', 'message' => 'Unknown error.', 'http_code' => 511, 'description' => 'Unknown error'],
['code' => 'RealNameAuthenticationNotCompleted', 'message' => 'real-name authentication is not completed.', 'http_code' => 400, 'description' => 'Real name authentication not completed'],
['code' => 'RealNameAuthenticationTypeUnsupported', 'message' => 'The system only supports individual users authenticated by ID number and enterprise users authenticated by social unified credit code.', 'http_code' => 400, 'description' => 'The system only supports individual users authenticated by ID card number and enterprise users authenticated by social unified credit code. Please update the authentication and try again.'],
['code' => 'RejectContractError', 'message' => 'Refusal of contract failed.', 'http_code' => 400, 'description' => 'Failed to reject the contract'],
['code' => 'RejectVipContractError', 'message' => 'Refusal of major client contract failed.', 'http_code' => 400, 'description' => 'Failed to reject major customer contract'],
['code' => 'RejectWanWangContractError', 'message' => 'Refusal of the World Wide Web contract failed.', 'http_code' => 400, 'description' => 'Failed to reject Wanwang contract'],
['code' => 'RelationOrderDataError', 'message' => 'Abnormal contract related billing data.', 'http_code' => 400, 'description' => 'Contract associated billing data is abnormal'],
['code' => 'RequestCountExceedBankLimit', 'message' => 'The number of requests has exceeded the limit of the issuer bank. Please try again later.', 'http_code' => 400, 'description' => 'Request quantity exceeds card issuer limit, please try again later'],
['code' => 'RequestTimeout', 'message' => 'Request timed out. Please try again later.', 'http_code' => 400, 'description' => 'Request timed out, please try again later'],
['code' => 'ResourceCreatingNotAllowWithdraw', 'message' => 'The resource you purchased is being created and cannot withdraw during this period.', 'http_code' => 400, 'description' => 'The resource you purchased is being created, balance withdrawal is not available during this period, please try again later.'],
['code' => 'ResourceNotExists', 'message' => 'The specified resource does not exist.', 'http_code' => 400, 'description' => 'The instance does not exist.'],
['code' => 'RiskReject', 'message' => 'The request rejected by risk control.', 'http_code' => 400, 'description' => 'Request rejected by risk control'],
['code' => 'RiskReject', 'message' => 'The card poses a security risk. Try a different card or submit a ticket.', 'http_code' => 400, 'description' => 'This bank card is a security risk. Please try again with another bank card or submit a ticket.'],
['code' => 'RiskSystemRejected', 'message' => 'This transaction has been rejected by the risk control system due to potential risk. If you have questions, please contact our customer service team.', 'http_code' => 400, 'description' => 'This transaction has been rejected by the risk control system due to potential risk. If you have questions, please contact our customer service team.'],
['code' => 'SameAccountTransfer', 'message' => 'Target account is identical to source account, transfer operation is not allowed.', 'http_code' => 400, 'description' => 'Target account is the same as current account, transfer not allowed'],
['code' => 'SameLicenseNoError', 'message' => 'The identification numbers of Party B and Party C in the payment agreement cannot be the same.', 'http_code' => 400, 'description' => 'The identification numbers of Party B and Party C in the payment agreement cannot be the same.'],
['code' => 'SameName', 'message' => 'The specified name already exists.', 'http_code' => 400, 'description' => 'The specified name already exists.'],
['code' => 'SAME_NAME', 'message' => 'The specified name already exists.', 'http_code' => 400, 'description' => 'Name already exists'],
['code' => 'SettleBillBeingWrittenOff', 'message' => 'Settle bill is being written off.', 'http_code' => 400, 'description' => 'Bill is being written off, please try again later'],
['code' => 'SettleTaskCloseError', 'message' => 'close unified settlement task error.', 'http_code' => 400, 'description' => 'Failed to close the settlement task. Please refresh the page and try again.'],
['code' => 'SettleTaskDeleteError', 'message' => 'delete unified settlement task error.', 'http_code' => 400, 'description' => 'Failed to delete the settlement task. Please refresh the page and try again.'],
['code' => 'SettleTaskPauseError', 'message' => 'pause unified settlement task error.', 'http_code' => 400, 'description' => 'The settlement task failed to be paused. Please refresh the page and try again.'],
['code' => 'SettleTaskRestartError', 'message' => 'restart unified settlement task error.', 'http_code' => 400, 'description' => 'Settlement task restart failed, please refresh the page and try again'],
['code' => 'SettleTaskSaveError', 'message' => 'Failed to save settlement task.', 'http_code' => 400, 'description' => 'Failed to save the settlement task.'],
['code' => 'SettleTaskStopError', 'message' => 'stop unified settlement task error.', 'http_code' => 400, 'description' => 'Failed to stop the settlement task, please refresh the page and try again'],
['code' => 'SettleTitleDup', 'message' => 'Duplicate unified settlement title.', 'http_code' => 400, 'description' => 'Duplicate Unified Settlement Title'],
['code' => 'SettleTitleTooLong', 'message' => 'Unified settlement document title is too long.', 'http_code' => 400, 'description' => 'The title of the unified settlement is too long, please control the title length to be less than 200 characters.'],
['code' => 'SpecifiedWriteoffCycleConflict', 'message' => 'Specified writeoff cycle conflict.', 'http_code' => 400, 'description' => 'The last specified write-off in this accounting period has not been completed. Please try again later.'],
['code' => 'SPN_INSTANCE_HAS_SHARED', 'message' => 'Savings plan instance has shared.', 'http_code' => 400, 'description' => 'The saving plan instance is set to share, and the deduction tag cannot be set.'],
['code' => 'SubAccountNoQueryPricePermission', 'message' => 'This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice.', 'http_code' => 400, 'description' => 'This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice.'],
['code' => 'SystemBusyError', 'message' => 'System is busy now, please retry later.', 'http_code' => 400, 'description' => ''],
['code' => 'SystemError', 'message' => 'Internal system error occurred, please try again or contact technical support.', 'http_code' => 400, 'description' => 'The system is abnormal. Please try again later or contact technical support.'],
['code' => 'TaskAlreadyExist', 'message' => 'The task already exists.', 'http_code' => 400, 'description' => 'The task already exists'],
['code' => 'TASK_EXIST', 'message' => 'task has already exist.', 'http_code' => 400, 'description' => 'This table already exists and cannot be resubscribed'],
['code' => 'TaxInfoStatusNotAllowUpdate', 'message' => 'Tax information cannot be modified in the current tax qualification status.', 'http_code' => 400, 'description' => 'Tax information cannot be modified in the current tax qualification status.'],
['code' => 'TaxInfoTaxNumberInvalid', 'message' => 'VAT No is not valid.', 'http_code' => 400, 'description' => 'The tax number format is illegal.'],
['code' => 'TransferFailed', 'message' => 'Transfer operation failed due to processing error, please try again.', 'http_code' => 400, 'description' => 'Transfer failed'],
['code' => 'TransferForbiddenWithoutCashBookPaymentMethod', 'message' => 'Non-credit users cannot use account balance. Please contact the business manager to apply for credit limit first.', 'http_code' => 400, 'description' => 'Non-credit control users cannot use the account balance, please contact the business manager to apply for credit control first.'],
['code' => 'UnconfirmedContractError', 'message' => 'The account you operate has a credit contract to be confirmed. Please confirm the contract first.', 'http_code' => 400, 'description' => 'The account you operate has a credit contract to be confirmed. Please confirm the contract first.'],
['code' => 'UniqueAgentLimit', 'message' => 'The valid agent already exists.', 'http_code' => 400, 'description' => 'The valid agent already exists, please replace the agent and re-create it"'],
['code' => 'UniqueIdNotValid', 'message' => 'The card binding request has expired. Please refresh and try again.', 'http_code' => 400, 'description' => 'The card binding request has failed. Please refresh the page and try again.'],
['code' => 'UnpayAmountNotEnough', 'message' => 'Unpay amount not enough.', 'http_code' => 400, 'description' => 'The bill is being written off. The amount you paid is greater than the remaining amount to be written off. Please do not pay again!'],
['code' => 'UNPAY_AMOUNT_NOT_ENOUGH', 'message' => 'unpay amount not enough.', 'http_code' => 400, 'description' => 'The bill is being written off. The amount you paid is greater than the remaining amount to be written off. Please do not pay again!'],
['code' => 'UpdateContractMemoError', 'message' => 'Error in modifying contract remarks.', 'http_code' => 400, 'description' => 'Error in modifying contract remarks'],
['code' => 'UserAccountInfoEmptyError', 'message' => 'AliyunId cannot be empty.', 'http_code' => 400, 'description' => 'aliyunId cannot be empty'],
['code' => 'UserIdInvalidError', 'message' => 'User not found.', 'http_code' => 400, 'description' => 'User not found'],
['code' => 'UserInfoEmptyError', 'message' => 'UserId cannot be empty.', 'http_code' => 400, 'description' => 'userId cannot be empty'],
['code' => 'UserInfoError', 'message' => 'User information provided is incomplete or contains invalid data.', 'http_code' => 400, 'description' => 'User information error'],
['code' => 'UsernameUidMismatch', 'message' => 'The entered UID and account name do not match, please verify and re-enter.', 'http_code' => 400, 'description' => 'The entered UID and account do not match, please enter correct account information'],
['code' => 'ValidAuth', 'message' => 'Valid auth check failed.', 'http_code' => 200, 'description' => 'Permission validation does not pass'],
['code' => 'VericationTimeExceedLimit', 'message' => 'Verification times exceeds limit, please try a different card.', 'http_code' => 400, 'description' => 'The number of verification times exceeds the limit, please change the card and try again.'],
['code' => 'WithdrawAmountExceedLimit', 'message' => 'Withdraw amount exceeds limit.', 'http_code' => 400, 'description' => 'Withdraw amount exceeds limit'],
['code' => 'InvoiceApplySpecialTitleOnlyForCommon', 'message' => 'The invoice title is the general ticket title of the special process application, and the special invoice cannot be issued.', 'http_code' => 400, 'description' => 'The invoice title is the general ticket title of the special process application, and the special invoice cannot be issued.'],
['code' => 'EnterpriseInvoiceTitleApplyOnlyForPersonal', 'message' => 'The application process is limited to personal real-name authentication users.', 'http_code' => 400, 'description' => 'The application process is limited to personal real-name authentication users'],
['code' => 'EnterpriseInvoiceTitleApplyAlreadyExist', 'message' => 'Invoice title data already exists in the application.', 'http_code' => 400, 'description' => 'Invoice title data already exists in the application.'],
['code' => 'InvoiceTitleRegisterNoIsEmpty', 'message' => 'Unified Social Credit Code cannot be empty.', 'http_code' => 400, 'description' => 'Unified Social Credit Code cannot be empty'],
['code' => 'RC_NO_REFUND_REMAIN_CHOSEN', 'message' => 'No refund resources selected.', 'http_code' => 502, 'description' => 'No refund resources selected'],
['code' => 'RC_NOREASON_REFUND_RESPONSE_INVALID', 'message' => 'Only one instance is allowed to be returned if there is no reason to unsubscribe at a time for five days.', 'http_code' => 514, 'description' => 'Only one instance is allowed to be returned if there is no reason to unsubscribe at a time for five days.'],
['code' => 'RC_INVALID_INSTANCE', 'message' => 'The instance you selected to unsubscribe is invalid, please return to the unsubscribe list page to refresh and try again.', 'http_code' => 504, 'description' => 'The instance you selected to unsubscribe is invalid, please return to the unsubscribe list page to refresh and try again'],
['code' => 'RC_QUERY_RESOURCE_ERROR', 'message' => 'Failed to obtain unsubscribe resource information.', 'http_code' => 509, 'description' => 'Failed to obtain unsubscribe resource information'],
['code' => 'RC_INVALID_RENEW_INSTANCE', 'message' => 'The instance unsubscription period you selected is invalid, please return to the unsubscription list page to refresh and try again.', 'http_code' => 506, 'description' => 'The instance unsubscription period you selected is invalid, please return to the unsubscription list page to refresh and try again'],
['code' => 'RC_SERVICE_TIMEOUT', 'message' => 'Service call timed out, try to reduce the number of queries and retry.', 'http_code' => 522, 'description' => 'Service call timed out, try to reduce the number of queries and retry'],
['code' => 'RISK_REJECT_RR321', 'message' => 'The request rejected by risk control.', 'http_code' => 400, 'description' => 'Request rejected by risk control'],
['code' => 'NOT_ALLOW_CANCEL_TRUSTSHIP', 'message' => 'Only supports setting to trusteeship.', 'http_code' => 400, 'description' => 'Only set to downtime hosting is supported'],
['code' => 'PayChannelPolicy', 'message' => 'The transaction is restricted by policy.', 'http_code' => 400, 'description' => 'The transaction is restricted by policy.'],
['code' => 'PayChannelStolenCard', 'message' => 'The card has been reported as stolen (fraud account).', 'http_code' => 400, 'description' => 'The card has been reported as stolen (fraud account).'],
['code' => 'PayChannelFraudReject', 'message' => 'The transaction was rejected due to risk control.', 'http_code' => 400, 'description' => 'The transaction was rejected due to risk control.'],
['code' => 'PayChannelBlockedByCardholder', 'message' => 'The card has been locked by the cardholder.', 'http_code' => 400, 'description' => 'The card has been locked by the cardholder.'],
['code' => 'PayChannelSellerAccountRestricted', 'message' => 'The seller\'s channel account is restricted.', 'http_code' => 400, 'description' => 'The seller\'s channel account is restricted.'],
['code' => 'PayChannelSelectedCardBrandNotAvailable', 'message' => 'The selected card brand is not available.', 'http_code' => 400, 'description' => 'The selected card brand is not available.'],
['code' => 'PayChannelRestrictedCard', 'message' => 'The issuing bank has restricted the usage scope of the card.', 'http_code' => 400, 'description' => 'The issuing bank has restricted the usage scope of the card.'],
['code' => 'PayChannelPayOrderInvalidStatus', 'message' => 'The payment order status in the payment channel is invalid.', 'http_code' => 400, 'description' => 'The payment order status in the payment channel is invalid.'],
['code' => 'PayChannelUserKycNotQualified', 'message' => 'Payment failed due to the user\'s KYC status.', 'http_code' => 400, 'description' => 'Payment failed due to the user\'s KYC status.'],
['code' => 'PayChannelReEnterTransaction', 'message' => 'The transaction cannot be processed temporarily.', 'http_code' => 400, 'description' => 'The transaction cannot be processed temporarily.'],
['code' => 'PayChannelCannotVerifyPin', 'message' => 'Unable to verify the PIN.', 'http_code' => 400, 'description' => 'Unable to verify the PIN.'],
['code' => 'PayChannelInvalidIssuer', 'message' => 'Unable to contact the cardholder\'s issuing bank for authorization.', 'http_code' => 400, 'description' => 'Unable to contact the cardholder\'s issuing bank for authorization.'],
['code' => 'PayChannelVerifyTimesExceedLimit', 'message' => 'Too many failed verification attempts for the current code.', 'http_code' => 400, 'description' => 'Too many failed verification attempts for the current code.'],
['code' => 'PayChannelOrderAlreadyPaid', 'message' => 'The order has already been paid in the payment channel.', 'http_code' => 400, 'description' => 'The order has already been paid in the payment channel.'],
['code' => 'PayChannelIdentityVerifyFailed', 'message' => 'Identity verification timed out or failed to obtain results.', 'http_code' => 400, 'description' => 'Identity verification timed out or failed to obtain results.'],
['code' => 'PayChannelPinRequired', 'message' => 'A PIN is required to process the transaction but was not provided.', 'http_code' => 400, 'description' => 'A PIN is required to process the transaction but was not provided.'],
['code' => 'PayChannelUserPaymentVerificationFailed', 'message' => 'The user failed payment verification such as OTP or PIN.', 'http_code' => 400, 'description' => 'The user failed payment verification such as OTP or PIN.'],
['code' => 'PayChannelBlockedFirstUsed', 'message' => 'The card may be temporarily frozen due to first-use activation or special conditions.', 'http_code' => 400, 'description' => 'The card may be temporarily frozen due to first-use activation or special conditions.'],
['code' => 'PayChannelOrderStatusInvalid', 'message' => 'The order status is invalid and cannot be processed.', 'http_code' => 400, 'description' => 'The order status is invalid and cannot be processed.'],
['code' => 'PayChannelIdentityAgeNotEnough', 'message' => 'The user\'s age does not meet the requirement.', 'http_code' => 400, 'description' => 'The user\'s age does not meet the requirement.'],
['code' => 'PayChannelLawViolation', 'message' => 'The transaction was rejected by the issuing bank.', 'http_code' => 400, 'description' => 'The transaction was rejected by the issuing bank.'],
['code' => 'PayChannelCloseFailed', 'message' => 'Failed to close the order in the payment channel.', 'http_code' => 400, 'description' => 'Failed to close the order in the payment channel.'],
['code' => 'PayChannelPayOrderNotExist', 'message' => 'The payment order does not exist in the payment channel.', 'http_code' => 400, 'description' => 'The payment order does not exist in the payment channel.'],
['code' => 'PayChannelCardNotSupported', 'message' => 'The bank card used for the transaction is not supported.', 'http_code' => 400, 'description' => 'The bank card used for the transaction is not supported.'],
['code' => 'PayChannelCloseInnerException', 'message' => 'Internal exception occurred while closing the order in the payment channel.', 'http_code' => 400, 'description' => 'Internal exception occurred while closing the order in the payment channel.'],
['code' => 'PayChannelUserAmountExceedLimit', 'message' => 'The payment amount exceeds the user\'s payment limit.', 'http_code' => 400, 'description' => 'The payment amount exceeds the user\'s payment limit.'],
['code' => 'PayChannelVerifyUnmatched', 'message' => 'The verification code is invalid.', 'http_code' => 400, 'description' => 'The verification code is invalid.'],
['code' => 'PayChannelPickupCard', 'message' => 'The issuing bank requests to retain the payment card, usually in suspected counterfeit or fraud scenarios.', 'http_code' => 400, 'description' => 'The issuing bank requests to retain the payment card, usually in suspected counterfeit or fraud scenarios.'],
['code' => 'PayChannelFailed', 'message' => 'The payment channel returned a failure.', 'http_code' => 400, 'description' => 'The payment channel returned a failure.'],
['code' => 'PayChannelBuyerAccountRestricted', 'message' => 'The buyer\'s channel account is restricted.', 'http_code' => 400, 'description' => 'The buyer\'s channel account is restricted.'],
['code' => 'PayChannelGeneralFail', 'message' => 'Unknown error occurred in the payment channel.', 'http_code' => 400, 'description' => 'Unknown error occurred in the payment channel.'],
['code' => 'PayChannelLostCard', 'message' => 'The card has been reported as lost (fraud account).', 'http_code' => 400, 'description' => 'The card has been reported as lost (fraud account).'],
['code' => 'PayChannelNoSelectedAccount', 'message' => 'The cardholder selected a non-existent account.', 'http_code' => 400, 'description' => 'The cardholder selected a non-existent account.'],
['code' => 'PayChannelLifecycle', 'message' => 'The transaction was rejected due to invalid card data.', 'http_code' => 400, 'description' => 'The transaction was rejected due to invalid card data.'],
['code' => 'PayChannelInvalidIdentityStatus', 'message' => 'The identity status is abnormal.', 'http_code' => 400, 'description' => 'The identity status is abnormal.'],
['code' => 'PayChannelSystemError', 'message' => 'External payment channel system error.', 'http_code' => 400, 'description' => 'External payment channel system error.'],
['code' => 'PayChannelAuthenticationRequired', 'message' => 'Payment channel requires 3D Secure authentication.', 'http_code' => 400, 'description' => 'Payment channel requires 3D Secure authentication.'],
['code' => 'PayChannelInvalidPin', 'message' => 'The provided PIN is incorrect or does not meet the requirements.', 'http_code' => 400, 'description' => 'The provided PIN is incorrect or does not meet the requirements.'],
['code' => 'PayChannelTradeStatusError', 'message' => 'The payment channel trade status does not support this operation.', 'http_code' => 400, 'description' => 'The payment channel trade status does not support this operation.'],
['code' => 'PayChannelExpiredCode', 'message' => 'The payment code has expired.', 'http_code' => 400, 'description' => 'The payment code has expired.'],
['code' => 'PayChannelTransactionNotAllowedAtTerminal', 'message' => 'The transaction is not allowed at the terminal.', 'http_code' => 400, 'description' => 'The transaction is not allowed at the terminal.'],
['code' => 'PayChannelStopRecurringPayment', 'message' => 'The cardholder has cancelled the recurring payment.', 'http_code' => 400, 'description' => 'The cardholder has cancelled the recurring payment.'],
['code' => 'InvalidCard', 'message' => 'The credit card is invalid.', 'http_code' => 400, 'description' => 'Your bank card is invalid. Please go to Payment Method Management to check and update your linked bank card.'],
['code' => 'PaymentParamIllegal', 'message' => 'The payment parameters are illegal.', 'http_code' => 400, 'description' => 'Payment parameters are incorrect. Please check and try again.'],
['code' => 'ExpiredCard', 'message' => 'The credit card has expired.', 'http_code' => 400, 'description' => 'Your credit card has expired. Please use another credit card.'],
['code' => 'BindCardNotExist', 'message' => 'The bindcard information was not found during payment.', 'http_code' => 400, 'description' => 'Binding card information not found. Please re-bind your card or contact customer service.'],
['code' => 'PaymentDeclinedByBank', 'message' => 'The payment was declined by the bank.', 'http_code' => 400, 'description' => 'Your bank declined this transaction. Please contact your bank for details.'],
['code' => 'PaymentOrderStatusInvalid', 'message' => 'The payment order status returned by the channel is invalid.', 'http_code' => 400, 'description' => 'The payment channel order status is abnormal. Please contact customer service.'],
['code' => 'AmountLimitExceed', 'message' => 'The amount exceeds the limit.', 'http_code' => 400, 'description' => 'The transaction amount exceeds the limit. Please adjust the amount or contact customer service.'],
['code' => 'ThirdPartyPayerAccountStatusInvalid', 'message' => 'The third-party payer account status is invalid.', 'http_code' => 400, 'description' => 'The third-party fund account status is abnormal. Please contact customer service.'],
['code' => 'InvalidCardNumber', 'message' => 'The credit card number is invalid.', 'http_code' => 400, 'description' => 'Your bank card number is invalid. Please go to Payment Method Management to check and update your linked bank card.'],
['code' => 'CurrencyNotSupport', 'message' => 'The currency is not supported.', 'http_code' => 400, 'description' => 'The current currency is not supported. Please change to another currency or payment method.'],
['code' => 'RepeatRefundRequestInconsist', 'message' => 'The repeated refund request parameters are inconsistent.', 'http_code' => 400, 'description' => 'The parameters for the second refund are inconsistent. Please check and try again.'],
['code' => 'PaymentOrderNotExist', 'message' => 'The payment order does not exist in the channel.', 'http_code' => 400, 'description' => 'The payment channel order does not exist. Please refresh the page or initiate a new transaction.'],
['code' => 'PaymentOrderIsClosed', 'message' => 'The payment order has been closed by the channel.', 'http_code' => 400, 'description' => 'The payment channel order has been closed. Please refresh the page or initiate a new transaction.'],
['code' => 'RefundTimeExceedLimit', 'message' => 'The refund time exceeds the maximum allowed refund period.', 'http_code' => 400, 'description' => 'The refund time has exceeded the allowed limit. Please contact customer service.'],
['code' => 'TradeInCaptureOrCancelNotAllowRefund', 'message' => 'Refund is not allowed when the trade is in capture or cancel status.', 'http_code' => 400, 'description' => 'The transaction status does not allow refunds. Please contact customer service.'],
['code' => 'PaymentChargeback', 'message' => 'The user has initiated a chargeback.', 'http_code' => 400, 'description' => 'The user has charged back this transaction. Please contact customer service.'],
['code' => 'TransactionTypeNotPermitted', 'message' => 'The credit card does not support this transaction type.', 'http_code' => 400, 'description' => 'Your credit card does not support this transaction type. Please use another credit card or payment method.'],
['code' => 'InvalidAmount', 'message' => 'The amount is invalid.', 'http_code' => 400, 'description' => 'The amount is invalid. Please check and try again.'],
['code' => 'RecurringPaymentForbidden', 'message' => 'The user has forbidden recurring payments.', 'http_code' => 400, 'description' => 'You have disabled direct debit. Please contact customer service.'],
['code' => 'RefundAmountExceedLimit', 'message' => 'The cumulative refund amount exceeds the payment order amount.', 'http_code' => 400, 'description' => 'The refund amount exceeds the total payment order amount. Please check the refund amount.'],
['code' => 'BillingAgreementCancelled', 'message' => 'The billing agreement has been cancelled.', 'http_code' => 400, 'description' => 'The direct debit agreement has been canceled. Please contact customer service.'],
['code' => 'RequestTrafficExceedLimit', 'message' => 'The request traffic exceeds the channel rate limit.', 'http_code' => 400, 'description' => 'Payment channel requests are too frequent. Please try again later.'],
['code' => 'ExpiryDateWrong', 'message' => 'The credit card expiry date is wrong.', 'http_code' => 400, 'description' => 'The credit card expiry date is incorrect. Please check and try again.'],
['code' => 'PaymentOrderFrozen', 'message' => 'The payment order has been frozen by the channel.', 'http_code' => 400, 'description' => 'The payment channel order has been frozen. Please contact customer service.'],
['code' => 'BillingAgreementIllegal', 'message' => 'The billing agreement status is illegal.', 'http_code' => 400, 'description' => 'The direct debit agreement status is abnormal. Please contact customer service.'],
['code' => 'Cvv2Declined', 'message' => 'The credit card CVV2 is invalid.', 'http_code' => 400, 'description' => 'The CVV2 you entered is invalid. Please check and try again.'],
['code' => 'AgreementNotExist', 'message' => 'The billing agreement does not exist.', 'http_code' => 400, 'description' => 'The direct debit agreement does not exist. Please contact customer service.'],
['code' => 'COUPON_NOT_FOUND', 'message' => 'No claimable SLA coupons.', 'http_code' => 400, 'description' => 'No claimable SLA coupons'],
['code' => 'CouponNotFound', 'message' => 'No claimable SLA coupons.', 'http_code' => 400, 'description' => 'No claimable SLA coupons'],
['code' => 'InvoiceTitleNotExistSubSite', 'message' => 'There is currently no valid invoice title, please add a title before submitting the application.', 'http_code' => 400, 'description' => 'There is currently no valid invoice header, please add a header before submitting the application.'],
['code' => 'InvoiceCnApiNotSupportInIntlSite', 'message' => 'Domestic station interface, not callable in international environment.', 'http_code' => 400, 'description' => 'Domestic station interface, not callable in international environment'],
['code' => 'InvoiceIntlApiNotSupportInCnSite', 'message' => 'International station interface, cannot be called in domestic environment.', 'http_code' => 400, 'description' => 'International station interface, cannot be called in domestic environment'],
['code' => 'InvoiceApplyAmountNotEnough', 'message' => 'The current invoiced amount exceeds the total invoiced amount, please check the order again.', 'http_code' => 400, 'description' => 'The current invoiced amount exceeds the total invoiced amount, please check the order again.'],
['code' => 'InvoiceApplyAmountNotEnoughSubSite', 'message' => 'The currently submitted invoicing amount exceeds the total invoicing amount, please check again.', 'http_code' => 400, 'description' => 'The currently submitted invoicing amount exceeds the total invoicing amount, please check again'],
['code' => 'SUBSCRIPTION_0001', 'message' => 'invalid param.', 'http_code' => 400, 'description' => 'Parameter error'],
['code' => 'SUBSCRIPTION_0007', 'message' => 'Limited to once per hour.', 'http_code' => 400, 'description' => 'Only one operation per hour is allowed. If you need to modify it again, please try again next hour.'],
['code' => 'MultiAccountQueryNotSupported', 'message' => 'The historical month dimension summary does not support multi-account query.', 'http_code' => 400, 'description' => 'Under the "By Product/By Account" dimension, only single account viewing is supported for this month. Switch to other dimensions to view multiple accounts or obtain through export.'],
['code' => 'LimitedOperation', 'message' => 'Limited to once per hour.', 'http_code' => 400, 'description' => 'Only one operation is permitted per hour. If you need to make further changes, please try again in one hour.'],
['code' => 'F-10000-16-00609', 'message' => 'Subscription not exist.', 'http_code' => 405, 'description' => 'Subscription does not exist'],
],
'changeSet' => [
[
'apis' => [
['description' => 'Error codes changed', 'api' => 'CreateFundAccountTransfer'],
],
'createdAt' => '2025-12-05T11:34:07.000Z',
'description' => '',
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
],
],
'ram' => [
'productCode' => 'BssOpenApi',
'productName' => 'Alibaba Cloud Billing API',
'ramCodes' => ['bss', 'bssapi', 'efc'],
'ramLevel' => 'OPERATION',
'ramConditions' => [
[
'name' => 'bssapi:ProductType',
'schema' => ['type' => 'STRING', 'description' => 'Product type for operating resources. Example: ecs'],
],
[
'name' => 'bssapi:ProductCode',
'schema' => ['type' => 'STRING', 'description' => 'Product code for operating resources. Example: ecs'],
],
],
'ramActions' => [
[
'apiName' => 'DescribeCouponItemList',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeCouponItemList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryCostByCostCenter',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CheckBudgetNameExists',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:CheckBudgetNameExists',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetFundAccountCanWithdrawAmount',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetFundAccountCanTransferAmount',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeBillingAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'AllocateCostCenterResource',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:AllocateCostUnitResource',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListInvoiceCandidate',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeQueryInvoice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateCostCenter',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryCostCenterResource',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'bss:DescribeCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetFundAccountLowAvailableAmountAlarm',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeAlarm',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeFrInstances',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeFrInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryCostCenterRule',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListFundAccount',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeBillingAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'SaveCostCenterShareRule',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeDeductLogs',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeFrDeductLogs',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ModifyCostCenter',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListInvoiceTitle',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeQueryInvoice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateReportDefinition',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ModifyOssSub',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ModifyCostCenterRule',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateCostCenterRule',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteCostCenterRule',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeCoupon',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeCoupon',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateInvoice',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ApplyInvoice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteReportDefinition',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'bss:ModifyOssSub',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeBudgets',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeBudgets',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'SetFundAccountLowAvailableAmountAlarm',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyAlarm',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetFundAccountAvailableAmount',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeBillingAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListFundAccountPayRelation',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeBillingAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteCostCenter',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CancelFundAccountLowAvailableAmountAlarm',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyAlarm',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetFundAccountCanRecycleAmount',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeBillingAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryCostCenterShareRule',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryCostCenter',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetOrderDetail',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeOrderDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListReportDefinitions',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'bss:DescribeOss',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetFundAccountTransactionDetails',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeFund',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetOrders',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryOrders',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryMonthlySlaList',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryMonthlySlaList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'SubmitSlaCouponApply',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'bssapi:SubmitSlaCouponApply',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'SetFundAccountCreditAmount',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'efc:ModifyCredit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetFundAccountCanAllocateCreditAmount',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'efc:ModifyCredit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateFundAccountTransfer',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'efc:ModifyTransfer',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'resourceTypes' => [],
],
];
|