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
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'RPC', 'product' => 'Dytnsapi', 'version' => '2023-01-01'],
'directories' => [
'GetPhoneNumberIdentificationUrl',
'GetPhoneNumberIdentificationResult',
[
'children' => ['DescribeNumberMccMnc', 'DescribeNumberHLR', 'GetIdentificationSession', 'GetIdentificationResult'],
'type' => 'directory',
'title' => '其他',
'id' => 451946,
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'DescribeNumberHLR' => [
'summary' => 'HLR服务,用于查询号码的基本信息以及号码状态。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '265522',
'abilityTreeNodes' => ['FEATUREdytnsFPPMA9'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'PhoneNumber',
'in' => 'query',
'schema' => ['description' => '号码', 'type' => 'string', 'required' => false, 'example' => 'example'],
],
[
'name' => 'AuthCode',
'in' => 'query',
'schema' => ['description' => '授权码。'."\n"
."\n"
.'>登录[号码百科控制台](https://dytns.console.aliyun.com/overview?spm=a2c4g.608385.0.0.79847f8b3awqUC),在[我的申请](https://dytns.console.aliyun.com/analysis/apply)页面,获取授权ID即授权码。', 'type' => 'string', 'required' => false, 'example' => 'example'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息;只有Ram校验失败才会返回此字段', 'type' => 'string', 'example' => 'None'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1C3B8084-3A7D-570B-BC84-BF945A9CF65E'],
'Message' => ['description' => '返回状态码描述。', 'type' => 'string', 'example' => 'OK'],
'Data' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'Call' => [
'description' => '电话',
'type' => 'object',
'properties' => [
'MinLength' => ['description' => '最小长度', 'type' => 'integer', 'format' => 'int64', 'example' => '21'],
'CleansedCode' => ['description' => 'call', 'type' => 'string', 'example' => 'example'],
'MaxLength' => ['description' => '最大长度。', 'type' => 'integer', 'format' => 'int64', 'example' => '22'],
],
],
'PhoneType' => ['description' => '号码类型', 'type' => 'string', 'example' => 'example'],
'CountryIso3' => ['description' => '号码归属国家ISO3码', 'type' => 'string', 'example' => 'example'],
'Live' => [
'description' => '号码是否在线',
'type' => 'object',
'properties' => [
'RoamingCountry' => ['description' => '漫游国家', 'type' => 'string', 'example' => 'example'],
'DeviceStatus' => ['description' => '设备状态', 'type' => 'string', 'example' => 'example'],
'SubscriberStatus' => ['description' => '订阅状态', 'type' => 'string', 'example' => 'example'],
'Roaming' => ['description' => '漫游', 'type' => 'string', 'example' => 'example'],
],
],
'Sms' => [
'description' => '挂机短信',
'type' => 'object',
'properties' => [
'MinLength' => ['description' => '最小长度', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'MaxLength' => ['description' => '最大长度。', 'type' => 'integer', 'format' => 'int64', 'example' => '59'],
'CleansedCode' => ['description' => 'sms', 'type' => 'integer', 'format' => 'int64', 'example' => '58'],
],
],
'Carrier' => ['description' => '号码所属的运营商网络。', 'type' => 'string', 'example' => 'example'],
'City' => ['description' => '设备注册的城市。', 'type' => 'string', 'example' => 'example'],
'Blocked' => ['description' => '分析不通过的情况下是否阻塞运行。', 'type' => 'string', 'example' => 'example'],
],
],
'Code' => ['description' => '请求状态码。取值:'."\n"
."\n"
.'- **OK**:成功。', 'type' => 'string', 'example' => 'OK'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"RequestId\\": \\"1C3B8084-3A7D-570B-BC84-BF945A9CF65E\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Call\\": {\\n \\"MinLength\\": 21,\\n \\"CleansedCode\\": \\"example\\",\\n \\"MaxLength\\": 22\\n },\\n \\"PhoneType\\": \\"example\\",\\n \\"CountryIso3\\": \\"example\\",\\n \\"Live\\": {\\n \\"RoamingCountry\\": \\"example\\",\\n \\"DeviceStatus\\": \\"example\\",\\n \\"SubscriberStatus\\": \\"example\\",\\n \\"Roaming\\": \\"example\\"\\n },\\n \\"Sms\\": {\\n \\"MinLength\\": 2,\\n \\"MaxLength\\": 59,\\n \\"CleansedCode\\": 58\\n },\\n \\"Carrier\\": \\"example\\",\\n \\"City\\": \\"example\\",\\n \\"Blocked\\": \\"example\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]',
'title' => '号码状态服务',
'description' => '- 请确保在使用本接口前,您已充分了解号码百科产品定价。'."\n"
.'- 使用本接口前,请登录号码百科控制台,在标签广场页面,找到对应的标签,单击申请开通。'."\n"
.'- 当接口值返回值:Code="OK"时计费,其他返回结果不计费。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
],
'DescribeNumberMccMnc' => [
'summary' => '号码百科国际站号码归属服务,用于查询号码归属的国家和运营商(Mcc Mnc 码)。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '263170',
'abilityTreeNodes' => ['FEATUREdytnsFPPMA9'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'PhoneNumber',
'in' => 'query',
'schema' => ['description' => '号码,(号码前需要带上区号)如中国香港地区号码,则为85212343433', 'type' => 'string', 'required' => false, 'example' => '86123434345'],
],
[
'name' => 'AuthCode',
'in' => 'query',
'schema' => ['description' => '授权码。'."\n"
."\n"
.'> 在**登录号码百科控制台**->[**标签广场**](https://dytns.console.aliyun.com/analysis/square)选择标签,提交使用申请,申请通过后,会获得该授权码。', 'type' => 'string', 'required' => false, 'example' => 'example'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息;只有RAM校验失败才会返回此字段。', 'type' => 'string', 'example' => '-'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47'],
'Message' => ['description' => '状态码的描述。', 'type' => 'string', 'example' => 'OK'],
'Data' => [
'description' => '结构体。',
'type' => 'object',
'properties' => [
'Mnc' => ['description' => '号码归属的运营商Mnc码', 'type' => 'string', 'example' => '123'],
'Ported' => ['description' => '号码是否有发生过携转', 'type' => 'boolean', 'example' => 'true'],
'CountryIso3' => ['description' => '号码归属国家ISO3码', 'type' => 'string', 'example' => 'USA'],
'Mcc' => ['description' => '号码归属的运营商mcc码', 'type' => 'string', 'example' => '123'],
],
],
'Code' => ['description' => '请求状态码。 **OK**为成功。', 'type' => 'string', 'example' => 'OK'],
],
'description' => '',
],
],
],
'errorCodes' => [
200 => [
['errorCode' => 'RequestNumberNotSupported', 'errorMessage' => 'NotSupported this RequestNumber.', 'description' => '不支持中国广电号码(192 开头)、虚拟运营商、和其他运营商不支持查询的号码。'],
['errorCode' => 'PhoneNumberNotfound', 'errorMessage' => '传入的手机号查不到结果', 'description' => '传入的手机号查不到结果'],
],
500 => [
['errorCode' => 'RequestSupplierError', 'errorMessage' => 'Request supplier error.', 'description' => '请求第三方服务异常。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"-\\",\\n \\"RequestId\\": \\"CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Mnc\\": \\"123\\",\\n \\"Ported\\": true,\\n \\"CountryIso3\\": \\"USA\\",\\n \\"Mcc\\": \\"123\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]',
'title' => '国际号码归属服务',
'description' => '请确保在使用该接口前,已充分了解号码产品的收费方式和价格。'."\n"
."\n"
.'计费方式:当返回Code== \'OK\'进行计费。'."\n"
."\n"
.'因为数据原因,MCC、MNC返回码可能为空。',
'responseParamsDescription' => '目前支持的国家或者地区只包括:美国、西班牙、马来西亚、日本、泰国、韩国、巴西、俄罗斯、越南、法国、菲律宾、德国、英国、意大利、巴基斯坦、新加坡、印度、中国香港地区',
'changeSet' => [
['createdAt' => '2025-08-13T12:44:59.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
],
'GetIdentificationResult' => [
'summary' => '获取认证结果',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeNodes' => ['FEATUREdytnsFPPMA9'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'SessionId',
'in' => 'query',
'schema' => ['description' => '会话ID。', 'type' => 'string', 'required' => true, 'example' => 'example'],
],
[
'name' => 'AuthCode',
'in' => 'query',
'schema' => ['description' => '授权码。'."\n"
."\n"
.'> 在[号码百科控制台](https://dytns.console.aliyun.com/analysis/apply)**我的申请**页面,获取授权ID即授权码。', 'type' => 'string', 'required' => true, 'example' => 'example'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息。', 'type' => 'string', 'example' => '-'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '68A40250-50CD-034C-B728-0BD135850177'],
'Message' => ['description' => '状态码的描述。', 'type' => 'string', 'example' => 'OK'],
'Data' => [
'description' => '返回的数据内容。',
'type' => 'object',
'properties' => [
'IsIdentified' => ['description' => '是否通过认证。', 'type' => 'boolean', 'example' => 'true'],
],
],
'Code' => ['description' => '请求状态码。取值:'."\n"
."\n"
.'- **OK**:成功。', 'type' => 'string', 'example' => 'OK'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取认证结果',
'description' => '- 请确保在使用本接口前,您已充分了解号码百科[产品定价](~~154008~~)。'."\n"
.'- 使用本接口前,请登录号码百科控制台,在[标签广场](https://dytns.console.aliyun.com/analysis/square)页面,找到对应的标签,单击**申请开通**,填写申请资料,审批通过后即可使用。'."\n"
.'- 当接口值返回值:Code="OK",其他返回结果不计费。'."\n"
."\n\n"
.'### QPS限制'."\n"
.'本接口的单用户QPS限制为200次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dytns:GetIdentificationResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"-\\",\\n \\"RequestId\\": \\"68A40250-50CD-034C-B728-0BD135850177\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"IsIdentified\\": true\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]',
],
'GetIdentificationSession' => [
'summary' => '国际认证获取sessionId。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREdytnsFPPMA9'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'AuthCode',
'in' => 'query',
'schema' => ['description' => '授权码。', 'type' => 'string', 'required' => true, 'example' => 'example'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AccessDeniedDetail' => ['description' => '访问被拒绝详细信息。', 'type' => 'string', 'example' => '-'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '68A40250-50CD-034C-B728-0BD******177'],
'Message' => ['description' => '状态码的描述。', 'type' => 'string', 'example' => 'OK'],
'Data' => [
'description' => '结构体。',
'type' => 'object',
'properties' => [
'ExpireDate' => ['description' => '权限过期时间。', 'type' => 'string', 'example' => 'example'],
'SessionId' => ['description' => '会话ID。', 'type' => 'string', 'example' => 'example'],
],
],
'Code' => ['description' => '请求状态码。'."\n"
."\n"
.'- OK:请求成功。'."\n"
.'- NoIdentificationResult:无认证结果或无法认证。'."\n"
.'- SessionNotValid:无效或过期的会话。'."\n"
.'- MobileNumberIllegal:手机号格式错误。', 'type' => 'string', 'example' => 'OK'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取认证sessionId',
'description' => '- 使用本接口前,请登录号码百科控制台,在[标签广场](https://dytns.console.aliyun.com/analysis/square)页面,找到对应的标签,单击**申请开通**,填写申请资料,审批通过后即可使用。'."\n"
.'- 当接口值返不计费。'."\n"
.'### QPS限制'."\n"
.'本接口的单用户QPS限制为200次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'dytns:GetIdentificationSession',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"-\\",\\n \\"RequestId\\": \\"68A40250-50CD-034C-B728-0BD******177\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"ExpireDate\\": \\"example\\",\\n \\"SessionId\\": \\"example\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]',
],
'GetPhoneNumberIdentificationResult' => [
'summary' => '获取本机号码认证结果。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '179163',
'abilityTreeNodes' => ['FEATUREdytnsFPPMA9'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SessionId',
'in' => 'query',
'schema' => ['description' => '会话ID。', 'type' => 'string', 'required' => true, 'example' => '8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041'],
],
[
'name' => 'SessionPayload',
'in' => 'query',
'schema' => ['description' => '会话负载。', 'type' => 'string', 'required' => true, 'example' => 'uQne0vsuNywXVvI4VP5taHsgDNsd3BwcbmrhjXi58WbxBGFW+e8ufMEi9j89YonphV6NZ1PIeKvboHtU1nsSjZMTcoFPfkjqaORIHdSlPb6vmIzqOnJMsP1KPQ8K1JLXSaAKsB2lQ5A9HCkX2HzDEwje14HYQsnPd/Ka2YWgXuL0N8GE9oYi25d4DdlU0XR52YjSj8GMLSgbW7yNxEPvUCOQG83FZfQqmIWG2+0C/fQ3gdG9WI7AeeHZo4IRKGtQnpjKGtZZl8VoLPNIswDqZeeyjCyZlKUXKrAt4Co9c4I4q8G1jZm53COQJ+DuTiWH7w+tois3WJwFV/HmdlAKt8SqpiVrEv47VQ9V+8FYsdKz3A3CRyBVgNj6wYKKbwaI9BdQoOkbYzzA8CfAKO5w1oYVD2nOcYS/AffbPbE31PJj7SdVvKghwPL56OVdjS9Hd0iW0SMBWD0F1iRNCUNHL3ffHcFjJLdhTrMt8VHSRn0nOlvO1ZaWqMQ0yE0q*************************kXTpoQLo0+0h+CEcf90hTg8XdMhj9B0A3SOINceLlmoZb3czvYl00+CC0075DjOX41YtnuAUfaNYPgLIZkjYyq+JopBQFAkxPUbJHC0oCzB9dQa******WY38OPBs='],
],
[
'name' => 'OutId',
'in' => 'query',
'schema' => ['description' => '外部流水号。', 'type' => 'string', 'required' => true, 'example' => '149b03d2-a749-4e6e-8f5b-34******5815'],
],
[
'name' => 'AuthCode',
'in' => 'query',
'schema' => ['description' => '授权码。', 'type' => 'string', 'required' => true, 'example' => 'K***9i7CIe'],
],
[
'name' => 'PhoneNumber',
'in' => 'query',
'schema' => ['description' => '客户端手机号(MSISDN格式,认证过程中须保持一致)。', 'type' => 'string', 'required' => true, 'example' => '628211****113'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回对象。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '68A40250-50CD-034C-B728-0BD******177'],
'Message' => ['description' => '状态码的描述。', 'type' => 'string', 'example' => 'OK'],
'Data' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'IsIdentified' => ['description' => '是否通过认证。', 'type' => 'string', 'example' => 'true'],
],
],
'Code' => ['description' => '请求状态码。'."\n"
."\n"
.'- OK:请求成功。'."\n"
.'- NoIdentificationResult:无认证结果或无法认证。'."\n"
.'- SessionNotValid:无效或过期的会话。'."\n"
.'- MobileNumberIllegal:手机号格式错误。', 'type' => 'string', 'example' => 'OK'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68A40250-50CD-034C-B728-0BD******177\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"IsIdentified\\": \\"true\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]',
'title' => '获取本机号码认证结果',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'dytns:GetPhoneNumberIdentificationResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetPhoneNumberIdentificationUrl' => [
'summary' => '获取本机号码认证URL。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '178936',
'abilityTreeNodes' => ['FEATUREdytnsFPPMA9'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Ip',
'in' => 'query',
'allowEmptyValue' => false,
'schema' => ['description' => '客户端IP。', 'type' => 'string', 'required' => false, 'example' => '114.124.***.13'],
],
[
'name' => 'PhoneNumber',
'in' => 'query',
'schema' => ['description' => '客户端手机号(MSISDN格式)。', 'type' => 'string', 'required' => true, 'example' => '628211****113'],
],
[
'name' => 'OutId',
'in' => 'query',
'schema' => ['description' => '外部流水号。', 'type' => 'string', 'required' => true, 'example' => '149b03d2-a749-4e6e-8f5b-34******5815'],
],
[
'name' => 'AuthCode',
'in' => 'query',
'schema' => ['description' => '授权码。', 'type' => 'string', 'required' => true, 'example' => 'K***9i7CIe'],
],
[
'name' => 'RememberPhoneNumber',
'in' => 'query',
'schema' => ['description' => '是否记录手机号。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回对象。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '68A40250-50CD-034C-B728-0BD******177'],
'Message' => ['description' => '状态码的描述。', 'type' => 'string', 'example' => 'OK'],
'Data' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'IdentificationUrl' => ['description' => '认证URL。', 'type' => 'string', 'example' => 'https://global-ip-auth.dycpaas.com/global/biz/ip_auth/start?ipa_s_c_c=IPF0000000000000******&ipa_s_i=8636b75e2fcb40c53ffecc2b59******'],
'SessionId' => ['description' => '会话ID。', 'type' => 'string', 'example' => '8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041'],
],
],
'Code' => ['description' => '请求状态码。'."\n"
."\n"
.'- **OK**:请求成功。'."\n"
.'- **IdentificationNotAvailable**:该IP对应的手机号不支持认证。'."\n"
.'- **MobileNumberIllegal**:手机号格式错误。', 'type' => 'string', 'example' => 'OK'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68A40250-50CD-034C-B728-0BD******177\\",\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"IdentificationUrl\\": \\"https://global-ip-auth.dycpaas.com/global/biz/ip_auth/start?ipa_s_c_c=IPF0000000000000******&ipa_s_i=8636b75e2fcb40c53ffecc2b59******\\",\\n \\"SessionId\\": \\"8636b75e2fcb40c53ffecc2b5947115c.149b03d2a7494e6e8f5b34c915245815.707c7f0d93f4409db0761aa5da94ce01.1686******041\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]',
'title' => '获取本机号码认证URL',
'changeSet' => [
['createdAt' => '2024-03-12T06:24:07.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
],
],
'endpoints' => [
['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => 'dytnsapi-vpc.ap-southeast-1.aliyuncs.com'],
['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => 'dytnsapi-vpc.ap-southeast-5.aliyuncs.com'],
['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => 'dytnsapi-vpc.cn-shanghai.aliyuncs.com'],
['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => 'dytnsapi-vpc.eu-central-1.aliyuncs.com'],
['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dytnsapi.aliyuncs.com', 'endpoint' => 'dytnsapi.aliyuncs.com', 'vpc' => ''],
],
'errorCodes' => [
['code' => 'AuthCodeAndApiNotMatch', 'message' => 'AuchCode和请求的Api不匹配', 'http_code' => 400, 'description' => 'AuchCode和请求的Api不匹配'],
['code' => 'AuthCodeIllegal', 'message' => 'Illegal authCode.', 'http_code' => 400, 'description' => '鉴权时使用的authcode不可用于该接口'],
['code' => 'AuthCodeNotExist', 'message' => 'The label application form does not exist, please replace the authorization code.', 'http_code' => 400, 'description' => '该标签申请单不存在,请重新更换授权码'],
['code' => 'AuthCodeNotExist', 'message' => 'The authorization code application failed and cannot be used.', 'http_code' => 400, 'description' => '授权码申请失败,不可使用'],
['code' => 'AuthCodeNotExist', 'message' => 'The authorization code does not exist.', 'http_code' => 400, 'description' => '授权码不存在'],
['code' => 'AuthCodeNotExist', 'message' => 'The authorization code is being applied and cannot be used.', 'http_code' => 400, 'description' => '授权码申请中,暂不可使用'],
['code' => 'AuthCodeNotExist', 'message' => '该AuchCode不存在', 'http_code' => 400, 'description' => '该AuchCode不存在'],
['code' => 'AuthCodeNotExist', 'message' => 'The authorization code is not found.', 'http_code' => 400, 'description' => '授权码不存在'],
['code' => 'BIZ_NOT_OPEN_ERROR', 'message' => 'Users who have not opened this product.', 'http_code' => 400, 'description' => '未开通本产品的用户,无法调用本产品。'],
['code' => 'CarrierIllegal', 'message' => 'Illegal carrier type', 'http_code' => 400, 'description' => '运营商类型非法'],
['code' => 'CarrierIllegal', 'message' => '运营商类型非法', 'http_code' => 400, 'description' => '运营商类型非法'],
['code' => 'CertCodeIllegal', 'message' => 'Invalid CertCode value.', 'http_code' => 400, 'description' => '身份证号码格式错误'],
['code' => 'CERTIFY_TYPE_NEED_ENTERPRISE_ERROR', 'message' => 'This service is only available to enterprise users.', 'http_code' => 400, 'description' => '本服务仅支持企业用户开通。'],
['code' => 'CUST_NOT_EXIST_ERROR', 'message' => 'customer not exist.', 'http_code' => 400, 'description' => '用户不存在。'],
['code' => 'DateIllegal', 'message' => 'Invalid date format.', 'http_code' => 400, 'description' => '日期格式错误'."\0"],
['code' => 'DateTimeIllegal', 'message' => '日期格式错误', 'http_code' => 400, 'description' => '日期格式错误'],
['code' => 'DateTimeIllegal', 'message' => 'Date format error.', 'http_code' => 400, 'description' => '日期格式错误'],
['code' => 'EncryptTypeIllegal', 'message' => 'Invalid encryption type.', 'http_code' => 400, 'description' => '加密类型错误'],
['code' => 'EncyrptTypeIllegal', 'message' => 'The encryption type of the mobile phone number is illegal', 'http_code' => 500, 'description' => '手机号加密类型非法'],
['code' => 'EncyrptTypeIllegal', 'message' => '加密类型错误', 'http_code' => 400, 'description' => '加密类型错误'],
['code' => 'GreaterThanCurrentTime', 'message' => '日期不允许大于当前时间', 'http_code' => 400, 'description' => '日期不允许大于当前时间'],
['code' => 'IdNumberIllegal', 'message' => '身份证号格式错误', 'http_code' => 400, 'description' => '身份证号格式错误'],
['code' => 'InputParamIllegal', 'message' => 'Wrong format of input parameter', 'http_code' => 400, 'description' => '参数格式错误'],
['code' => 'Insufficient.Balance', 'message' => 'You have an insufficient balance.', 'http_code' => 400, 'description' => '余额不足'],
['code' => 'InternalError', 'message' => 'Activation timed out.', 'http_code' => 500, 'description' => '开通超时'],
['code' => 'InternalError', 'message' => 'A system error occurred.', 'http_code' => 500, 'description' => '系统异常'],
['code' => 'InternalError', 'message' => 'An error occurred while processing your request.', 'http_code' => 500, 'description' => '处理请求失败'],
['code' => 'InvalidParameter', 'message' => 'The product is already activated.', 'http_code' => 400, 'description' => '产品已开通'],
['code' => 'InvalidParameter', 'message' => 'Real-name authentication is not completed.', 'http_code' => 400, 'description' => '未完成实名认证'],
['code' => 'InvalidParameter', 'message' => 'The specified mobile phone number is invalid.', 'http_code' => 400, 'description' => '非法号码'],
['code' => 'InvalidParameter', 'message' => 'The maximum number of data records per query is exceeded. The maximum is 100.', 'http_code' => 400, 'description' => '一次性查询超过100行数据'],
['code' => 'InvalidParameter', 'message' => 'The specified time range is invalid.', 'http_code' => 400, 'description' => '时间范围错误'],
['code' => 'InvalidParameter', 'message' => 'Either StartTime or EndTime is invalid.', 'http_code' => 400, 'description' => '起始时间或结束时间非法'],
['code' => 'InvalidParameter', 'message' => 'The specified parameter is invalid.', 'http_code' => 400, 'description' => '参数异常'],
['code' => 'InvalidParameter', 'message' => 'The customer information does not exist.', 'http_code' => 400, 'description' => '客户信息不存在'],
['code' => 'InvalidParameter', 'message' => '请求参数非法', 'http_code' => 400, 'description' => '请求参数非法'],
['code' => 'InvalidParameter', 'message' => 'Invalid parameter.', 'http_code' => 400, 'description' => '无效参数'],
['code' => 'isp.PORTABILITY_NUMBER_NOT_SUPPORTED', 'message' => 'Query for MNP numbers is not supported.', 'http_code' => 400, 'description' => '不支持携号转网的号码查询。'],
['code' => 'isp.QPS_LIMIT', 'message' => 'The maximum query frequency is exceeded.', 'http_code' => 400, 'description' => '当前查询频率已达系统上限。'],
['code' => 'isp.SYSTEM_ERROR', 'message' => 'A system error occurred.', 'http_code' => 500, 'description' => '系统错误。'],
['code' => 'isp.UNKNOWN', 'message' => 'An error occurred due to unknown reasons.', 'http_code' => 400, 'description' => '系统返回了未知异常。'],
['code' => 'isv.MOBILE_NUMBER_ILLEGAL', 'message' => 'The specified mobile phone number is invalid.', 'http_code' => 400, 'description' => '请求参数的手机号格式错误。'],
['code' => 'MobileEncrypyionNotMatch', 'message' => 'The number and encryption type do not match.', 'http_code' => 400, 'description' => '号码与加密类型不匹配'],
['code' => 'MobileNumberIllegal', 'message' => 'Wrong format of phone number', 'http_code' => 400, 'description' => '手机号码格式错误'],
['code' => 'MobileNumberIllegal', 'message' => '手机号码格式错误', 'http_code' => 400, 'description' => '手机号码格式错误'],
['code' => 'MobileNumberTypeIllegal', 'message' => 'Invalid number type.', 'http_code' => 400, 'description' => '号码类型错误'],
['code' => 'MobileNumberTypeIllegal', 'message' => '号码类型错误', 'http_code' => 400, 'description' => '号码类型错误'],
['code' => 'MobileNumberTypeNotMatch', 'message' => 'The number and number type do not match.', 'http_code' => 400, 'description' => '号码与号码类型不匹配'],
['code' => 'MobileNumberTypeNotMatch', 'message' => '号码与号码类型不匹配', 'http_code' => 400, 'description' => '号码与号码类型不匹配'],
['code' => 'MobileNumberTypeNotMatch', 'message' => 'The phone number and encryption type do not match.', 'http_code' => 400, 'description' => '手机号和所选加密方式不匹配'],
['code' => 'NameIllegal', 'message' => 'Invalid name.', 'http_code' => 400, 'description' => '姓名格式错误'."\0"],
['code' => 'OperatorLimit', 'message' => 'The number is limited by the operator.', 'http_code' => 200, 'description' => '该号码受运营商限制'],
['code' => 'OperatorLimit', 'message' => 'The number is limited by the operator', 'http_code' => 200, 'description' => '运营商禁止查询的手机号'],
['code' => 'OperatorLimit', 'message' => '运营商禁止查询的号码', 'http_code' => 200, 'description' => '运营商禁止查询的号码'],
['code' => 'OperatorLimit', 'message' => 'Number is limited by the operator.', 'http_code' => 400, 'description' => '运营商禁止查询的号码'],
['code' => 'OutOfService', 'message' => 'The ISV is out of service.', 'http_code' => 400, 'description' => '业务已停机'],
['code' => 'Parameter.Error', 'message' => 'A parameter error occurred.', 'http_code' => 400, 'description' => '参数错误'],
['code' => 'Permission.NotAuthorized', 'message' => 'You are not authorized to perform the operation.', 'http_code' => 403, 'description' => '您没有权限执行此操作'],
['code' => 'Permission.NotAuthorized', 'message' => 'Insufficient permissions. Please contact the primary account administrator.', 'http_code' => 403, 'description' => '权限不足,请联系主账号管理员'],
['code' => 'Permission.NotAuthorized', 'message' => '您没有权限执行此操作', 'http_code' => 403, 'description' => '您没有权限执行此操作'],
['code' => 'PhoneNumber.Illegal', 'message' => 'The specified phone number is illegal.', 'http_code' => 400, 'description' => '号码非法'],
['code' => 'PhoneNumber.NoSupport', 'message' => 'Number query is not supported for number portability.', 'http_code' => 400, 'description' => '不支持携号转网号码查询'],
['code' => 'PhoneNumber.QueryFail', 'message' => 'Failed to query the phone number.', 'http_code' => 400, 'description' => '查询号码失败'],
['code' => 'PhoneNumber.QueryFail', 'message' => 'The specified mobile phone number cannot find the result.', 'http_code' => 400, 'description' => '指定的手机号查不到结果'],
['code' => 'PhoneNumberNotfound', 'message' => 'The queried number is not found.', 'http_code' => 200, 'description' => '传入的手机号未查到归属结果'],
['code' => 'PhoneNumberNotfound', 'message' => '传入的手机号查不到结果', 'http_code' => 200, 'description' => '传入的手机号查不到结果'],
['code' => 'PortabilityNumberNotSupported', 'message' => 'Number portability is not supported', 'http_code' => 200, 'description' => '不支持携号转网'],
['code' => 'PortabilityNumberNotSupported', 'message' => '不支持2021年6月前携号转网的号码查询', 'http_code' => 200, 'description' => '不支持2021年6月前携号转网的号码查询'],
['code' => 'PortabilityNumberNotSupported', 'message' => '不支持携号转网的号码', 'http_code' => 200, 'description' => '不支持携号转网的号码'],
['code' => 'Product.NotOrdered', 'message' => 'You have not ordered this product (offer).', 'http_code' => 400, 'description' => '未订购该产品'],
['code' => 'Product.Unsubscript', 'message' => 'You have not subscribed to the specified product.', 'http_code' => 400, 'description' => '未订阅该功能'],
['code' => 'Product.Unsubscript', 'message' => '未订阅该功能', 'http_code' => 400, 'description' => '未订阅该功能'],
['code' => 'ProductNotSubscribed', 'message' => 'You have not subscribed to the specified product.', 'http_code' => 400, 'description' => '未订阅该功能'],
['code' => 'Queries.Repeated', 'message' => 'You can only query phoneNumber once every 60 seconds.', 'http_code' => 400, 'description' => '60秒内重复查询'],
['code' => 'Ram.CheckFailed', 'message' => 'You did not pass the RAM permission check.', 'http_code' => 400, 'description' => 'RAM权限校验失败'],
['code' => 'Ram.CheckFailed', 'message' => 'You did not pass the ARM permission check.', 'http_code' => 400, 'description' => 'RAM权限校验失败'],
['code' => 'Ram.PermissionDeny', 'message' => 'You are not authorized to perform the operation.', 'http_code' => 400, 'description' => '权限不足'],
['code' => 'Ram.PermissionDeny', 'message' => '权限不足', 'http_code' => 400, 'description' => '权限不足'],
['code' => 'RateIllegal', 'message' => 'Illegal threshold parameter', 'http_code' => 400, 'description' => '阈值参数非法'],
['code' => 'RateIllegal', 'message' => 'Invalid ratio format.', 'http_code' => 400, 'description' => '比例格式错误'],
['code' => 'RateIllegal', 'message' => '阈值参数非法。', 'http_code' => 400, 'description' => '阈值参数非法。'],
['code' => 'RequestFrequencyLimit', 'message' => '因运营商限制,禁止在短时间内高频对同一个号码进行反复查询', 'http_code' => 200, 'description' => '因运营商限制,禁止在短时间内高频对同一个号码进行反复查询'],
['code' => 'RequestNumberNotfound', 'message' => '请求的号码查不到结果', 'http_code' => 200, 'description' => '请求的号码查不到结果'],
['code' => 'RequestNumberNotfound', 'message' => 'The requested number cannot find result.', 'http_code' => 400, 'description' => '请求的号码查不到结果'],
['code' => 'RequestNumberNotSupported', 'message' => '不支持中国广电号码(192开头)和虚拟运营商号码的查询', 'http_code' => 200, 'description' => '不支持中国广电号码(192开头)和虚拟运营商号码的查询'],
['code' => 'RequestNumberNotSupported', 'message' => '请求的号码不支持查询', 'http_code' => 200, 'description' => '请求的号码不支持查询'],
['code' => 'RequestNumberNotSupported', 'message' => 'NotSupported this RequestNumber.', 'http_code' => 200, 'description' => '不支持中国广电号码(192 开头)、虚拟运营商、和其他运营商不支持查询的号码。'],
['code' => 'RequestSupplierError', 'message' => 'Request supplier error.', 'http_code' => 500, 'description' => '请求第三方服务异常。'],
['code' => 'RequestTimeout', 'message' => 'Request supplier timed out.', 'http_code' => 500, 'description' => '请求供应商超时'],
['code' => 'RequsetTimeout', 'message' => 'Request supplier timed out.', 'http_code' => 500, 'description' => '请求供应商超时'],
['code' => 'SupplierError', 'message' => '运营商或供应商系统异常', 'http_code' => 500, 'description' => '运营商或供应商系统异常'],
['code' => 'SupplierError', 'message' => 'Operator or supplier system exception.', 'http_code' => 500, 'description' => '运营商或供应商系统异常.'],
['code' => 'SupplierTimeout', 'message' => 'Request vendor timeout.', 'http_code' => 500, 'description' => '请求供应商超时'],
['code' => 'System.LimitControl', 'message' => 'The system is under flow control.', 'http_code' => 400, 'description' => '系统限流控制'],
['code' => 'System.LimitControl', 'message' => '流控错误', 'http_code' => 400, 'description' => '流控错误'],
['code' => 'SystemError', 'message' => 'System error', 'http_code' => 500, 'description' => '系统异常'],
['code' => 'SystemError', 'message' => 'An error occurred while processing your request.', 'http_code' => 500, 'description' => '请求过程中出现报错'],
['code' => 'SystemError', 'message' => '系统异常', 'http_code' => 500, 'description' => '系统异常'],
['code' => 'SystemError', 'message' => 'A system error occurred.', 'http_code' => 500, 'description' => '系统错误'],
['code' => 'TagNotExist', 'message' => 'The label does not exist.', 'http_code' => 400, 'description' => '标签不存在'],
['code' => 'TagNotExist', 'message' => 'The business resource does not exist.', 'http_code' => 400, 'description' => '业务资源不存在'],
['code' => 'TagNotExist', 'message' => '标签或业务资源不存在', 'http_code' => 400, 'description' => '标签或业务资源不存在'],
['code' => 'TagNotExist', 'message' => 'The business resource does not exist.The label does not exist.', 'http_code' => 400, 'description' => '标签或业务资源不存在。'],
['code' => 'ThresholdIllegal', 'message' => 'Please fill in the threshold range from 0 to 100 correctly.', 'http_code' => 400, 'description' => '请正确填写阈值范围0~100!'],
['code' => 'Unknown', 'message' => 'Unknown error', 'http_code' => 500, 'description' => '未知异常'],
['code' => 'Unknown', 'message' => '未知异常', 'http_code' => 500, 'description' => '未知异常'],
['code' => 'Unknown.ResourceOwnerId', 'message' => 'The resource does not belong to the current user.', 'http_code' => 400, 'description' => '资源不属于当前用户'],
['code' => 'Unknown.ResourceOwnerId', 'message' => '资源不属于当前用户', 'http_code' => 400, 'description' => '资源不属于当前用户'],
['code' => 'UserNameIllegal', 'message' => '姓名格式错误', 'http_code' => 400, 'description' => '姓名格式错误'],
['code' => 'USER_NOT_BY_CUST_ERROR', 'message' => 'Customers who have not opened this product.', 'http_code' => 400, 'description' => '未开通本产品的客户。'],
['code' => 'USER_NOT_BY_CUST_ERROR', 'message' => 'Unable to obtain user information, please check whether opened this product.', 'http_code' => 400, 'description' => '无法获取用户的相关信息,请检查是否开通本产品'],
['code' => 'MobileNumberNotSupported', 'message' => 'Mobile number is not supported. Only virtual carrier numbers (170/171/165/162/167) are accepted.', 'http_code' => 400, 'description' => '本接口只支持170/171/165/162/167号段的虚商号码查询'],
],
'changeSet' => [
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'DescribeNumberMccMnc'],
],
'createdAt' => '2025-08-13T12:45:06.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'GetPhoneNumberIdentificationUrl'],
],
'createdAt' => '2024-03-12T06:24:15.000Z',
'description' => '',
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
],
],
'ram' => [
'productCode' => 'DYTNS',
'productName' => '号码百科',
'ramCodes' => ['dytns'],
'ramLevel' => '服务级',
'ramConditions' => [],
'ramActions' => [
[
'apiName' => 'GetIdentificationResult',
'description' => '获取认证结果',
'operationType' => 'get',
'ramAction' => [
'action' => 'dytns:GetIdentificationResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetIdentificationSession',
'description' => '获取认证sessionId',
'operationType' => 'create',
'ramAction' => [
'action' => 'dytns:GetIdentificationSession',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetPhoneNumberIdentificationResult',
'description' => '获取本机号码认证结果',
'operationType' => 'get',
'ramAction' => [
'action' => 'dytns:GetPhoneNumberIdentificationResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetPhoneNumberIdentificationUrl',
'description' => '获取本机号码认证URL',
'operationType' => 'get',
'ramAction' => [
'action' => 'dytns:GetPhoneNumberIdentificationUrl',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'DYTNS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'resourceTypes' => [],
],
];
|