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
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'RPC', 'product' => 'aiccs', 'version' => '2023-05-16'],
'directories' => [
'AddBlacklist', 'AddTask', 'AgentCancelCall', 'AgentRecoverCall', 'Details', 'EditTask', 'ImportNumber', 'ImportNumberV2', 'Page', 'SmsTemplateCreate', 'SmsTemplatePageList', 'TaskCallChats', 'TaskCallInfo', 'TaskCallList', 'TaskCancelCall', 'TaskList', 'TaskRecoverCall', 'TemplateList', 'UpdateAgentStatus', 'UpdateTaskCustomer',
'QuickAddTask',
],
'components' => [
'schemas' => [],
],
'apis' => [
'AddBlacklist' => [
'summary' => '行业版-添加黑名单。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '179242',
'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'],
],
'parameters' => [
[
'name' => 'Numbers',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '号码列表',
'description' => '号码列表',
'type' => 'array',
'items' => ['title' => '', 'description' => '手机号码', 'type' => 'string', 'required' => false, 'example' => '1380001****'],
'required' => true,
'example' => '',
],
],
[
'name' => 'ExpiredDay',
'in' => 'query',
'schema' => ['title' => '有效天数', 'description' => '有效天数', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'name' => 'Remark',
'in' => 'query',
'schema' => ['title' => '备注', 'description' => '备注', 'type' => 'string', 'required' => true, 'example' => '备注'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'UnHandleNumbers' => [
'title' => '错误手机号',
'description' => '未识别的手机号',
'type' => 'array',
'items' => ['description' => '手机号码', 'type' => 'string', 'example' => '1380001****'],
'example' => '',
],
],
'example' => '',
],
'Code' => ['description' => '请求状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['description' => '操作是否成功:true:操作成功 false:操作失败', 'type' => 'string', 'example' => 'true'],
],
'description' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"1380001****\\"\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '行业版-添加黑名单',
'description' => '针对行业版外呼拦截号码黑名单',
'requestParamsDescription' => '支持批量拉黑,最高支持5000个号码',
'changeSet' => [],
'ramActions' => [],
],
'AddTask' => [
'summary' => '行业版-创建任务。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREaiccsD1POR4'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TaskType',
'in' => 'query',
'schema' => ['title' => '任务类型', 'description' => '任务类型 1:批量-AI外呼-不转人工,2:批量-语音通知,6:新语音通知(22年10月后入驻的企业的默认语音通知类型)', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '任务名称', 'description' => '任务名称', 'type' => 'string', 'required' => true, 'example' => '任务名称'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['title' => '任务启动日期', 'description' => '任务启动日期', 'type' => 'string', 'required' => false, 'example' => '2022-09-16'],
],
[
'name' => 'TemplateType',
'in' => 'query',
'schema' => ['title' => '话术模板类型', 'description' => '话术模板类型 : 1: 单模 版;2:智能话术策略模板。不填默认1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'TemplateId',
'in' => 'query',
'schema' => ['title' => '话术模板ID', 'description' => '话术模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '17'],
],
[
'name' => 'MaxConcurrency',
'in' => 'query',
'schema' => ['title' => '并发数', 'description' => '并发数 默认为1,不可超过企业设置最高并发数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '99'],
],
[
'name' => 'RecallType',
'in' => 'query',
'schema' => ['title' => '重呼配置', 'description' => '重呼配置 可选值:1,2,3,默认为1; 1:不重呼;2:间隔重呼;3:定时重呼', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '53'],
],
[
'name' => 'RepeatInterval',
'in' => 'query',
'schema' => ['title' => '重呼间隔', 'description' => '重呼间隔 当重呼选项为2时,必填;单位为分钟,支持≥1的正整数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14'],
],
[
'name' => 'RepeatCount',
'in' => 'query',
'schema' => ['title' => '重呼次数', 'description' => '重呼次数 当重呼选项为2时,必填;支持≥1正整数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '37'],
],
[
'name' => 'RepeatTimes',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '重呼时间',
'description' => '重呼时间',
'type' => 'array',
'items' => ['title' => '重呼时间', 'description' => '当重呼选项为3时,必填;格式为["8:00","9:00"],多个时间点用,隔开 可以选值穷举:'."\n"
.'"7:00", "7:30", "8:00", "8:30", "9:00", "9:30", "10:00", "10:30", "11:00", "11:30", "12:00", "12:30", "13:00", "13:30", "14:00", "14:30", "15:00", "15:30", "16:00", "16:30", "17:00", "17:30", "18:00", "18:30", "19:00", "19:30", "20:00", "20:30", "21:00", "21:30", "22:00"', 'type' => 'string', 'required' => false, 'example' => '22:00'],
'required' => false,
'example' => '示例值',
],
],
[
'name' => 'RecordPath',
'in' => 'query',
'schema' => ['title' => '录音地址', 'description' => '录音地址 当企业开通业务类型是语音通知时,必填', 'type' => 'string', 'required' => false, 'example' => '示例值'],
],
[
'name' => 'PlaySleepVal',
'in' => 'query',
'schema' => ['title' => '播放间隔时长', 'description' => '播放间隔时长 当企业开通业务类型是语音通知时,必填;单位为秒,支持输入≥0的正整数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '89'],
],
[
'name' => 'PlayTimes',
'in' => 'query',
'schema' => ['title' => '录音播放次数', 'description' => '录音播放次数 当企业开通业务类型是语音通知时,必填;支持输入≥0的正整数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51'],
],
[
'name' => 'RepeatReason',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '重呼条件',
'description' => '重呼条件',
'type' => 'array',
'items' => ['title' => '重呼条件', 'description' => '可多选,不传时默认条件全部'."\n"
.'重呼条件是指上一通外呼状态,如“占线”“空号”'."\n"
.'注,重呼条件编码与描述对应:'."\n"
."\n"
.'2 "关机",'."\n"
.'3 "空号",'."\n"
.'4 "改号",'."\n"
.'5 "停机",'."\n"
.'6 "占线",'."\n"
.'7 "拒接",'."\n"
.'8 "无法接通",'."\n"
.'9 "未接",'."\n"
.'10 "用户欠费",'."\n"
.'11 "线路故障",'."\n"
.'12 "呼叫失败"'."\n"
.'30 "已拦截"'."\n"
.'40 "单日呼叫次数受限"', 'type' => 'string', 'required' => false, 'example' => '2'],
'required' => false,
'example' => '',
],
],
[
'name' => 'CallTimeList',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '外呼时间',
'description' => '外呼时间 格式举例:“8:30-12:00 13:30-19:00”则传[[8.5,12][13.5,19]];默认为[[8,20]]',
'type' => 'array',
'items' => [
'title' => '外呼时间 格式举例:“8:30-12:00 13:30-19:00”则传[[8.5,12][13.5,19]];默认为[[8,20]]',
'description' => '外呼时间 格式举例:“8:30-12:00 13:30-19:00”则传[[8.5,12][13.5,19]];默认为[[8,20]]',
'type' => 'object',
'properties' => [
'CallTime' => [
'title' => '外呼时间 8.5',
'description' => '外呼时间',
'type' => 'array',
'items' => ['title' => '外呼时间 8.5', 'description' => '外呼时间 8.5', 'type' => 'string', 'required' => false, 'example' => '8.5'],
'required' => false,
'example' => '',
],
],
'required' => false,
],
'required' => false,
'enumValueTitles' => [],
'example' => '14',
],
],
[
'name' => 'SendSmsPlan',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '短信发送规则',
'description' => '短信发送规则',
'type' => 'array',
'items' => [
'title' => '短信发送规则',
'description' => '短信发送规则',
'type' => 'object',
'properties' => [
'IntentTags' => [
'title' => '意向标签',
'description' => '意向标签',
'type' => 'array',
'items' => ['title' => '命中的意向标签,大写,例如:["A", "B"],符合任意条件便会触发短信', 'description' => '命中的意向标签,大写,例如:["A", "B"],符合任意条件便会触发短信', 'type' => 'string', 'required' => false, 'example' => 'A'],
'required' => false,
'example' => '',
],
'SmsTemplateId' => ['title' => '短信模板ID', 'description' => '短信模板id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '71'],
],
'required' => false,
],
'required' => false,
'example' => '',
],
],
[
'name' => 'CallbackUrl',
'in' => 'query',
'schema' => ['title' => '回调地址', 'description' => '回调地址', 'type' => 'string', 'required' => false, 'example' => '示例值示例值示例值'],
],
[
'name' => 'FlashSmsType',
'in' => 'query',
'schema' => ['title' => '发送闪信配置', 'description' => '发送闪信配置', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'default' => ''],
],
[
'name' => 'FlashSmsTemplateId',
'in' => 'query',
'schema' => ['title' => '当发送闪信配置为1时,闪信模板ID必填', 'description' => '当发送闪信配置为1时,闪信模板ID必填', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '96', 'default' => ''],
],
[
'name' => 'CallTimeStrList',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]',
'description' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]',
'type' => 'array',
'items' => [
'title' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]',
'description' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]',
'type' => 'object',
'properties' => [
'CallTime' => [
'title' => '第一个调用时间字符串',
'description' => '第一个调用时间字符串',
'type' => 'array',
'items' => ['title' => '第一个调用时间字符串', 'description' => '第一个调用时间字符串', 'type' => 'string', 'required' => false, 'example' => '"08:31"'],
'required' => false,
'example' => '',
],
],
'required' => false,
],
'required' => false,
'example' => '',
],
],
[
'name' => 'WeekTag',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '外呼时间需要的按星期几进行外呼,例:“1,2,3,4,5,6,7”,代表周一到周日都外呼',
'description' => '外呼时间需要的按星期几进行外呼,例:[1,2,3,4,5,6,7],代表周一到周日都外呼',
'type' => 'array',
'items' => ['title' => '星期三', 'description' => '星期三', 'type' => 'string', 'required' => false, 'example' => '3'],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'AccessDeniedDetail',
'description' => 'AccessDeniedDetail',
'type' => 'object',
'properties' => [
'AccessDeniedDetail' => ['title' => '访问被拒绝的详细信息', 'description' => '访问被拒绝的详细信息', 'type' => 'string', 'example' => 'None'],
'Message' => ['title' => '返回消息。', 'description' => '返回消息。', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['title' => '唯一请求识别码。', 'description' => '唯一请求识别码。', 'type' => 'string', 'example' => '5453cc9b-02bc-4dbb-9527-f28a9100b912'],
'Model' => [
'title' => '返回结果',
'description' => '返回结果',
'type' => 'object',
'properties' => [
'TaskId' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '47'],
],
'example' => '',
],
'Code' => ['title' => '状态码。', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['title' => '操作时间戳ID', 'description' => '操作时间戳ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1686225227338'],
'Success' => ['title' => '操作是否成功。取值:true:成功。false:失败。', 'description' => '操作是否成功。取值:true:成功。false:失败。', 'type' => 'boolean', 'example' => 'false'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"5453cc9b-02bc-4dbb-9527-f28a9100b912\\",\\n \\"Model\\": {\\n \\"TaskId\\": 47\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1686225227338,\\n \\"Success\\": false\\n}","type":"json"}]',
'title' => '行业版-创建任务',
'description' => '行业版-创建任务',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddTask'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:AddTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'AgentCancelCall' => [
'summary' => '行业版-坐席取消外呼。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179248',
'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'AgentId',
'in' => 'query',
'schema' => ['title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '64'],
],
[
'name' => 'AgentTag',
'in' => 'query',
'schema' => ['title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'required' => false, 'example' => 'abc'],
],
[
'name' => 'Numbers',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '号码列表',
'description' => '号码列表',
'type' => 'array',
'items' => ['description' => '手机号码', 'type' => 'string', 'required' => false, 'example' => '13314206082'],
'required' => false,
'example' => '',
],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '用户自定义标签列表',
'description' => '用户自定义标签列表',
'type' => 'array',
'items' => ['description' => '标签。', 'type' => 'string', 'required' => false, 'example' => 'tag1'],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'UnHandleNumbers' => [
'title' => '错误手机列表',
'description' => '未识别手机号列表',
'type' => 'array',
'items' => ['description' => '未识别的手机号', 'type' => 'string', 'example' => '13100000000'],
'example' => '',
],
],
'example' => '',
],
'Code' => ['description' => '错误编码 0表示成功', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['description' => '调用接口是否成功。取值:'."\n"
.'- **true**:成功。'."\n"
.'- **false**:失败。', 'type' => 'string', 'example' => 'true'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"13100000000\\"\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '行业版-坐席取消外呼',
'changeSet' => [],
'ramActions' => [],
],
'AgentRecoverCall' => [
'summary' => '针对坐席取消外呼的号码,回复到待外呼状态,进行外呼。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179246',
'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'AgentId',
'in' => 'query',
'schema' => ['title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5'],
],
[
'name' => 'AgentTag',
'in' => 'query',
'schema' => ['title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'required' => false, 'example' => 'abc'],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '用户自定义标签列表',
'description' => '用户自定义标签列表',
'type' => 'array',
'items' => ['description' => '标签。', 'type' => 'string', 'required' => false, 'example' => 'tag1'],
'required' => false,
'example' => '',
],
],
[
'name' => 'Numbers',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '号码列表',
'description' => '号码列表',
'type' => 'array',
'items' => ['description' => '手机号码', 'type' => 'string', 'required' => false, 'example' => '13541251222,18665214444'],
'required' => false,
'example' => '',
],
],
[
'name' => 'BeginImportTime',
'in' => 'query',
'schema' => ['title' => '查询开始导入时间', 'description' => '查询开始导入时间', 'type' => 'string', 'required' => false, 'example' => ' 2020-03-06 10:10:10', 'default' => '"2023-01-09 18:58:19"'],
],
[
'name' => 'EndImportTime',
'in' => 'query',
'schema' => ['title' => '查询结束导入时间', 'description' => '查询结束导入时间', 'type' => 'string', 'required' => false, 'example' => ' 2021-03-06 10:10:10', 'default' => '"2023-01-09 18:58:19"'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'UnHandleNumbers' => [
'title' => '错误手机列表',
'description' => '未识别手机号列表',
'type' => 'array',
'items' => ['description' => '未识别的手机号', 'type' => 'string', 'example' => '13314206082'],
'example' => '',
],
],
'example' => '',
],
'Code' => ['description' => '错误编码 0表示成功', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['title' => '坐席标签', 'description' => '操作是否成功:true:操作成功 false:操作失败', 'type' => 'string', 'example' => 'true'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"13314206082\\"\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '行业版-坐席恢复外呼',
'changeSet' => [],
'ramActions' => [],
],
'Details' => [
'summary' => 'AI批量任务查询号码状态。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['title' => '任务id', 'description' => '任务id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '90'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['title' => '开始导入时间', 'description' => '开始导入的时间:yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-04-25 15:19:02'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['title' => '结束导入时间', 'description' => '结束导入时间 yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-04-25 15:19:02'],
],
[
'name' => 'BatchId',
'in' => 'query',
'schema' => ['title' => '批次id', 'description' => '批次id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '75'],
],
[
'name' => 'Numbers',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '号码列表',
'description' => '号码列表',
'type' => 'array',
'items' => ['description' => '需要精确查询的号码,,支持批量 最大1000个号码', 'type' => 'string', 'required' => false, 'example' => '13541251222'],
'required' => false,
'example' => '',
],
],
[
'name' => 'NumberStatus',
'in' => 'query',
'schema' => ['title' => '号码状态', 'description' => '需要精确查询的号码状态:'."\n"
.'1.未能外呼;'."\n"
.'2.进行中外呼;'."\n"
.'3.已完成外呼;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageNo',
'in' => 'query',
'schema' => ['title' => '页数', 'description' => '页数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '77'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['title' => '每页条数', 'description' => '每页条数', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '389b2d0a-37e2-406d-b576-1fc0827be46a'],
'Model' => [
'description' => '模型。',
'type' => 'object',
'properties' => [
'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '79'],
'PageSize' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '94'],
'TotalPage' => ['description' => '总页数', 'type' => 'number', 'format' => 'float', 'example' => '10'],
'PageNo' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'List' => [
'description' => '列表',
'type' => 'array',
'items' => [
'description' => '记录',
'type' => 'object',
'properties' => [
'TaskId' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '28'],
'BatchId' => ['title' => '批次号', 'description' => '批次号', 'type' => 'integer', 'format' => 'int64', 'example' => '27'],
'CallDesc' => ['title' => '呼叫状态描述', 'description' => '呼叫状态描述 如“已接听”“拒接”'."\n"
.'当号码状态为1时,对应描述为:'."\n"
.'-516 "外呼号码并发限制"'."\n"
.'-515 "号码频次受限"'."\n"
.'-514 "没有配置线路"'."\n"
.'-513 "并发限制"'."\n"
.'-512 "非外呼时间"'."\n"
.'-511 "屏蔽区号"'."\n"
.'-310 "等待分发"'."\n"
.'-210 "取消呼叫(查还款失败)"'."\n"
.'-110 "取消呼叫(已还款)"'."\n"
.'-20 "座席未在线"'."\n"
.'-19 "座席未接听"'."\n"
.'-18 "呼叫座席失败"'."\n"
.'-17 "取消呼叫"'."\n"
.'-16 "超时未外呼"'."\n"
.'-15 "获取语音网关信息失败"'."\n"
.'-14 "MD5转手机号失败"'."\n"
.'-13 "预缓存音频文件失败"'."\n"
.'当号码状态为2时,对应描述为:'."\n"
.'-12 "预缓存音频文件中"'."\n"
.'-11 "等待预缓存音频文件"'."\n"
.'-10 "未开始"'."\n"
.'-9 "等待外呼"'."\n"
.'-8 "呼叫中"'."\n"
.'-7 "AI通话中"'."\n"
.'-6 "分配坐席中"'."\n"
.'-5 "人工通话中"'."\n"
.'-4 "监听振铃中"'."\n"
.'-3 "监听失败"'."\n"
.'-2 "监听中"'."\n"
.'当号码状态为3时,对应描述为:'."\n"
.'1 "已接听",'."\n"
.'2 "关机",'."\n"
.'3 "空号",'."\n"
.'4 "改号",'."\n"
.'5 "停机",'."\n"
.'6 "占线",'."\n"
.'7 "拒接",'."\n"
.'8 "无法接通",'."\n"
.'9 "未接",'."\n"
.'10 "用户欠费",'."\n"
.'11 "线路故障",'."\n"
.'12 "呼叫失败"'."\n"
.'30 "已拦截" '."\n"
.'40 "单日呼叫次数受限"', 'type' => 'string', 'example' => '已接听'],
'CallId' => ['title' => '外呼ID', 'description' => '外呼ID', 'type' => 'string', 'example' => '28dd74a4-30ec-43c0-9bec-272924c51eeb'],
'CallType' => ['title' => '外呼类型', 'description' => '外呼类型 可选项:'."\n"
.'2001:批量-预测外呼,2002:批量-AI外呼-不转人工,2003:批量-AI外呼-接通转人工,2004: 批量-AI外呼-智能转人工,2005:批量-语音通知', 'type' => 'integer', 'format' => 'int64', 'example' => '2001'],
'CallStatus' => ['title' => '呼叫状态', 'description' => '呼叫状态 如1'."\n"
.'当号码状态为1时,对应描述为:'."\n"
.'-516 "外呼号码并发限制"'."\n"
.'-515 "号码频次受限"'."\n"
.'-514 "没有配置线路"'."\n"
.'-513 "并发限制"'."\n"
.'-512 "非外呼时间"'."\n"
.'-511 "屏蔽区号"'."\n"
.'-310 "等待分发"'."\n"
.'-210 "取消呼叫(查还款失败)"'."\n"
.'-110 "取消呼叫(已还款)"'."\n"
.'-20 "座席未在线"'."\n"
.'-19 "座席未接听"'."\n"
.'-18 "呼叫座席失败"'."\n"
.'-17 "取消呼叫"'."\n"
.'-16 "超时未外呼"'."\n"
.'-15 "获取语音网关信息失败"'."\n"
.'-14 "MD5转手机号失败"'."\n"
.'-13 "预缓存音频文件失败"'."\n"
.'当号码状态为2时,对应描述为:'."\n"
.'-12 "预缓存音频文件中"'."\n"
.'-11 "等待预缓存音频文件"'."\n"
.'-10 "未开始"'."\n"
.'-9 "等待外呼"'."\n"
.'-8 "呼叫中"'."\n"
.'-7 "AI通话中"'."\n"
.'-6 "分配坐席中"'."\n"
.'-5 "人工通话中"'."\n"
.'-4 "监听振铃中"'."\n"
.'-3 "监听失败"'."\n"
.'-2 "监听中"'."\n"
.'当号码状态为3时,对应描述为:'."\n"
.'1 "已接听",'."\n"
.'2 "关机",'."\n"
.'3 "空号",'."\n"
.'4 "改号",'."\n"
.'5 "停机",'."\n"
.'6 "占线",'."\n"
.'7 "拒接",'."\n"
.'8 "无法接通",'."\n"
.'9 "未接",'."\n"
.'10 "用户欠费",'."\n"
.'11 "线路故障",'."\n"
.'12 "呼叫失败"'."\n"
.'30 "已拦截" '."\n"
.'40 "单日呼叫次数受限"', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'ImportTime' => ['title' => '导入时间', 'description' => '导入时间 yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '2023-04-25 15:19:02'],
'NumberDesc' => ['title' => '号码状态描述', 'description' => '号码状态描述 ,如“未能外呼”'."\n"
.'1.未能外呼;'."\n"
.'2.进行中外呼;'."\n"
.'3.已完成外呼;', 'type' => 'string', 'example' => '未能外呼'],
'Number' => ['title' => '外呼号码', 'description' => '外呼号码', 'type' => 'string', 'example' => '188******454'],
'InterceptReason' => ['title' => '拦截原因', 'description' => '拦截原因 当状态为已拦截时,可选值:黑名单拦截,灰名单拦截,异常号码拦截', 'type' => 'string', 'example' => '黑名单拦截'],
'NumberStatus' => ['title' => '号码状态', 'description' => '号码状态,如“未能外呼”'."\n"
.'1.未能外呼;'."\n"
.'2.进行中外呼;'."\n"
.'3.已完成外呼;', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Tag' => ['title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'example' => 'A'],
'NumberMD5' => ['title' => '外呼号码MD5', 'description' => '外呼号码MD5', 'type' => 'string', 'example' => 'cbe1b40f76f2cca4735954886b706ffa'],
],
],
'example' => '',
],
],
'example' => '',
],
'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1686279332221'],
'Success' => ['description' => '表示是否调用成功。true:调用成功。 false:调用失败。', 'type' => 'boolean', 'example' => 'false'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"389b2d0a-37e2-406d-b576-1fc0827be46a\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 79,\\n \\"PageSize\\": 94,\\n \\"TotalPage\\": 10,\\n \\"PageNo\\": 100,\\n \\"List\\": [\\n {\\n \\"TaskId\\": 28,\\n \\"BatchId\\": 27,\\n \\"CallDesc\\": \\"已接听\\",\\n \\"CallId\\": \\"28dd74a4-30ec-43c0-9bec-272924c51eeb\\",\\n \\"CallType\\": 2001,\\n \\"CallStatus\\": 1,\\n \\"ImportTime\\": \\"2023-04-25 15:19:02\\",\\n \\"NumberDesc\\": \\"未能外呼\\",\\n \\"Number\\": \\"188******454\\",\\n \\"InterceptReason\\": \\"黑名单拦截\\",\\n \\"NumberStatus\\": 1,\\n \\"Tag\\": \\"A\\",\\n \\"NumberMD5\\": \\"cbe1b40f76f2cca4735954886b706ffa\\"\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1686279332221,\\n \\"Success\\": false\\n}","type":"json"}]',
'title' => '行业版-AI批量任务查询号码状态',
'description' => 'AI批量任务查询号码状态',
'changeSet' => [],
'ramActions' => [],
],
'EditTask' => [
'summary' => '行业版-编辑任务。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['title' => '任务id', 'description' => '任务id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '29'],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => ['title' => '任务状态', 'description' => '任务状态 修改任务状态,2:开启;4:停止;'."\n"
.'注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '任务名称', 'description' => '任务名称 修改任务名称,不能超过100个字符;'."\n"
.'注:不传参视为不修改;', 'type' => 'string', 'required' => false, 'example' => '任务名称'."\n"
."\n"],
],
[
'name' => 'TemplateType',
'in' => 'query',
'schema' => ['title' => '话术模板类型', 'description' => '话术模板类型 1:单模 版;2:智能话术策略模板;'."\n"
.'注:不传参视为不修改', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'TemplateId',
'in' => 'query',
'schema' => ['title' => '话术模板ID', 'description' => '话术模板ID 注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '24'],
],
[
'name' => 'MaxConcurrency',
'in' => 'query',
'schema' => ['title' => '并发数', 'description' => '并发数 修改并发数。默认为1,不可超过企业设置最高并发数;'."\n"
.'注:不传参视为不修改', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '83'],
],
[
'name' => 'RecallType',
'in' => 'query',
'schema' => ['title' => '重呼配置', 'description' => '重呼配置 可选值:1,2,3,默认为1; 1:不重呼;2:间隔重呼;3:定时重呼;'."\n"
.'注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'CallTimeList',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '外呼时间',
'description' => '外呼时间 格式举例:“8:30-12:00 13:30-19:00”则传[[8.5,12][13.5,19]];'."\n"
.'注:不传参视为不修改;',
'type' => 'array',
'items' => [
'title' => '外呼时间 格式举例:“8:30-12:00 13:30-19:00”则传[[8.5,12][13.5,19]];'."\n"
.'注:不传参视为不修改;',
'description' => '外呼时间 格式举例:“8:30-12:00 13:30-19:00”则传[[8.5,12][13.5,19]];'."\n"
.'注:不传参视为不修改;',
'type' => 'object',
'properties' => [
'CallTime' => [
'title' => '外呼时间',
'description' => '外呼时间',
'type' => 'array',
'items' => ['title' => '外呼时间', 'description' => '外呼时间', 'type' => 'string', 'required' => false, 'example' => '8.5'],
'required' => false,
'example' => '',
],
],
'required' => false,
],
'required' => false,
'example' => '',
],
],
[
'name' => 'RepeatInterval',
'in' => 'query',
'schema' => ['title' => '重呼间隔', 'description' => '重呼间隔 当重呼选项为2时,必填;单位为分钟,支持≥1的正整数'."\n"
.'注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '91'],
],
[
'name' => 'RepeatCount',
'in' => 'query',
'schema' => ['title' => '重呼次数', 'description' => '重呼次数 当重呼选项为2时,必填;支持≥1正整数'."\n"
.'注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51'],
],
[
'name' => 'RepeatTimes',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '重呼时间',
'description' => '重呼时间',
'type' => 'array',
'items' => ['title' => '重呼时间', 'description' => '当重呼选项为3时,必填;格式为["8:00","9:00"],多个时间点用,隔开 可以选值穷举:'."\n"
.'"7:00", "7:30", "8:00", "8:30", "9:00", "9:30", "10:00", "10:30", "11:00", "11:30", "12:00", "12:30", "13:00","13:30", "14:00", "14:30", "15:00", "15:30", "16:00", "16:30", "17:00", "17:30", "18:00", "18:30", "19:00", "19:30", "20:00", "20:30", "21:00", "21:30", "22:00"'."\n"
.'注:不传参视为不修改;', 'type' => 'string', 'required' => false, 'example' => '8:30'],
'required' => false,
'example' => '',
],
],
[
'name' => 'RecordPath',
'in' => 'query',
'schema' => ['title' => '录音地址', 'description' => '录音地址', 'type' => 'string', 'required' => false, 'example' => '示例值示例值示例值'],
],
[
'name' => 'PlaySleepVal',
'in' => 'query',
'schema' => ['title' => '播放间隔时长', 'description' => '播放间隔时长', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '29'],
],
[
'name' => 'PlayTimes',
'in' => 'query',
'schema' => ['title' => '录音播放次数', 'description' => '录音播放次数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60'],
],
[
'name' => 'SendSmsPlan',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '短信发送规则',
'description' => '短信发送规则 设定挂机短信的发送规则,若为空,则视为不发送',
'type' => 'array',
'items' => [
'title' => '短信发送规则 设定挂机短信的发送规则,若为空,则视为不发送',
'description' => '短信发送规则 设定挂机短信的发送规则,若为空,则视为不发送',
'type' => 'object',
'properties' => [
'IntentTags' => [
'title' => '意向标签',
'description' => '意向标签',
'type' => 'array',
'items' => ['title' => '意向标签数组,大写,例如:["A", "B"]', 'description' => '意向标签数组,大写,例如:["A", "B"]', 'type' => 'string', 'required' => false, 'example' => 'A'],
'required' => false,
'example' => '',
],
'SmsTemplateId' => ['title' => '短信模板ID', 'description' => '短信模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
'required' => false,
],
'required' => false,
'example' => '',
],
],
[
'name' => 'RepeatReason',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '重呼条件',
'description' => '重呼条件',
'type' => 'array',
'items' => ['title' => '重呼条件', 'description' => '可多选,不传时默认条件为[2, 3,4, 5,6, 8,9,10,11, 12] '."\n"
.'重呼条件是指上一通外呼状态,如“占线”“空号”'."\n"
.'注,重呼条件编码与描述对应:'."\n"
."\n\n"
."\n"
.'2 "关机",'."\n"
.'3 "空号",'."\n"
.'4 "改号",'."\n"
.'5 "停机",'."\n"
.'6 "占线",'."\n"
.'7 "拒接",'."\n"
.'8 "无法接通",'."\n"
.'9 "未接",'."\n"
.'10 "用户欠费",'."\n"
.'11 "线路故障",'."\n"
.'12 "呼叫失败"'."\n"
.'30 "已拦截"'."\n"
.'40 "单日呼叫次数受限"', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'],
'required' => false,
'example' => '',
],
],
[
'name' => 'CallbackUrl',
'in' => 'query',
'schema' => ['title' => '回调地址', 'description' => '回调地址', 'type' => 'string', 'required' => false, 'example' => '示例值示例值示例值'],
],
[
'name' => 'FlashSmsType',
'in' => 'query',
'schema' => ['title' => '发送闪信配置,默认为0,0不发送闪信.1发送闪信', 'description' => '发送闪信配置,默认为0,0不发送闪信.1发送闪信', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'default' => ''],
],
[
'name' => 'FlashSmsTemplateId',
'in' => 'query',
'schema' => ['title' => '当发送闪信配置为1时,闪信模板ID必填', 'description' => '当发送闪信配置为1时,闪信模板ID必填', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'default' => ''],
],
[
'name' => 'CallTimeStrList',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]',
'description' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]',
'type' => 'array',
'items' => [
'title' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]',
'description' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]',
'type' => 'object',
'properties' => [
'CallTime' => [
'title' => '第一个调用时间字符串',
'description' => '第一个调用时间字符串',
'type' => 'array',
'items' => ['title' => '第一个调用时间字符串', 'description' => '第一个调用时间字符串', 'type' => 'string', 'required' => false, 'example' => '"08:00"'],
'required' => false,
'example' => '',
],
],
'required' => false,
],
'required' => false,
'example' => '',
],
],
[
'name' => 'WeekTag',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '外呼时间需要的按星期几进行外呼,例:“1,2,3,4,5,6,7”,代表周一到周日都外呼',
'description' => '外呼时间需要的按星期几进行外呼,例:[1,2,3,4,5,6,7],代表周一到周日都外呼',
'type' => 'array',
'items' => ['title' => '星期三', 'description' => '星期三', 'type' => 'string', 'required' => false, 'example' => '3'],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'AccessDeniedDetail' => ['title' => '访问被拒绝的详细信息', 'description' => '访问被拒绝的详细信息', 'type' => 'string', 'example' => 'None'],
'Message' => ['title' => '返回结果消息。', 'description' => '返回结果消息。', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '5453cc9b-02bc-4dbb-9527-f28a9100b912'],
'Model' => [
'title' => '返回结果',
'description' => '返回结果',
'type' => 'object',
'properties' => [
'TaskId' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '92'],
],
'example' => '',
],
'Code' => ['title' => '状态码。', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['title' => '操作时间戳', 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1686225227338'],
'Success' => ['title' => '调用接口是否成功。取值:'."\n"
.'- **true**:成功。'."\n"
.'- **false**:失败。', 'description' => '调用接口是否成功。取值:'."\n"
.'- **true**:成功。'."\n"
.'- **false**:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"5453cc9b-02bc-4dbb-9527-f28a9100b912\\",\\n \\"Model\\": {\\n \\"TaskId\\": 92\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1686225227338,\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '行业版-编辑任务',
'description' => '行业版-编辑任务',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditTask'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:EditTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ImportNumber' => [
'summary' => '行业版-批量导入任务号码。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179241',
'abilityTreeNodes' => ['FEATUREaiccsDTMAFT'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'OutId',
'in' => 'query',
'schema' => ['description' => '用于幂等控制', 'type' => 'string', 'required' => true, 'example' => '示例值示例值'],
],
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['description' => '任务ID。 需提前确定', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '92'],
],
[
'name' => 'Customers',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => '外呼客户,具体用户信息,如手机号、姓名等。限制数量最多1000个',
'type' => 'array',
'items' => [
'description' => 'map',
'type' => 'object',
'properties' => [
'Number' => ['description' => '手机明文号码,md5和number两者必传其中一个', 'type' => 'string', 'required' => false, 'example' => '13541251222'],
'ClientUrl' => ['description' => '客户弹窗url,特殊字段', 'type' => 'string', 'required' => false, 'example' => 'http://test.com'],
'Tag' => ['description' => '用户自定义标签', 'type' => 'string', 'required' => false, 'example' => 'tag1'],
'NumberMD5' => ['description' => '电话号码MD5,md5和number两者必传其中一个', 'type' => 'string', 'required' => false, 'example' => '示例值'],
'Properties' => ['description' => '需根据具体任务参数要求传输(总长度500个字符,多余的会被剔除)', 'type' => 'object', 'required' => false, 'example' => '{"testt":"123"}'],
],
'required' => false,
],
'required' => true,
'example' => '92',
],
],
[
'name' => 'FailReturn',
'in' => 'query',
'schema' => ['description' => '可选值:0,1,默认1。如导入的数据中有部分验证不通过数据:0表示导入验证成功的,返回失败的数据;1表示全部数据(包括验证成功及失败的)都不导入;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。', 'type' => 'string', 'example' => 'None'],
'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '状态描述'],
'ImportNum' => ['description' => '导入数量', 'type' => 'integer', 'format' => 'int64', 'example' => '26'],
'BatchId' => ['description' => '批次ID', 'type' => 'integer', 'format' => 'int64', 'example' => '54'],
'Data' => ['description' => '错误信息', 'type' => 'string', 'example' => '示例'],
'Code' => ['description' => '状态码。返回200表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '非必填 可能没有值'],
],
'example' => '',
],
'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['description' => '是否调用成功:'."\n"
.'- **true**:调用成功。'."\n"
.'- **false**:调用失败。', 'type' => 'string', 'example' => 'true'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"Message\\": \\"状态描述\\",\\n \\"ImportNum\\": 26,\\n \\"BatchId\\": 54,\\n \\"Data\\": \\"示例\\",\\n \\"Code\\": 0\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '行业版-批量导入任务号码',
'changeSet' => [
['createdAt' => '2025-05-06T09:45:07.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-05-06T09:44:47.000Z', 'description' => 'OpenAPI 下线'],
],
'ramActions' => [],
],
'ImportNumberV2' => [
'summary' => '行业版-批量导入任务号码接口,提高导入数量限制。',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '262750',
'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'OutId',
'in' => 'formData',
'schema' => ['description' => '必填! 外部流水号。', 'type' => 'string', 'required' => false, 'example' => '示例值'],
],
[
'name' => 'TaskId',
'in' => 'formData',
'schema' => ['description' => '必填!任务id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '89'],
],
[
'name' => 'Customers',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => '必填! 外呼客户具体用户信息,如手机号、姓名等。限制数量最多1000个',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Number' => ['description' => '号码', 'type' => 'string', 'required' => false, 'example' => '13800138000'],
'ClientUrl' => ['description' => '客户弹窗url,特殊字段', 'type' => 'string', 'required' => false, 'example' => 'http://xxxx'],
'Tag' => ['description' => '标签', 'type' => 'string', 'required' => false, 'example' => 'test'],
'NumberMD5' => ['description' => '加密号码,与号码字段两个必传一个', 'type' => 'string', 'required' => false, 'example' => 'frgwryh5q4y623532542'],
'Properties' => ['description' => '参数 需提前约定', 'type' => 'object', 'required' => false, 'example' => '{"testt":"123"}'],
],
'required' => false,
'description' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'FailReturn',
'in' => 'formData',
'schema' => ['description' => '可选值:0,1,默认1。如导入的数据中有部分验证不通过数据:0表示导入验证成功的,返回失败的数据;1表示全部数据(包括验证成功及失败的)都不导入;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => 'None'],
'Message' => ['description' => '状态码的描述。', 'type' => 'string', 'example' => '成功'."\n"],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'Message' => ['description' => '响应消息', 'type' => 'string', 'example' => '示例值示例值示例值'],
'ImportNum' => ['description' => '成功导入的数量', 'type' => 'integer', 'format' => 'int64', 'example' => '当前批次导入成功的数量'],
'BatchId' => ['description' => '批次ID', 'type' => 'integer', 'format' => 'int64', 'example' => '导入号码时返回的批次号'],
'Data' => ['description' => '错误信息', 'type' => 'string', 'example' => '如failReturn传0,则返回该字段,可以为空;如为1,不返回。例:[{"number":"外呼号码为空或错误. 错误值:185207857231","尊称":"尊称错误,请传入中文。错误值:abc","还款金额":"值错误,请传入数字。错误值:a219.33","逾期天数":"值错误,请传入数字。错误值:今天中午十一点之前"}]}'],
'Code' => ['description' => '状态码。返回200表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
],
'example' => '',
],
'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '98'],
'Success' => ['description' => '是否调用成功:'."\n"
."\n"
.'true:调用成功。'."\n"
.'false:调用失败。', 'type' => 'string', 'example' => 'true'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"成功\\\\n\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"Message\\": \\"示例值示例值示例值\\",\\n \\"ImportNum\\": 0,\\n \\"BatchId\\": 0,\\n \\"Data\\": \\"如failReturn传0,则返回该字段,可以为空;如为1,不返回。例:[{\\\\\\"number\\\\\\":\\\\\\"外呼号码为空或错误. 错误值:185207857231\\\\\\",\\\\\\"尊称\\\\\\":\\\\\\"尊称错误,请传入中文。错误值:abc\\\\\\",\\\\\\"还款金额\\\\\\":\\\\\\"值错误,请传入数字。错误值:a219.33\\\\\\",\\\\\\"逾期天数\\\\\\":\\\\\\"值错误,请传入数字。错误值:今天中午十一点之前\\\\\\"}]}\\",\\n \\"Code\\": 200\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 98,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '行业版-批量导入任务号码V2版本',
'changeSet' => [
['createdAt' => '2025-07-24T02:32:20.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-07-24T02:32:08.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-05-13T14:41:08.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-05-13T07:23:37.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-05-13T07:23:28.000Z', 'description' => 'OpenAPI 下线'],
],
'ramActions' => [],
],
'Page' => [
'summary' => '查询行业版-黑名单。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179243',
'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Numbers',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => '号码列表',
'type' => 'array',
'items' => ['description' => '手机号码', 'type' => 'string', 'required' => false, 'example' => '15823099196'],
'required' => false,
'example' => '',
],
],
[
'name' => 'PageNo',
'in' => 'query',
'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页查询时设置的每页行数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '状态码描述。 ', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '97'],
'PageSize' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'TotalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'PageNo' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'List' => [
'description' => '详情列表',
'type' => 'array',
'items' => [
'description' => 'map',
'type' => 'object',
'properties' => [
'Number' => ['title' => '手机号码', 'description' => '手机号码', 'type' => 'string', 'example' => '13314206082'],
'CreateTime' => ['title' => '添加时间', 'description' => '添加时间', 'type' => 'string', 'example' => ' 2020-03-06 10:10:10'],
'NumberMD5' => ['title' => '手机号MD5', 'description' => '手机号MD5', 'type' => 'string', 'example' => 'e10adc3949ba59abbe56e057f20f883e'],
'ExpirationTime' => ['title' => '过期时间', 'description' => '过期时间', 'type' => 'string', 'example' => '1'],
'Remark' => ['title' => '备注', 'description' => '备注', 'type' => 'string', 'example' => '备注'],
],
],
'example' => '',
],
],
'example' => '',
],
'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['description' => '调用接口是否成功。取值:'."\n"
.'- **true**:成功。'."\n"
.'- **false**:失败。', 'type' => 'string', 'example' => 'true'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 97,\\n \\"PageSize\\": 20,\\n \\"TotalPage\\": 5,\\n \\"PageNo\\": 1,\\n \\"List\\": [\\n {\\n \\"Number\\": \\"13314206082\\",\\n \\"CreateTime\\": \\" 2020-03-06 10:10:10\\",\\n \\"NumberMD5\\": \\"e10adc3949ba59abbe56e057f20f883e\\",\\n \\"ExpirationTime\\": \\"1\\",\\n \\"Remark\\": \\"备注\\"\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '行业版-分页查询黑名单',
'changeSet' => [],
'ramActions' => [],
],
'QuickAddTask' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREaiccsDTMAFT'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '任务名称', 'description' => '任务名称', 'type' => 'string', 'required' => true, 'example' => 'a'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['title' => '任务启动日期', 'description' => '任务启动日期', 'type' => 'string', 'required' => false, 'example' => '2019-04-30'],
],
[
'name' => 'TemplateType',
'in' => 'query',
'schema' => ['title' => '话术模板类型', 'description' => '话术模板类型。不填默认1。'."\n"
."\n"
.'- 1:单模版;'."\n"
.'- 2:智能话术策略模板。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'TemplateId',
'in' => 'query',
'schema' => ['title' => '话术模板ID,如果不传则使用被复制任务的话术模板', 'description' => '话术模板ID,如果不传则使用被复制任务的话术模板', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'SmsTemplateId',
'in' => 'query',
'schema' => ['title' => '短信模板ID', 'description' => '短信模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'ReferenceTaskId',
'in' => 'query',
'schema' => ['title' => '被复制任务ID', 'description' => '被复制任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
[
'name' => 'AgentGroupId',
'in' => 'query',
'schema' => ['title' => '坐席组ID', 'description' => '坐席组ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'CallTimeList',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '外呼时间',
'description' => '外呼时间',
'type' => 'array',
'items' => [
'title' => '外呼时间',
'description' => '外呼时间',
'type' => 'object',
'properties' => [
'CallTime' => [
'title' => '外呼时间',
'description' => '外呼时间',
'type' => 'array',
'items' => ['title' => '外呼时间', 'description' => '外呼时间', 'type' => 'string', 'required' => false, 'example' => '8.5'],
'required' => false,
'example' => '',
],
],
'required' => false,
],
'required' => false,
'example' => '',
],
],
[
'name' => 'CallTimeStrList',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => '外呼时间:精确到分钟.如果两个字段都存在值,以该字段为准。建议用该字段,精确到分钟, 08:31-12:05 13:33-19:00 则传[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CallTime' => [
'type' => 'array',
'items' => ['type' => 'string', 'required' => false, 'example' => '"08:00"'],
'required' => false,
'example' => '["08:00","20:00"]',
],
],
'required' => false,
'example' => 'CallTimeStrList',
],
'required' => false,
'example' => '[["08:31","12:05"]["13:33","19:00"]];默认为[["08:00","20:00"]]',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => 'None'],
'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'example'],
'RequestId' => ['description' => '请求ID,标识这次请求,如果出现问题,可以通过RequestId找到这次请求的相关记录来进行排错。', 'type' => 'string', 'example' => 'example'],
'Model' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'TaskId' => ['title' => '任务id', 'description' => '任务id', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
'example' => '',
],
'Code' => ['description' => '状态码。返回 0 表示请求成功。', 'type' => 'string', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '77'],
'Success' => ['description' => '接口调用是否成功。'."\n"
.'- **true**:成功。'."\n"
.'- **false**:失败。'."\n", 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '行业版-快速创建任务接口',
'summary' => '快速创建任务接口',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"TaskId\\": 1\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 77,\\n \\"Success\\": true\\n}","type":"json"}]',
],
'SmsTemplateCreate' => [
'summary' => '行业版-添加短信模板。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '180596',
'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TemplateName',
'in' => 'query',
'schema' => ['title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'required' => true, 'example' => '模板'],
],
[
'name' => 'Sign',
'in' => 'query',
'schema' => ['title' => '短信签名', 'description' => '短信签名', 'type' => 'string', 'required' => true, 'example' => 'ef2i29fsljf'],
],
[
'name' => 'TemplateType',
'in' => 'query',
'schema' => ['title' => '模板类型', 'description' => '模板类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '模板类型,默认为1'."\n"
.'1:普通短信模板'],
],
[
'name' => 'Content',
'in' => 'query',
'schema' => ['title' => '短信内容', 'description' => '短信内容', 'type' => 'string', 'required' => true, 'example' => '短信内容,可增加变量,变量格式:{变量},需系统存在'],
],
[
'name' => 'SmsType',
'in' => 'query',
'schema' => ['title' => '短信类型', 'description' => '短信类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '短信类型,默认为3'."\n"
.'3:挂机短信'."\n"
.'4:群发短信'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID,用于跟踪错误原因', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"],
'Model' => ['description' => '返回结果', 'type' => 'string', 'example' => '成功'],
'Code' => ['description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['description' => '调用接口是否成功。取值:'."\n"
.'- **true**:成功。'."\n"
.'- **false**:失败。', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": \\"成功\\",\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '行业版-添加短信模板',
'description' => '针对行业版短信模板创建',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SmsTemplateCreate'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:SmsTemplateCreate',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'SmsTemplatePageList' => [
'summary' => '行业版-短信模板列表查询。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '180597',
'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'],
],
'parameters' => [
[
'name' => 'PageNo',
'in' => 'query',
'schema' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '24'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['title' => '每页条数', 'description' => '每页条数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '97'],
],
[
'name' => 'TemplateType',
'in' => 'query',
'schema' => ['title' => '模板类型', 'description' => '模板类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '需查询的模板类型'."\n"
.'1:普通短信模板'."\n"
.'2:智能短链模板'],
],
[
'name' => 'TemplateId',
'in' => 'query',
'schema' => ['title' => '模板ID', 'description' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '83'],
],
[
'name' => 'SmsType',
'in' => 'query',
'schema' => ['title' => '短信类型', 'description' => '短信类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '需要查询的短信类型'."\n"
.'3:挂机短信'."\n"
.'4:群发短信'],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => ['title' => '模板状态', 'description' => '模板状态', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '需要查询的模板状态'."\n"
.'1:待审核'."\n"
.'2:审核中'."\n"
.'3:审核不通过'."\n"
.'4:可应用'],
],
[
'name' => 'Sign',
'in' => 'query',
'schema' => ['title' => '短信签名', 'description' => '短信签名', 'type' => 'string', 'required' => false, 'example' => '114ah23m'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'PageSize' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '42'],
'TotalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int64', 'example' => '31'],
'PageNo' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '53'],
'List' => [
'description' => '记录列表',
'type' => 'array',
'items' => [
'description' => '记录',
'type' => 'object',
'properties' => [
'Status' => ['title' => '模板状态', 'description' => '模板状态', 'type' => 'integer', 'format' => 'int64', 'example' => '1:待审核'."\n"
.'2:审核中'."\n"
.'3:审核不通过'."\n"
.'4:可应用'],
'SmsType' => ['title' => '短信类型', 'description' => '短信类型', 'type' => 'string', 'example' => '3:挂机短信'."\n"
.'4:群发短信'],
'Content' => ['title' => '短信内容', 'description' => '短信内容', 'type' => 'string', 'example' => '短信内容'],
'CreateTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2021-09-26 11:34:59'],
'TemplateName' => ['title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'example' => '短信模板10926001'],
'Sign' => ['title' => '短信签名', 'description' => '短信签名', 'type' => 'string', 'example' => 'a234n'],
'TemplateType' => ['title' => '模板类型', 'description' => '模板类型', 'type' => 'integer', 'format' => 'int64', 'example' => '1:普通短信模板'."\n"
.'2:智能短链模板'],
'Properties' => ['title' => '模板所需参数', 'description' => '模板所需参数', 'type' => 'string', 'example' => '“尊称,姓名,金额"'],
'TemplateId' => ['title' => '模板ID', 'description' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'example' => '67'],
'ShortUrlTaskId' => ['title' => '智能短链ID', 'description' => '智能短链ID', 'type' => 'integer', 'format' => 'int64', 'example' => '46'],
],
],
'example' => '',
],
],
'example' => '',
],
'Code' => ['description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['description' => '接口调用是否成功。取值:'."\n"
.'- **true**:成功。'."\n"
.'- **false**:失败。', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 42,\\n \\"TotalPage\\": 31,\\n \\"PageNo\\": 53,\\n \\"List\\": [\\n {\\n \\"Status\\": 0,\\n \\"SmsType\\": \\"3:挂机短信\\\\n4:群发短信\\",\\n \\"Content\\": \\"短信内容\\",\\n \\"CreateTime\\": \\"2021-09-26 11:34:59\\",\\n \\"TemplateName\\": \\"短信模板10926001\\",\\n \\"Sign\\": \\"a234n\\",\\n \\"TemplateType\\": 0,\\n \\"Properties\\": \\"“尊称,姓名,金额\\\\\\"\\",\\n \\"TemplateId\\": 67,\\n \\"ShortUrlTaskId\\": 46\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '行业版-短信模板列表查询',
'description' => '行业版短信模板列表查询',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SmsTemplatePageList'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:SmsTemplatePageList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'TaskCallChats' => [
'summary' => '行业版-查询聊天记录。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '180600',
'abilityTreeNodes' => ['FEATUREaiccs3JFNGJ'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['title' => '任务ID', 'description' => '决策系统中的任务编号,可以为空,其中:taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '26'],
],
[
'name' => 'AgentId',
'in' => 'query',
'schema' => ['title' => '坐席ID', 'description' => '坐席ID,可以为空;其中:taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '72'],
],
[
'name' => 'AgentTag',
'in' => 'query',
'schema' => ['title' => '坐席标签', 'description' => '建议填写坐席在贵司业务系统唯一标识,用于查询对应agentId;可以为空;其中:taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', 'type' => 'string', 'required' => false, 'example' => 'AA'],
],
[
'name' => 'CallId',
'in' => 'query',
'schema' => ['title' => '外呼ID', 'description' => '外呼ID', 'type' => 'string', 'required' => true, 'example' => '9b2eb6b8-7a27-4357-b5ec-104450086e24'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"],
'Model' => [
'description' => '返回结果',
'type' => 'array',
'items' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'FromNumber' => ['title' => '说话号码', 'description' => '说话号码,其中0为机器人', 'type' => 'string', 'example' => '138*****265'],
'Content' => ['title' => '说话内容', 'description' => '说话内容', 'type' => 'string', 'example' => '你好,请问是a吗?'],
'CreateTime' => ['title' => '说话时间', 'description' => '说话时间,格式:2019-01-09 14:14:19', 'type' => 'string', 'example' => '2022-01-13 14:56:46'],
],
],
'example' => '',
],
'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['description' => '调用接口是否成功。取值:'."\n"
.'- **true**:成功。'."\n"
.'- **false**:失败。', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": [\\n {\\n \\"FromNumber\\": \\"138*****265\\",\\n \\"Content\\": \\"你好,请问是a吗?\\",\\n \\"CreateTime\\": \\"2022-01-13 14:56:46\\"\\n }\\n ],\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '行业版-查询聊天记录',
'description' => '行业版查询聊天记录',
'requestParamsDescription' => 'taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCallChats'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:TaskCallChats',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'TaskCallInfo' => [
'summary' => '行业版-获取任务外呼情况。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '20'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '示例值示例值'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '示例值示例值示例值'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'FinishTotal' => ['description' => '已完成外呼数', 'type' => 'integer', 'format' => 'int64', 'example' => '75'],
'UnCallTotal' => ['description' => '未能外呼数', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'Total' => ['description' => '总外呼数', 'type' => 'integer', 'format' => 'int64', 'example' => '59'],
],
'example' => '',
],
'Code' => ['description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '62'],
'Success' => ['description' => '调用接口是否成功。取值:'."\n"
.'- **true**:成功。'."\n"
.'- **false**:失败。', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"示例值示例值\\",\\n \\"RequestId\\": \\"示例值示例值示例值\\",\\n \\"Model\\": {\\n \\"FinishTotal\\": 75,\\n \\"UnCallTotal\\": 3,\\n \\"Total\\": 59\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 62,\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '行业版-获取任务外呼情况',
'description' => '行业版-获取任务外呼情况',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCallInfo'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:TaskCallInfo',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'TaskCallList' => [
'summary' => '行业版AI批量任务查询外呼记录。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '93'],
],
[
'name' => 'IntentTags',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '意向标签',
'description' => '如“C”,则精准查询意向标签为C的数据;'."\n"
.'若查询多个意向则["A","B","C”];',
'type' => 'array',
'items' => ['title' => '', 'description' => '意向标签', 'type' => 'string', 'required' => false, 'example' => '"A"'],
'required' => false,
'example' => '',
],
],
[
'name' => 'BatchId',
'in' => 'query',
'schema' => ['title' => '导入号码时返回的批次号', 'description' => '导入号码时返回的批次号', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'Numbers',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '号码列表',
'description' => '需要精确查询的号码,,支持批量 最大1000个号码',
'type' => 'array',
'items' => ['description' => '号码列表', 'type' => 'string', 'required' => false, 'example' => '158*****196'],
'required' => false,
'example' => '',
],
],
[
'name' => 'CallDate',
'in' => 'query',
'schema' => ['title' => '开始外呼时间', 'description' => '开始外呼日期,只可查询最近30天的日期,格式:2020-03-06 10:10:10', 'type' => 'string', 'required' => true, 'example' => '2022-01-25 00:00:00'],
],
[
'name' => 'EndCallDate',
'in' => 'query',
'schema' => ['title' => '结束外呼时间', 'description' => '结束外呼时间,只可查一天的数据,开始外呼日期和结束外呼日期是同一天的不同时间点。 格式支持 2020-03-06 10:10:10', 'type' => 'string', 'required' => true, 'example' => '2022-01-25 00:00:00'],
],
[
'name' => 'Page',
'in' => 'query',
'schema' => ['title' => '页数', 'description' => '页数', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '39'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['title' => '每页外呼记录数,正整数,默认10000', 'description' => '每页外呼记录数,正整数,默认10000', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '97'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '80'],
'PageSize' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '95'],
'TotalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int64', 'example' => '39'],
'PageNo' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '62'],
'List' => [
'description' => '列表',
'type' => 'array',
'items' => [
'description' => '记录',
'type' => 'object',
'properties' => [
'AddWx' => ['title' => '加微', 'description' => '加微:可选值:0、1'."\n"
.'0:不添加,1:添加', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'TaskId' => ['title' => '外呼任务ID', 'description' => '外呼任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '70'],
'Keywords' => ['title' => '回复关键词', 'description' => '回复关键词', 'type' => 'string', 'example' => '好'],
'AgentExtension' => ['title' => '坐席分机', 'description' => '坐席分机', 'type' => 'string', 'example' => '112'],
'CallType' => ['title' => '外呼类型', 'description' => '外呼类型:可选项:'."\n"
.'1001:坐席-人工外呼,1002:坐席-AI外呼-不转人工,1003:坐席-AI外呼-接通转人工,1004:坐席-AI外呼-智能转人工;', 'type' => 'integer', 'format' => 'int64', 'example' => '1001'],
'AnswerTime' => ['title' => '接通时间', 'description' => '通话接通时间,格式:2019-01-09 14:14:19', 'type' => 'string', 'example' => '2022-01-26 18:58:25'],
'IntentTag' => ['title' => '意向标签', 'description' => '意向标签', 'type' => 'string', 'example' => '“C”'],
'TransferStatusCode' => ['title' => '转人工状态编码', 'description' => '转人工状态编码,如1,2,可以为空', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'ImportTime' => ['title' => '导入时间', 'description' => '导入时间,格式:2019-01-09 14:14:19', 'type' => 'string', 'example' => '2022-01-26 18:58:25'],
'IndividualTag' => ['title' => '个性标签', 'description' => '个性标签:如"投诉,非本人",可以为空', 'type' => 'string', 'example' => 'A'],
'Properties' => ['title' => '参数', 'description' => '导入号码时的参数值:json', 'type' => 'string', 'example' => '{\\"电话号码\\":\\"13100000000\\"}'],
'StatusCode' => ['title' => '外呼状态编码', 'description' => '外呼状态编码,如1,2', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'AgentSpeakingDuration' => ['title' => '人工通话时长', 'description' => '坐席通话时长,单位:秒', 'type' => 'integer', 'format' => 'int64', 'example' => '98'],
'Remark' => ['title' => '备注', 'description' => '人工备注信息,如:'."\n"
.'[{"加微信":"愿意","还款方式":["支付宝","人工"],"备注":"客户愿意最近1周内还款","createTime":"2020-03-10 10:00:00","opType":1,"opId":1,"opName":"企业A"},{"加微信":"愿意","还款方式":["支付宝"],"备注":"客户愿意最近1周内还款","createTime":"2020-03-10 10:00:00","opType":2,"opId":4,"opName":"老汤"}],注:如opType=1企业,2坐席,如坐席,opId为坐席ID', 'type' => 'string', 'example' => '备注内容'],
'CallTimes' => ['title' => '呼叫次数', 'description' => '呼叫次数', 'type' => 'string', 'example' => '1'],
'Number' => ['title' => '外呼号码', 'description' => '外呼号码', 'type' => 'string', 'example' => '138*****123'],
'InterceptReason' => ['title' => '拦截原因', 'description' => '拦截原因 当状态为已拦截时,可选值:黑名单拦截,灰名单拦截,异常号码拦截', 'type' => 'string', 'example' => '黑名单拦截,灰名单拦截,异常号码拦截'],
'IntentDescription' => ['title' => '意向说明', 'description' => '意向说明:如“确认本人,未承诺还款”', 'type' => 'string', 'example' => '如“确认本人,未承诺还款”'],
'StatusDescription' => ['title' => '外呼状态描述', 'description' => '外呼状态描述', 'type' => 'string', 'example' => '外呼状态,如“已接听”“拒接”'."\n"
.'注,转外呼状态编码与描述对应:'."\n"
.'1 "已接听",'."\n"
.'2 "关机",'."\n"
.'3 "空号",'."\n"
.'4 "改号",'."\n"
.'5 "停机",'."\n"
.'6 "占线",'."\n"
.'7 "拒接",'."\n"
.'8 "无法接通",'."\n"
.'9 "未接",'."\n"
.'10 "用户欠费",'."\n"
.'11 "线路故障",'."\n"
.'12 "呼叫失败"'."\n"
.'30 "已拦截" '."\n"
.'40 "单日呼叫次数受限"'."\n"
.'50 "取消外呼-已转化" '],
'SpeakingDuration' => ['title' => 'AI通话时长', 'description' => '通话时长,单位:秒', 'type' => 'integer', 'format' => 'int64', 'example' => '45'],
'Gateway' => ['title' => '外呼网关', 'description' => '外呼网关', 'type' => 'string', 'example' => '123'],
'TransferStatus' => ['title' => '转人工状态', 'description' => '转人工状态', 'type' => 'string', 'example' => '转人工状态,可以为空,如未触发、分配坐席失败'."\n"
.'注,转人工状态编码与状态对应:'."\n"
.'0 "未触发",'."\n"
.'1 "分配坐席失败",'."\n"
.'2 "无空闲坐席分配",'."\n"
.'10 "振铃未接听",'."\n"
.'11 "振铃占线",'."\n"
.'12 "振铃话机离线",'."\n"
.'13 "振铃失败",'."\n"
.'14 "监听失败",'."\n"
.'20 "监听未接听",'."\n"
.'30 "已接听",'."\n"
.'31 "接听失败"'],
'AgentId' => ['title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'example' => '87'],
'TemplateId' => ['title' => 'AI话术ID', 'description' => 'AI话术ID', 'type' => 'integer', 'format' => 'int64', 'example' => '66'],
'AgentTag' => ['title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'example' => 'A'],
'Status' => ['title' => '外呼状态', 'description' => '外呼状态', 'type' => 'string', 'example' => '未接、占线、拒接、用户欠费、线路故障、呼叫失败、已接听、无法接通、关机、停机、改号、空号、无效接通、已拦截、单日呼叫次数受限、取消外呼-已转化'],
'CallId' => ['title' => '外呼ID', 'description' => '外呼ID', 'type' => 'string', 'example' => '9197ed9e-ceda-42a5-b683-823b23ef208e'],
'BatchId' => ['title' => '批次ID', 'description' => '批次ID', 'type' => 'string', 'example' => '1'],
'HangupTime' => ['title' => '挂断时间', 'description' => '通话挂断时间,格式:2019-01-09 14:14:19', 'type' => 'string', 'example' => '2022-01-26 18:58:25'],
'CallBeginTime' => ['title' => '开始通话时间', 'description' => '开始通话时间,格式:2019-11-23 14:47:06', 'type' => 'string', 'example' => '2022-01-26 18:58:25'],
'RingTime' => ['title' => '振铃时长', 'description' => '振铃时长 单位毫秒', 'type' => 'integer', 'format' => 'int64', 'example' => '66'],
'AgentSpeakingTime' => ['title' => '人工通话时长', 'description' => '坐席通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', 'type' => 'string', 'example' => '0秒'],
'AddWxStatus' => ['title' => '加微进度', 'description' => '加微进度', 'type' => 'string', 'example' => '可选值:已申请、加微成功'],
'HangupType' => ['title' => '挂机方式', 'description' => '挂机方式 AI挂机1,坐席挂机2,客户挂机3', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'SpeakingTurns' => ['title' => '对话轮次', 'description' => '对话轮次', 'type' => 'string', 'example' => '0'],
'Sms' => ['title' => '挂机短信', 'description' => '挂机短信', 'type' => 'string', 'example' => '1、2'."\n"
.'1:发送,2:不发送'],
'AnswerRecall' => ['title' => '是否接通重呼', 'description' => '是否接通重呼', 'type' => 'integer', 'format' => 'int64', 'example' => '可选值:0、1'."\n"
.'0正常外呼,1接通重呼'],
'Tag' => ['title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'example' => '好'],
'NumberMD5' => ['title' => '外呼号码MD5', 'description' => '外呼号码MD5', 'type' => 'string', 'example' => '75916b635568954583783d'],
'ChatRecord' => ['title' => '对话录音', 'description' => '对话录音', 'type' => 'string', 'example' => 'URL,可以为空'],
'SpeakingTime' => ['title' => 'AI通话时长', 'description' => '通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', 'type' => 'string', 'example' => '0秒'],
],
],
'example' => '',
],
],
'example' => '',
],
'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['description' => '调用接口是否成功。取值:'."\n"
.'- **true**:成功。'."\n"
.'- **false**:失败。', 'type' => 'string', 'example' => 'true'],
],
'description' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 80,\\n \\"PageSize\\": 95,\\n \\"TotalPage\\": 39,\\n \\"PageNo\\": 62,\\n \\"List\\": [\\n {\\n \\"AddWx\\": 0,\\n \\"TaskId\\": 70,\\n \\"Keywords\\": \\"好\\",\\n \\"AgentExtension\\": \\"112\\",\\n \\"CallType\\": 1001,\\n \\"AnswerTime\\": \\"2022-01-26 18:58:25\\",\\n \\"IntentTag\\": \\"“C”\\",\\n \\"TransferStatusCode\\": 1,\\n \\"ImportTime\\": \\"2022-01-26 18:58:25\\",\\n \\"IndividualTag\\": \\"A\\",\\n \\"Properties\\": \\"{\\\\\\\\\\\\\\"电话号码\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"13100000000\\\\\\\\\\\\\\"}\\",\\n \\"StatusCode\\": 1,\\n \\"AgentSpeakingDuration\\": 98,\\n \\"Remark\\": \\"备注内容\\",\\n \\"CallTimes\\": \\"1\\",\\n \\"Number\\": \\"138*****123\\",\\n \\"InterceptReason\\": \\"黑名单拦截,灰名单拦截,异常号码拦截\\",\\n \\"IntentDescription\\": \\"如“确认本人,未承诺还款”\\",\\n \\"StatusDescription\\": \\"外呼状态,如“已接听”“拒接”\\\\n注,转外呼状态编码与描述对应:\\\\n1 \\\\\\"已接听\\\\\\",\\\\n2 \\\\\\"关机\\\\\\",\\\\n3 \\\\\\"空号\\\\\\",\\\\n4 \\\\\\"改号\\\\\\",\\\\n5 \\\\\\"停机\\\\\\",\\\\n6 \\\\\\"占线\\\\\\",\\\\n7 \\\\\\"拒接\\\\\\",\\\\n8 \\\\\\"无法接通\\\\\\",\\\\n9 \\\\\\"未接\\\\\\",\\\\n10 \\\\\\"用户欠费\\\\\\",\\\\n11 \\\\\\"线路故障\\\\\\",\\\\n12 \\\\\\"呼叫失败\\\\\\"\\\\n30 \\\\\\"已拦截\\\\\\" \\\\n40 \\\\\\"单日呼叫次数受限\\\\\\"\\\\n50 \\\\\\"取消外呼-已转化\\\\\\" \\",\\n \\"SpeakingDuration\\": 45,\\n \\"Gateway\\": \\"123\\",\\n \\"TransferStatus\\": \\"转人工状态,可以为空,如未触发、分配坐席失败\\\\n注,转人工状态编码与状态对应:\\\\n0 \\\\\\"未触发\\\\\\",\\\\n1 \\\\\\"分配坐席失败\\\\\\",\\\\n2 \\\\\\"无空闲坐席分配\\\\\\",\\\\n10 \\\\\\"振铃未接听\\\\\\",\\\\n11 \\\\\\"振铃占线\\\\\\",\\\\n12 \\\\\\"振铃话机离线\\\\\\",\\\\n13 \\\\\\"振铃失败\\\\\\",\\\\n14 \\\\\\"监听失败\\\\\\",\\\\n20 \\\\\\"监听未接听\\\\\\",\\\\n30 \\\\\\"已接听\\\\\\",\\\\n31 \\\\\\"接听失败\\\\\\"\\",\\n \\"AgentId\\": 87,\\n \\"TemplateId\\": 66,\\n \\"AgentTag\\": \\"A\\",\\n \\"Status\\": \\"未接、占线、拒接、用户欠费、线路故障、呼叫失败、已接听、无法接通、关机、停机、改号、空号、无效接通、已拦截、单日呼叫次数受限、取消外呼-已转化\\",\\n \\"CallId\\": \\"9197ed9e-ceda-42a5-b683-823b23ef208e\\",\\n \\"BatchId\\": \\"1\\",\\n \\"HangupTime\\": \\"2022-01-26 18:58:25\\",\\n \\"CallBeginTime\\": \\"2022-01-26 18:58:25\\",\\n \\"RingTime\\": 66,\\n \\"AgentSpeakingTime\\": \\"0秒\\",\\n \\"AddWxStatus\\": \\"可选值:已申请、加微成功\\",\\n \\"HangupType\\": 1,\\n \\"SpeakingTurns\\": \\"0\\",\\n \\"Sms\\": \\"1、2\\\\n1:发送,2:不发送\\",\\n \\"AnswerRecall\\": 0,\\n \\"Tag\\": \\"好\\",\\n \\"NumberMD5\\": \\"75916b635568954583783d\\",\\n \\"ChatRecord\\": \\"URL,可以为空\\",\\n \\"SpeakingTime\\": \\"0秒\\"\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '行业版-AI批量任务查询外呼记录',
'description' => '行业版AI批量任务查询外呼记录',
'requestParamsDescription' => '结束外呼时间,只可查一天的数据,开始外呼日期和结束外呼日期是同一天的不同时间点。 格式支持 2020-03-06 10:10:10',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCallList'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'aiccs:TaskCallList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'TaskCancelCall' => [
'summary' => '行业版-任务取消外呼。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30', 'default' => ''],
],
[
'name' => 'Numbers',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => '号码列表',
'type' => 'array',
'items' => ['title' => '号码', 'description' => '号码', 'type' => 'string', 'required' => false, 'example' => '13661109390'],
'required' => false,
'example' => '',
],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => '标签列表',
'type' => 'array',
'items' => ['title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'required' => false, 'example' => 'tag1'],
'required' => false,
'example' => '',
'default' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'UnHandleNumbers' => [
'title' => '错误手机号',
'description' => '未识别手机号列表',
'type' => 'array',
'items' => ['description' => '未识别的手机号', 'type' => 'string', 'example' => '13541251222,18665214444'],
'example' => '',
],
],
'example' => '',
],
'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'string', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['description' => '调用接口是否成功。取值:'."\n"
.'- **true**:成功。'."\n"
.'- **false**:失败。', 'type' => 'string', 'example' => 'true'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"13541251222,18665214444\\"\\n ]\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '行业版-任务取消外呼',
'changeSet' => [],
'ramActions' => [],
],
'TaskList' => [
'summary' => '行业版查询任务列表。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['title' => '任务ID', 'description' => '任务ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'],
],
[
'name' => 'LastCallTime',
'in' => 'query',
'schema' => ['title' => '最后外呼时间', 'description' => '最后外呼时间。', 'type' => 'string', 'required' => false, 'example' => '2023-04-05 12:11:11'],
],
[
'name' => 'CreateTime',
'in' => 'query',
'schema' => ['title' => '创建时间', 'description' => '创建时间。', 'type' => 'string', 'required' => false, 'example' => '2023-04-05 12:11:11'],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => ['title' => '任务状态。1 未启用,2 启用中,4 已停止', 'description' => '任务状态,取值:'."\n"
."\n"
.'- 2:已发布。'."\n"
."\n"
.'- 4:停用。'."\n"
."\n"
.'- 6:已删除。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{}'],
'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => '成功'."\n"],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-****-1ECA-****-7CBDF776AAD2'."\n"],
'Model' => [
'description' => '返回结果。',
'type' => 'array',
'items' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Status' => ['title' => '任务状态', 'description' => '任务状态,取值:'."\n"
."\n"
.'- 2:已发布。'."\n"
."\n"
.'- 4:停用。'."\n"
."\n"
.'- 6:已删除。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'],
'AllowDayOfWeek' => ['title' => '外呼时间', 'description' => '外呼时间,按周外呼,取值:'."\n"
."\n"
.'- 1:周一。'."\n"
."\n"
.'- 2:周二。'."\n"
."\n"
.'- 3:周三。'."\n"
."\n"
.'- 4:周四。'."\n"
."\n"
.'- 5:周五。'."\n"
."\n"
.'- 6:周六。'."\n"
."\n"
.'- 7:周日。', 'type' => 'string', 'example' => '1,2,3'],
'TaskId' => ['title' => '任务ID', 'description' => '任务ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '68'],
'IntentTags' => [
'title' => '意向标签列表',
'description' => '意向标签列表。',
'type' => 'array',
'items' => [
'description' => '意向标签对象。',
'type' => 'object',
'properties' => [
'IntentDescription' => ['title' => '意向标签描述', 'description' => '意向标签描述。', 'type' => 'string', 'example' => '满意'],
'IntentTag' => ['title' => '意向标签ID', 'description' => '意向标签ID。', 'type' => 'string', 'example' => '123'],
],
],
'example' => '',
],
'Priority' => ['title' => '优先任务', 'description' => '优先任务,可选值,取值:'."\n"
."\n"
.'- 1:表示否。'."\n"
."\n"
.'- 2:表示是。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'CreateTime' => ['title' => '创建时间', 'description' => '创建时间。', 'type' => 'string', 'example' => '2023-04-05 12:11:11'."\n"],
'CallType' => ['title' => '外呼类型', 'description' => '外呼类型,取值:'."\n"
."\n"
.'- 1001:坐席-人工外呼。'."\n"
."\n"
.'- 1002:坐席-AI外呼-不转人工。'."\n"
."\n"
.'- 1003:坐席-AI外呼-接通转人工。'."\n"
."\n"
.'- 1004:坐席-AI外呼-智能转人工。'."\n"
."\n"
.'- 2001:批量-预测外呼。'."\n"
."\n"
.'- 2002:批量-AI外呼-不转人工。'."\n"
."\n"
.'- 2003:批量-AI外呼-接通转人工。'."\n"
."\n"
.'- 2004:批量-AI外呼-智能转人工。'."\n"
."\n"
.'- 2005:批量-语音通知。', 'type' => 'integer', 'format' => 'int64', 'example' => '1001'],
'MaxConcurrency' => ['title' => '最大并发数', 'description' => '最大并发数。', 'type' => 'integer', 'format' => 'int64', 'example' => '95'],
'PersonalityTags' => [
'title' => '个性标签列表',
'description' => '个性标签列表。',
'type' => 'array',
'items' => ['description' => '个性标签。', 'type' => 'string', 'example' => 'AA'],
'example' => '',
],
'SendSms' => ['title' => '发送短信', 'description' => '发送短信,取值:'."\n"
."\n"
.'- 1:标识否。'."\n"
."\n"
.'- 2:表示是。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'ImportTime' => ['title' => '最近导入时间', 'description' => '最近导入时间。', 'type' => 'string', 'example' => '2023-04-05 12:11:11'],
'Properties' => ['title' => '任务所需参数', 'description' => '任务所需参数。', 'type' => 'string', 'example' => '尊称,姓名,金额'],
'FlashSmsTemplateName' => ['title' => '闪信模板名称', 'description' => '闪信模板名称。', 'type' => 'string', 'example' => '示例值'],
'AllowCallTimeFormat' => ['title' => '外呼时间段格式化', 'description' => '外呼时间段格式化。', 'type' => 'string', 'example' => '9:00 ~ 12:00\\n13.5 ~ 20'],
'LastCallTime' => ['title' => '最后外呼时间', 'description' => '最后外呼时间。', 'type' => 'string', 'example' => '2023-04-05 12:11:11'],
'TaskName' => ['title' => '任务名称', 'description' => '任务名称。', 'type' => 'string', 'example' => '第一个外呼任务'],
'RecallType' => ['title' => '自动重呼', 'description' => '自动重呼,取值:'."\n"
."\n"
.'- 1:表示不重呼。'."\n"
."\n"
.'- 2:表示间隔重呼。'."\n"
."\n"
.'- 3:表示定时重呼。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TemplateName' => ['title' => '话术模板名称', 'description' => '话术模板名称。', 'type' => 'string', 'example' => '第一个话术'],
'SmsName' => ['title' => '短信模板', 'description' => '短信模板。', 'type' => 'string', 'example' => '短信02np'],
'AllowCallTime' => ['title' => '外呼时间段', 'description' => '外呼时间段。', 'type' => 'string', 'example' => '[[9,12],[[13.5,20]]]'],
'FlashSmsTemplateId' => ['title' => '闪信模板id', 'description' => '闪信模板ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '99'],
'TemplateId' => ['title' => '话术模板Id', 'description' => '话术模板ID。', 'type' => 'string', 'example' => '123'],
'InvalidReCall' => ['title' => '接通重呼次数', 'description' => '接通重呼次数,取值:'."\n"
."\n"
.'- 1:表示不重呼。'."\n"
."\n"
.'- 2:表示重呼。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'FlashSmsType' => ['title' => '发送闪信配置,可选0,1;0表示否,1表示是', 'description' => '发送闪信配置,取值:'."\n"
."\n"
.'- 0:表示否。'."\n"
."\n"
.'- 1:表示是。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'example' => '',
],
'Code' => ['description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '80'],
'Success' => ['description' => '表示是否调用成功,取值:'."\n"
."\n"
.'- true:调用成功。'."\n"
."\n"
.'- false:调用失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"Message\\": \\"成功\\\\n\\",\\n \\"RequestId\\": \\"8EFC6D10-****-1ECA-****-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": [\\n {\\n \\"Status\\": 4,\\n \\"AllowDayOfWeek\\": \\"1,2,3\\",\\n \\"TaskId\\": 68,\\n \\"IntentTags\\": [\\n {\\n \\"IntentDescription\\": \\"满意\\",\\n \\"IntentTag\\": \\"123\\"\\n }\\n ],\\n \\"Priority\\": 1,\\n \\"CreateTime\\": \\"2023-04-05 12:11:11\\\\n\\",\\n \\"CallType\\": 1001,\\n \\"MaxConcurrency\\": 95,\\n \\"PersonalityTags\\": [\\n \\"AA\\"\\n ],\\n \\"SendSms\\": 1,\\n \\"ImportTime\\": \\"2023-04-05 12:11:11\\",\\n \\"Properties\\": \\"尊称,姓名,金额\\",\\n \\"FlashSmsTemplateName\\": \\"示例值\\",\\n \\"AllowCallTimeFormat\\": \\"9:00 ~ 12:00\\\\\\\\n13.5 ~ 20\\",\\n \\"LastCallTime\\": \\"2023-04-05 12:11:11\\",\\n \\"TaskName\\": \\"第一个外呼任务\\",\\n \\"RecallType\\": 1,\\n \\"TemplateName\\": \\"第一个话术\\",\\n \\"SmsName\\": \\"短信02np\\",\\n \\"AllowCallTime\\": \\"[[9,12],[[13.5,20]]]\\",\\n \\"FlashSmsTemplateId\\": 99,\\n \\"TemplateId\\": \\"123\\",\\n \\"InvalidReCall\\": 1,\\n \\"FlashSmsType\\": 1\\n }\\n ],\\n \\"Code\\": 0,\\n \\"Timestamp\\": 80,\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '行业版查询任务列表',
'description' => '行业版查询任务列表。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskList'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'aiccs:TaskList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'TaskRecoverCall' => [
'summary' => '行业版-任务恢复外呼'."\n"
.'针对任务取消的号码,可通过此接口恢复,重新加入外呼队列中等待外呼。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '93'],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '用户自定义标签列表',
'description' => '用户自定义标签列表',
'type' => 'array',
'items' => ['description' => '标签', 'type' => 'string', 'required' => false, 'example' => 'tag1'],
'required' => false,
'example' => '',
],
],
[
'name' => 'Numbers',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '号码列表',
'description' => '号码列表',
'type' => 'array',
'items' => ['description' => '号码', 'type' => 'string', 'required' => false, 'example' => '13541251222,18665214444'],
'required' => false,
'example' => '',
],
],
[
'name' => 'BeginImportTime',
'in' => 'query',
'schema' => ['title' => '查询开始导入时间', 'description' => '查询开始导入时间', 'type' => 'string', 'required' => false, 'example' => '"2023-01-09 18:58:19"'],
],
[
'name' => 'EndImportTime',
'in' => 'query',
'schema' => ['title' => '查询结束导入时间', 'description' => '查询结束导入时间', 'type' => 'string', 'required' => false, 'example' => '"2023-01-09 18:58:19"'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'],
'Model' => ['description' => '返回结果', 'type' => 'object', 'example' => '无内容'],
'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['description' => '操作是否成功。取值:true:成功。false:失败。', 'type' => 'string', 'example' => 'true'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '行业版-任务恢复外呼',
'changeSet' => [],
'ramActions' => [],
],
'TemplateList' => [
'summary' => '行业版话术模板列表。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'TemplateId',
'in' => 'query',
'schema' => ['title' => '必须空参', 'description' => '必须空参', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '9'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"],
'Model' => [
'description' => '返回结果',
'type' => 'array',
'items' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'IntentTags' => [
'title' => '意向标签',
'description' => '意向标签',
'type' => 'array',
'items' => ['title' => '', 'description' => '{'."\n"
.' "intentDescription": "已成为客户",'."\n"
.' "intentTag": "A"'."\n"
.' }', 'type' => 'object', 'example' => '{'."\n"
.' "intentDescription": "已成为客户",'."\n"
.' "intentTag": "A"'."\n"
.' }'],
'example' => '',
],
'TemplateName' => ['title' => '话术模板名称', 'description' => '话术模板名称', 'type' => 'string', 'example' => '模板'],
'PersonalityTags' => [
'title' => '个性标签',
'description' => '个性标签',
'type' => 'array',
'items' => ['description' => '标签', 'type' => 'string', 'example' => '标签'],
'example' => '',
],
'TemplateType' => ['title' => '模板类型', 'description' => '模板类型', 'type' => 'integer', 'format' => 'int64', 'example' => '1:单模版;2:智能话术策略模板。'],
'Properties' => ['title' => '话术所需参数', 'description' => '话术所需参数', 'type' => 'string', 'example' => '"尊称,姓名,金额"'],
'TemplateId' => ['title' => 'AI话术ID', 'description' => 'AI话术ID', 'type' => 'integer', 'format' => 'int64', 'example' => '59'],
],
],
'example' => '',
],
'Code' => ['description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['description' => '表示是否调用成功。true:调用成功。false:调用失败。', 'type' => 'boolean', 'example' => 'false'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": [\\n {\\n \\"IntentTags\\": [\\n {\\n \\"intentDescription\\": \\"已成为客户\\",\\n \\"intentTag\\": \\"A\\"\\n }\\n ],\\n \\"TemplateName\\": \\"模板\\",\\n \\"PersonalityTags\\": [\\n \\"标签\\"\\n ],\\n \\"TemplateType\\": 0,\\n \\"Properties\\": \\"\\\\\\"尊称,姓名,金额\\\\\\"\\",\\n \\"TemplateId\\": 59\\n }\\n ],\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": false\\n}","type":"json"}]',
'title' => '行业版话术模板列表',
'description' => '行业版话术模板列表',
'requestParamsDescription' => 'TemplateId 无效入参,不需要填写,由于镇远元平台必须有入参,此参数仅做占位符',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TemplateList'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'aiccs:TemplateList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'UpdateAgentStatus' => [
'summary' => '行业版-更新坐席状态。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'AgentId',
'in' => 'query',
'schema' => ['title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '58'],
],
[
'name' => 'AgentTag',
'in' => 'query',
'schema' => ['title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'required' => false, 'example' => 'abac'],
],
[
'name' => 'AgentStatus',
'in' => 'query',
'schema' => ['title' => '坐席状态 1:在线;2:忙碌;3:小休;4:离线', 'description' => '坐席状态 1:在线;2:忙碌;3:小休;4:离线', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"],
'Model' => ['description' => '返回结果', 'type' => 'object', 'example' => '无内容'],
'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['description' => '操作是否成功。取值:true:成功。false:失败。', 'type' => 'string', 'example' => 'true'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '行业版-更新坐席状态',
'changeSet' => [],
'ramActions' => [],
],
'UpdateTaskCustomer' => [
'summary' => '行业版-更新任务号码参数。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '59'],
],
[
'name' => 'Customers',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '外呼客户',
'description' => '外呼客户',
'type' => 'array',
'items' => [
'description' => '号码详情',
'type' => 'object',
'properties' => [
'Number' => ['title' => '电话号码', 'description' => '电话号码', 'type' => 'string', 'required' => false, 'example' => '13661109390'],
'Cancel' => ['title' => '是否取消外呼 0否,1是', 'description' => '是否取消外呼 0否,1是', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
'Tag' => ['title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'required' => false, 'example' => 'tag1'],
'Properties' => ['title' => '需根据具体任务参数要求传输', 'description' => '需根据具体任务参数要求传输', 'type' => 'object', 'required' => false, 'example' => '{"test":"234"}'],
],
'required' => false,
],
'required' => true,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => '成功'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n"],
'Model' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'UnHandleNumbers' => [
'title' => '错误手机列表',
'description' => '未识别的手机号列表',
'type' => 'array',
'items' => ['description' => '未识别的手机号', 'type' => 'string', 'example' => '13661109390'],
'example' => '',
],
],
'example' => '',
],
'Code' => ['description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Timestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035'],
'Success' => ['description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', 'type' => 'string', 'example' => 'true'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"13661109390\\"\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '行业版-更新任务号码参数',
'changeSet' => [],
'ramActions' => [],
],
],
'endpoints' => [
['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'aiccs.aliyuncs.com', 'endpoint' => 'aiccs.aliyuncs.com', 'vpc' => ''],
],
'errorCodes' => [
['code' => 'CorpusCreateFailure', 'message' => 'Failed to create the corpus.', 'http_code' => 400, 'description' => '创建语料失败'],
['code' => 'CorpusDeleteFailure', 'message' => 'Failed to delete the corpus.', 'http_code' => 400, 'description' => '删除语料失败'],
['code' => 'Department.NotFound', 'message' => 'The specified department does not exist.', 'http_code' => 400, 'description' => '指定部门不存在'],
['code' => 'Forbidden.Operation', 'message' => 'No permissions for this operation.', 'http_code' => 400, 'description' => '无操作权限'],
['code' => 'InvalidCustomer.NotFound', 'message' => 'Failed to query customers.', 'http_code' => 400, 'description' => '查询客户失败'],
['code' => 'InvalidInstanceId', 'message' => 'The specified instance is unavailable or does not exist.', 'http_code' => 400, 'description' => '当前实例不可用或不存在'],
['code' => 'InvalidOperation', 'message' => 'The operation is invalid.', 'http_code' => 500, 'description' => '无效操作'],
['code' => 'InvalidParameter', 'message' => 'The specified parameter is invalid.', 'http_code' => 500, 'description' => '传入参数不正确'],
['code' => 'InvalidParameter.ApplicationCode', 'message' => 'The specified parameter "ApplicationCode" is invalid.', 'http_code' => 400, 'description' => '参数ApplicationCode无效。'],
['code' => 'InvalidParameter.CallDate', 'message' => 'The specified parameter "CallDate" is not valid.', 'http_code' => 400, 'description' => 'CallDate无效。'],
['code' => 'InvalidParameter.CallId', 'message' => 'The parameter CallId is invalid.', 'http_code' => 400, 'description' => '参数CallId无效。'."\n"],
['code' => 'InvalidPartnerId.NotFound', 'message' => 'You must specify PartnerId.', 'http_code' => 400, 'description' => '合作伙伴ID为空'],
['code' => 'InvalidUserInfo.Exception', 'message' => 'Failed to query user information.', 'http_code' => 400, 'description' => '查询用户信息异常'],
['code' => 'INVALID_SUMMARY_AGENT', 'message' => 'summary agent is invalid.', 'http_code' => 400, 'description' => '小计智能体非法'],
['code' => 'INVALID_TASK_NAME', 'message' => 'taskName is invalid.', 'http_code' => 400, 'description' => '无效的任务名称'],
['code' => 'MissingParameter.CallerNumber', 'message' => 'Parameter "CallerNumber" which is mandatory for the request is not provided.', 'http_code' => 400, 'description' => '没有提供请求必须的参数“CallerNumber”。'],
['code' => 'ModelCreateFailure', 'message' => 'Failed to create the model.', 'http_code' => 400, 'description' => '创建模型失败'],
['code' => 'ModelDeleteFailure', 'message' => 'Failed to delete the the model.', 'http_code' => 400, 'description' => '删除模型失败'],
['code' => 'ModelNotExist', 'message' => 'The model does not exist.', 'http_code' => 400, 'description' => '模型不存在。'],
['code' => 'ModelStatus.Invalid', 'message' => 'Model state invalid.', 'http_code' => 400, 'description' => '模型状态无效。'],
['code' => 'ModelUpperLimitReached', 'message' => 'The maximum number of models is exceeded.', 'http_code' => 400, 'description' => '模型数已达到上限'],
['code' => 'NoAgentFound', 'message' => 'The specified agent does not exist.', 'http_code' => 500, 'description' => '没有找到指定坐席'],
['code' => 'NoSkillGroupSetFound', 'message' => 'The specified skill group set does not exist.', 'http_code' => 500, 'description' => '没有找到技能组分组'],
['code' => 'NoTenantFound', 'message' => 'The specified tenant does not exist.', 'http_code' => 500, 'description' => '没有发现租户实例'],
['code' => 'Parameter.Error', 'message' => 'Parameter error.', 'http_code' => 400, 'description' => '参数错误'],
['code' => 'Parameter.Exception', 'message' => 'The specified parameter is invalid.', 'http_code' => 400, 'description' => '参数异常'],
['code' => 'ParameterError', 'message' => 'The parameter is invalid.', 'http_code' => 400, 'description' => '参数错误'],
['code' => 'Permission.NotAuthorized', 'message' => 'Insufficient permissions. Please contact the primary account administrator.', 'http_code' => 400, 'description' => '权限不足,请联系主账号管理员'],
['code' => 'PermissionInsufficient', 'message' => 'Insufficient permissions. Please contact the Alibaba Cloud account administrator.', 'http_code' => 400, 'description' => '权限不足,请联系主账号管理员'],
['code' => 'RequestParamError', 'message' => 'The request parameter you sent is abnormal. Please check.', 'http_code' => 501, 'description' => '您发送的请求参数异常。请进行核对!'],
['code' => 'SUMMARY_AGENT_NOT_ONLINE', 'message' => 'summary agent is not online.', 'http_code' => 400, 'description' => '小计智能体未在线'],
['code' => 'SystemError', 'message' => 'A system error occurred. Please contact the administrator.', 'http_code' => 500, 'description' => '系统错误,请联系管理员!'],
['code' => 'SystemHandleFail', 'message' => 'A system error occurred while processing your request.', 'http_code' => 500, 'description' => '系统处理错误'],
['code' => 'TASK_FILE_NOT_EXIST', 'message' => 'task file is not exist.', 'http_code' => 400, 'description' => '任务文件不存在'],
['code' => 'TrainFailure', 'message' => 'Model training failed.', 'http_code' => 400, 'description' => '训练模型失败'],
['code' => 'VocabCreateFailure', 'message' => 'Failed to create the vocab.', 'http_code' => 400, 'description' => '创建热词失败'],
['code' => 'VocabDeleteFailure', 'message' => 'Failed to delete the vocab.', 'http_code' => 400, 'description' => '删除热词失败'],
['code' => 'VocabFileEmpty', 'message' => 'The vocab file cannot be empty.', 'http_code' => 400, 'description' => '热词文件不能为空'],
['code' => 'VocabFileNotExist', 'message' => 'The vocab file does not exist.', 'http_code' => 400, 'description' => '热词文件不存在'],
['code' => 'VocabUpdateFailure', 'message' => 'Failed to update the vocab.', 'http_code' => 400, 'description' => '更新热词失败'],
['code' => 'VocabUpperLimitReached', 'message' => 'The maximum number of vocab groups is exceeded.', 'http_code' => 400, 'description' => '热词组已达到上限'],
['code' => 'WordExceed', 'message' => 'Each word cannot exceed 10 characters.', 'http_code' => 400, 'description' => '每个词语不能超过10个字'],
['code' => 'WordExceed', 'message' => 'Each group of vocabs cannot exceed 128 words.', 'http_code' => 400, 'description' => '每组热词不能超过128个词'],
],
'changeSet' => [
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'ImportNumberV2'],
],
'createdAt' => '2025-05-13T14:41:14.000Z',
'description' => '',
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImportNumber'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TemplateList'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddTask'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCallInfo'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskList'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AgentCancelCall'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'Page'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SmsTemplatePageList'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskRecoverCall'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AgentRecoverCall'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'Details'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SmsTemplateCreate'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCancelCall'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCallList'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditTask'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTaskCustomer'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddBlacklist'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskCallChats'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAgentStatus'],
],
],
'ram' => [
'productCode' => 'AICCS',
'productName' => '智能联络中心',
'ramCodes' => ['aiccs'],
'ramLevel' => '操作级',
'ramConditions' => [],
'ramActions' => [
[
'apiName' => 'TaskCallInfo',
'description' => '行业版-获取任务外呼情况',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:TaskCallInfo',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'TaskCancelCall',
'description' => '行业版-任务取消外呼',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:TaskCancelCall',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'TaskList',
'description' => '行业版查询任务列表',
'operationType' => '',
'ramAction' => [
'action' => 'aiccs:TaskList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'TaskCallChats',
'description' => '行业版-查询聊天记录',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:TaskCallChats',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateTaskCustomer',
'description' => '行业版-更新任务号码参数',
'operationType' => 'update',
'ramAction' => [
'action' => 'aiccs:UpdateTaskCustomer',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'TaskCallList',
'description' => '行业版-AI批量任务查询外呼记录',
'operationType' => '',
'ramAction' => [
'action' => 'aiccs:TaskCallList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'SmsTemplatePageList',
'description' => '行业版-短信模板列表查询',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:SmsTemplatePageList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'AddTask',
'description' => '行业版-创建任务',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:AddTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'Details',
'description' => '行业版-AI批量任务查询号码状态',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:Details',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'Page',
'description' => '行业版-分页查询黑名单',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:Page',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'EditTask',
'description' => '行业版-编辑任务',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:EditTask',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'SmsTemplateCreate',
'description' => '行业版-添加短信模板',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:SmsTemplateCreate',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ImportNumber',
'description' => '行业版-批量导入任务号码',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:ImportNumber',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'TemplateList',
'description' => '行业版话术模板列表',
'operationType' => '',
'ramAction' => [
'action' => 'aiccs:TemplateList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'TaskRecoverCall',
'description' => '行业版-任务恢复外呼',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:TaskRecoverCall',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateAgentStatus',
'description' => '行业版-更新坐席状态',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:UpdateAgentStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'AddBlacklist',
'description' => '行业版-添加黑名单',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:AddBlacklist',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'AgentRecoverCall',
'description' => '行业版-坐席恢复外呼',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:AgentRecoverCall',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'AgentCancelCall',
'description' => '行业版-坐席取消外呼',
'operationType' => 'none',
'ramAction' => [
'action' => 'aiccs:AgentCancelCall',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AICCS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'resourceTypes' => [],
],
];
|