tccli 3.0.1228.1__py2.py3-none-any.whl → 3.0.1230.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/aiart/aiart_client.py +57 -4
- tccli/services/aiart/v20221229/api.json +101 -3
- tccli/services/aiart/v20221229/examples.json +8 -0
- tccli/services/batch/v20170312/api.json +15 -8
- tccli/services/cam/v20190116/api.json +25 -25
- tccli/services/cam/v20190116/examples.json +8 -8
- tccli/services/cdb/v20170320/api.json +8 -8
- tccli/services/cfw/v20190904/api.json +1 -1
- tccli/services/ckafka/v20190819/api.json +1 -1
- tccli/services/ckafka/v20190819/examples.json +14 -14
- tccli/services/clb/v20180317/api.json +1 -1
- tccli/services/cloudaudit/v20190319/api.json +15 -15
- tccli/services/cloudaudit/v20190319/examples.json +3 -3
- tccli/services/config/v20220802/api.json +70 -68
- tccli/services/config/v20220802/examples.json +6 -6
- tccli/services/cwp/v20180228/api.json +1 -1
- tccli/services/cynosdb/cynosdb_client.py +175 -16
- tccli/services/cynosdb/v20190107/api.json +292 -18
- tccli/services/cynosdb/v20190107/examples.json +30 -0
- tccli/services/dbbrain/v20210527/api.json +3 -1
- tccli/services/emr/emr_client.py +110 -4
- tccli/services/emr/v20190103/api.json +645 -0
- tccli/services/emr/v20190103/examples.json +16 -0
- tccli/services/essbasic/v20210526/api.json +10 -0
- tccli/services/facefusion/v20181201/api.json +12 -6
- tccli/services/hai/v20230812/api.json +6 -6
- tccli/services/hai/v20230812/examples.json +2 -2
- tccli/services/iotexplorer/v20190423/api.json +10 -0
- tccli/services/ivld/v20210903/api.json +25 -25
- tccli/services/ivld/v20210903/examples.json +1 -1
- tccli/services/lcic/v20220817/api.json +2 -2
- tccli/services/lke/v20231130/api.json +4 -4
- tccli/services/mps/v20190612/api.json +54 -1
- tccli/services/mqtt/mqtt_client.py +118 -12
- tccli/services/mqtt/v20240516/api.json +312 -33
- tccli/services/mqtt/v20240516/examples.json +23 -13
- tccli/services/ocr/v20181119/api.json +119 -30
- tccli/services/ocr/v20181119/examples.json +6 -6
- tccli/services/postgres/v20170312/api.json +221 -219
- tccli/services/postgres/v20170312/examples.json +36 -36
- tccli/services/pts/v20210728/api.json +22 -12
- tccli/services/redis/v20180412/api.json +14 -14
- tccli/services/scf/v20180416/api.json +12 -0
- tccli/services/ssl/v20191205/api.json +246 -173
- tccli/services/ssl/v20191205/examples.json +69 -69
- tccli/services/sts/v20180813/api.json +17 -11
- tccli/services/sts/v20180813/examples.json +6 -6
- tccli/services/tcr/v20190924/api.json +17 -17
- tccli/services/tdmq/tdmq_client.py +4 -57
- tccli/services/tdmq/v20200217/api.json +121 -202
- tccli/services/tdmq/v20200217/examples.json +29 -49
- tccli/services/trtc/v20190722/api.json +5 -9
- tccli/services/vclm/v20240523/api.json +28 -18
- tccli/services/vclm/v20240523/examples.json +2 -2
- tccli/services/vod/v20180717/api.json +18 -18
- tccli/services/vpc/v20170312/api.json +658 -163
- tccli/services/vpc/v20170312/examples.json +70 -14
- tccli/services/vpc/vpc_client.py +475 -104
- {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/RECORD +64 -64
- {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,5 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"ActivateDeviceCertificate": [
|
4
|
+
{
|
5
|
+
"document": "示例",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ActivateDeviceCertificate\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-mmgej724\",\n \"DeviceCertificateSn\": \"eef68a582b94254296e54ce754f94d707a59912\"\n}",
|
7
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"d769f88e-6eac-4f72-98d8-b7fb1edb9429\"\n }\n}",
|
8
|
+
"title": "示例"
|
9
|
+
}
|
10
|
+
],
|
3
11
|
"CreateAuthorizationPolicy": [
|
4
12
|
{
|
5
13
|
"document": "示例",
|
@@ -19,7 +27,7 @@
|
|
19
27
|
"CreateJWTAuthenticator": [
|
20
28
|
{
|
21
29
|
"document": "示例",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateJWTAuthenticator\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-jeredv33\",\n \"Algorithm\": \"hmac-based\",\n \"From\": \"username\",\n \"Secret\": \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateJWTAuthenticator\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-jeredv33\",\n \"Algorithm\": \"hmac-based\",\n \"From\": \"username\",\n \"Secret\": \"secret1\",\n \"Status\": \"open\"\n}",
|
23
31
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"1c0dfde9-086d-49b5-a49d-8de4e30c66ad\"\n }\n}",
|
24
32
|
"title": "示例"
|
25
33
|
}
|
@@ -51,7 +59,7 @@
|
|
51
59
|
"DeleteTopic": [
|
52
60
|
{
|
53
61
|
"document": "示例",
|
54
|
-
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-rvb5xxrn\",\n \"Topic\": \"
|
62
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-rvb5xxrn\",\n \"Topic\": \"home\"\n}",
|
55
63
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"f3a081b8-dc97-4d62-bb1a-d1aa9fe80da8\"\n }\n}",
|
56
64
|
"title": "示例"
|
57
65
|
}
|
@@ -68,7 +76,15 @@
|
|
68
76
|
{
|
69
77
|
"document": "示例",
|
70
78
|
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAuthorizationPolicies\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-g4r4x85z\"\n}",
|
71
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"Actions\": \"connect\",\n \"ClientId\": null,\n \"CreatedTime\": 1721813514000,\n \"Effect\": \"allow\",\n \"Id\": 6,\n \"InstanceId\": \"mqtt-g4r4x85z\",\n \"Ip\": null,\n \"PolicyName\": \"
|
79
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"Actions\": \"connect\",\n \"ClientId\": null,\n \"CreatedTime\": 1721813514000,\n \"Effect\": \"allow\",\n \"Id\": 6,\n \"InstanceId\": \"mqtt-g4r4x85z\",\n \"Ip\": null,\n \"PolicyName\": \"policy1\",\n \"Priority\": 1,\n \"Qos\": null,\n \"Remark\": \"\",\n \"Resources\": \"topic1\",\n \"Retain\": 1,\n \"UpdateTime\": 1721813670000,\n \"Username\": null,\n \"Version\": 1\n },\n {\n \"Actions\": \"connect\",\n \"ClientId\": null,\n \"CreatedTime\": 1721813529000,\n \"Effect\": \"allow\",\n \"Id\": 7,\n \"InstanceId\": \"mqtt-g4r4x85z\",\n \"Ip\": null,\n \"PolicyName\": \"policy2\",\n \"Priority\": 2,\n \"Qos\": null,\n \"Remark\": \"\",\n \"Resources\": \"topic1\",\n \"Retain\": 2,\n \"UpdateTime\": 1721813529000,\n \"Username\": null,\n \"Version\": 1\n },\n {\n \"Actions\": \"connect\",\n \"ClientId\": null,\n \"CreatedTime\": 1721813039000,\n \"Effect\": \"allow\",\n \"Id\": 1,\n \"InstanceId\": \"mqtt-g4r4x85z\",\n \"Ip\": null,\n \"PolicyName\": \"policy3\",\n \"Priority\": 3,\n \"Qos\": null,\n \"Remark\": \"this is remark\",\n \"Resources\": \"topic1\",\n \"Retain\": 3,\n \"UpdateTime\": 1721813039000,\n \"Username\": \"user1\",\n \"Version\": 1\n }\n ],\n \"RequestId\": \"27038a36-3a3a-4f45-a0cb-a3d075325816\"\n }\n}",
|
80
|
+
"title": "示例"
|
81
|
+
}
|
82
|
+
],
|
83
|
+
"DescribeDeviceCertificates": [
|
84
|
+
{
|
85
|
+
"document": "示例",
|
86
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceCertificates\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-qgzaawn9\"\n}",
|
87
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [],\n \"RequestId\": \"378f8c36-a6a1-406c-85ac-f2379386eed6\",\n \"TotalCount\": 0\n }\n}",
|
72
88
|
"title": "示例"
|
73
89
|
}
|
74
90
|
],
|
@@ -84,14 +100,8 @@
|
|
84
100
|
{
|
85
101
|
"document": "示例",
|
86
102
|
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTInstanceList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
87
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ClientNumLimit\": 1,\n \"CreateTime\": 1705565760,\n \"InstanceId\": \"mqtt-wjgxr8jg\",\n \"InstanceName\": \"su-0118-no-pub\",\n \"InstanceStatus\": \"CREATE_FAILURE\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"\",\n \"SkuCode\": \"mqtt_1k\",\n \"TopicNum\": 0,\n \"TopicNumLimit\": 1,\n \"TpsLimit\": 1,\n \"Version\": \"1\"\n },\n {\n \"ClientNumLimit\": 1000,\n \"CreateTime\": 1705391046,\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"InstanceName\": \"sun-0116\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"\",\n \"SkuCode\": \"basic_1k\",\n \"TopicNum\": 25,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n }\n ],\n \"RequestId\": \"9424369d-904f-4fa2-b407-0bd5e536e989\",\n \"TotalCount\": 10\n }\n}",
|
103
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ClientNumLimit\": 1,\n \"CreateTime\": 1705565760,\n \"InstanceId\": \"mqtt-wjgxr8jg\",\n \"InstanceName\": \"su-0118-no-pub\",\n \"InstanceStatus\": \"CREATE_FAILURE\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"this is remark\",\n \"SkuCode\": \"mqtt_1k\",\n \"TopicNum\": 0,\n \"TopicNumLimit\": 1,\n \"TpsLimit\": 1,\n \"Version\": \"1\"\n },\n {\n \"ClientNumLimit\": 1000,\n \"CreateTime\": 1705391046,\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"InstanceName\": \"sun-0116\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"this is remark\",\n \"SkuCode\": \"basic_1k\",\n \"TopicNum\": 25,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n }\n ],\n \"RequestId\": \"9424369d-904f-4fa2-b407-0bd5e536e989\",\n \"TotalCount\": 10\n }\n}",
|
88
104
|
"title": "示例"
|
89
|
-
},
|
90
|
-
{
|
91
|
-
"document": "样例",
|
92
|
-
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceList\n<公共请求参数>\n\n{}",
|
93
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"AuthorizationPolicyLimit\": 10,\n \"ClientNumLimit\": 100,\n \"CreateTime\": 1721121835,\n \"DestroyTime\": 0,\n \"ExpiryTime\": 0,\n \"InstanceId\": \"mqtt-12345678\",\n \"InstanceName\": \"mock-instance\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"MaxSubscriptionPerClient\": 30,\n \"PayMode\": \"POSTPAID\",\n \"Remark\": \"测试无计费order,计费上报\",\n \"RenewFlag\": 0,\n \"SkuCode\": \"basic_1k\",\n \"TopicNum\": 0,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"AuthorizationPolicyLimit\": 10,\n \"ClientNumLimit\": 100,\n \"CreateTime\": 1718885863,\n \"DestroyTime\": 0,\n \"ExpiryTime\": 1721477863002,\n \"InstanceId\": \"mqtt-g4r4x85z\",\n \"InstanceName\": \"sunjianxiong\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"PRO\",\n \"MaxSubscriptionPerClient\": 30,\n \"PayMode\": \"PREPAID\",\n \"Remark\": \"测试收发用,已配置内网\",\n \"RenewFlag\": 0,\n \"SkuCode\": \"pro_4k_5\",\n \"TopicNum\": 6,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"AuthorizationPolicyLimit\": 10,\n \"ClientNumLimit\": 100,\n \"CreateTime\": 1718883088,\n \"DestroyTime\": 0,\n \"ExpiryTime\": 0,\n \"InstanceId\": \"mqtt-vv9pnwq4\",\n \"InstanceName\": \"jehansun-06201930\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"PRO\",\n \"MaxSubscriptionPerClient\": 30,\n \"PayMode\": \"POSTPAID\",\n \"Remark\": \"\",\n \"RenewFlag\": 0,\n \"SkuCode\": \"pro_4k_5\",\n \"TopicNum\": 0,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"AuthorizationPolicyLimit\": 10,\n \"ClientNumLimit\": 100,\n \"CreateTime\": 1717663198,\n \"DestroyTime\": 0,\n \"ExpiryTime\": 0,\n \"InstanceId\": \"mqtt-mmgej724\",\n \"InstanceName\": \"jehansun-0606\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"MaxSubscriptionPerClient\": 30,\n \"PayMode\": \"POSTPAID\",\n \"Remark\": \"111\",\n \"RenewFlag\": 0,\n \"SkuCode\": \"basic_1k\",\n \"TopicNum\": 1,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"AuthorizationPolicyLimit\": 10,\n \"ClientNumLimit\": 100,\n \"CreateTime\": 1717663172,\n \"DestroyTime\": 0,\n \"ExpiryTime\": 0,\n \"InstanceId\": \"mqtt-79opob7m\",\n \"InstanceName\": \"jehansun-0628-modify\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"MaxSubscriptionPerClient\": 30,\n \"PayMode\": \"POSTPAID\",\n \"Remark\": \"111\",\n \"RenewFlag\": 0,\n \"SkuCode\": \"basic_1k\",\n \"TopicNum\": 1,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n }\n ],\n \"RequestId\": \"bf1e881a-f1bc-45bf-b276-4a05b920fbeb\",\n \"TotalCount\": 5\n }\n}",
|
94
|
-
"title": "样例"
|
95
105
|
}
|
96
106
|
],
|
97
107
|
"DescribeTopic": [
|
@@ -106,7 +116,7 @@
|
|
106
116
|
{
|
107
117
|
"document": "示例",
|
108
118
|
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTTopicList\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
|
109
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"
|
119
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"this is remark\",\n \"Topic\": \"topic8\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"this is remark\",\n \"Topic\": \"topic7\"\n }\n ],\n \"RequestId\": \"d9042e88-c70e-4158-958c-8bb57d6c809f\",\n \"TotalCount\": 3\n }\n}",
|
110
120
|
"title": "示例"
|
111
121
|
}
|
112
122
|
],
|
@@ -129,7 +139,7 @@
|
|
129
139
|
"ModifyJWTAuthenticator": [
|
130
140
|
{
|
131
141
|
"document": "示例",
|
132
|
-
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyJWTAuthenticator\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-mmgej724\",\n \"Algorithm\": \"hmac-based\",\n \"From\": \"username\",\n \"Secret\": \"
|
142
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyJWTAuthenticator\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-mmgej724\",\n \"Algorithm\": \"hmac-based\",\n \"From\": \"username\",\n \"Secret\": \"secret1\",\n \"Remark\": \"remark1\"\n}",
|
133
143
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"1440f718-1578-494b-aab0-8fe0bf7095cd\"\n }\n}",
|
134
144
|
"title": "示例"
|
135
145
|
}
|
@@ -145,7 +155,7 @@
|
|
145
155
|
"RegisterDeviceCertificate": [
|
146
156
|
{
|
147
157
|
"document": "示例",
|
148
|
-
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RegisterDeviceCertificate\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-jbgwp4ae\",\n \"DeviceCertificate\": \"-----BEGIN CERTIFICATE-----\\nMIIEQjCCAyqgAwIBAgIUDu9opYK5QlQpblTOdU+U1welmREwDQYJKoZIhvcNAQEL\\nBQAwgZIxCzAJBgNVBAYTAmNuMQ0wCwYDVQQIDAR4aWFuMQ0wCwYDVQQHDARodXlp\\nMREwDwYDVQQKDAhqZWhhbnN1bjEWMBQGA1UECwwNdW5pdCBqZWhhbnN1bjEVMBMG\\nA1UEAwwMc3Vuamlhbnhpb25nMSMwIQYJKoZIhvcNAQkBFhRqZWhhbnN1bkB0ZW5j\\nZW50LmNvbTAeFw0yNDA1MDYwODU0NDNaFw0yNTA5MTgwODU0NDNaMIGBMQswCQYD\\nVQQGEwJDTjELMAkGA1UECAwCWkoxCzAJBgNVBAcMAkhaMQwwCgYDVQQKDANBTEkx\\nDTALBgNVBAsMBE1RVFQxFjAUBgkqhkiG9w0BCQEWB3h4eEB4eHgxIzAhBgNVBAMM\\nGm1xdHQtdGVzdC54eHguYWxpeXVuY3MuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOC\\nAQ8AMIIBCgKCAQEArSMP1QFvggJVAth6Zhnf7NMWi+JP9TvnfzYl1xAWsWfX2ocN\\nC+AumAQl7I0C2UMUppDHIRiikdAwqmoMLFkuTYCoPnTrk8FpQx+/bLXGNZzwgAKN\\n8Y0dbEanl5y6UFXDB6ZsYhRJmjBEZoUj6xCeBzXxP2Uu0FPFAF5haLwt03gQMcWi\\nEMHLdj/jFKUGoLns/eQUdE5wbsZjGrCmk5hEeJxa9vAw40W0cgwsVi0E8qt5FCj7\\n11DeQsvZ5NlQVyOT6YOStElE2zuWtMjzsgk7ryW2qWANv62hRxY8dDmPXO5oimK8\\nAzNjakiN40OmOhzwfiG3noItixlQywWppuTrfwIDAQABo4GeMIGbMB8GA1UdIwQY\\nMBaAFEaWXAdZRRy3HPvjV6NBAYZYGhDfMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgL0\\nMEEGA1UdEQQ6MDiCEyoubXF0dC5hbGl5dW5jcy5jb22CIW1xdHQtdGVzdC5jbi1x\\naW5nZGFvLmFsaXl1bmNzLmNvbTAdBgNVHQ4EFgQUz7CdvXCtki2X9i6zIQwKVJ7q\\n/LwwDQYJKoZIhvcNAQELBQADggEBAB7Y/susqeC85RtXw9CHcOmcb/17G7svgxFZ\\nLecOwEFxxaqwNVp/ae6TVkPvrMPStpVJmpS7ikYz37J16/n1mks/s+7fkGwAwfCI\\nD+vGR+Hcvu2RsiTPwDMRhFwj92ZclnSyBjtPa1pgS1Nq0oCJ85G+nyxYBAjDQqzO\\n05jNRO+E4/L+WrYhLE6M72amFMLbVGs170wHTiXtzokfUdflj9mNQs3pfLFNsyCt\\nasDfqJX4Kie/MIwv/YKcB9pZ4NsonEgD3OfjJ6pFEHEH4ZiOVHuTT6C52XpCYMWA\\najvuaaIlJp7GgOZxxPInOVXPmBlBlp28AiMlmxSfSAuMpUF0I8w=\\n-----END CERTIFICATE-----\\n\",\n \"CaSn\": \"1b1e3bf3702110125887a3a721a7e66f05522513\",\n \"ClientId\": \"
|
158
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RegisterDeviceCertificate\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-jbgwp4ae\",\n \"DeviceCertificate\": \"-----BEGIN CERTIFICATE-----\\nMIIEQjCCAyqgAwIBAgIUDu9opYK5QlQpblTOdU+U1welmREwDQYJKoZIhvcNAQEL\\nBQAwgZIxCzAJBgNVBAYTAmNuMQ0wCwYDVQQIDAR4aWFuMQ0wCwYDVQQHDARodXlp\\nMREwDwYDVQQKDAhqZWhhbnN1bjEWMBQGA1UECwwNdW5pdCBqZWhhbnN1bjEVMBMG\\nA1UEAwwMc3Vuamlhbnhpb25nMSMwIQYJKoZIhvcNAQkBFhRqZWhhbnN1bkB0ZW5j\\nZW50LmNvbTAeFw0yNDA1MDYwODU0NDNaFw0yNTA5MTgwODU0NDNaMIGBMQswCQYD\\nVQQGEwJDTjELMAkGA1UECAwCWkoxCzAJBgNVBAcMAkhaMQwwCgYDVQQKDANBTEkx\\nDTALBgNVBAsMBE1RVFQxFjAUBgkqhkiG9w0BCQEWB3h4eEB4eHgxIzAhBgNVBAMM\\nGm1xdHQtdGVzdC54eHguYWxpeXVuY3MuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOC\\nAQ8AMIIBCgKCAQEArSMP1QFvggJVAth6Zhnf7NMWi+JP9TvnfzYl1xAWsWfX2ocN\\nC+AumAQl7I0C2UMUppDHIRiikdAwqmoMLFkuTYCoPnTrk8FpQx+/bLXGNZzwgAKN\\n8Y0dbEanl5y6UFXDB6ZsYhRJmjBEZoUj6xCeBzXxP2Uu0FPFAF5haLwt03gQMcWi\\nEMHLdj/jFKUGoLns/eQUdE5wbsZjGrCmk5hEeJxa9vAw40W0cgwsVi0E8qt5FCj7\\n11DeQsvZ5NlQVyOT6YOStElE2zuWtMjzsgk7ryW2qWANv62hRxY8dDmPXO5oimK8\\nAzNjakiN40OmOhzwfiG3noItixlQywWppuTrfwIDAQABo4GeMIGbMB8GA1UdIwQY\\nMBaAFEaWXAdZRRy3HPvjV6NBAYZYGhDfMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgL0\\nMEEGA1UdEQQ6MDiCEyoubXF0dC5hbGl5dW5jcy5jb22CIW1xdHQtdGVzdC5jbi1x\\naW5nZGFvLmFsaXl1bmNzLmNvbTAdBgNVHQ4EFgQUz7CdvXCtki2X9i6zIQwKVJ7q\\n/LwwDQYJKoZIhvcNAQELBQADggEBAB7Y/susqeC85RtXw9CHcOmcb/17G7svgxFZ\\nLecOwEFxxaqwNVp/ae6TVkPvrMPStpVJmpS7ikYz37J16/n1mks/s+7fkGwAwfCI\\nD+vGR+Hcvu2RsiTPwDMRhFwj92ZclnSyBjtPa1pgS1Nq0oCJ85G+nyxYBAjDQqzO\\n05jNRO+E4/L+WrYhLE6M72amFMLbVGs170wHTiXtzokfUdflj9mNQs3pfLFNsyCt\\nasDfqJX4Kie/MIwv/YKcB9pZ4NsonEgD3OfjJ6pFEHEH4ZiOVHuTT6C52XpCYMWA\\najvuaaIlJp7GgOZxxPInOVXPmBlBlp28AiMlmxSfSAuMpUF0I8w=\\n-----END CERTIFICATE-----\\n\",\n \"CaSn\": \"1b1e3bf3702110125887a3a721a7e66f05522513\",\n \"ClientId\": \"VIN0001\"\n}",
|
149
159
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"49af88f0-6571-4aa4-af92-9261f28c0ed9\"\n }\n}",
|
150
160
|
"title": "示例"
|
151
161
|
}
|
@@ -956,7 +956,7 @@
|
|
956
956
|
"example": "无",
|
957
957
|
"member": "string",
|
958
958
|
"name": "Title",
|
959
|
-
"
|
959
|
+
"output_required": true,
|
960
960
|
"type": "string",
|
961
961
|
"value_allowed_null": false
|
962
962
|
},
|
@@ -966,7 +966,7 @@
|
|
966
966
|
"example": "无",
|
967
967
|
"member": "string",
|
968
968
|
"name": "Number",
|
969
|
-
"
|
969
|
+
"output_required": true,
|
970
970
|
"type": "string",
|
971
971
|
"value_allowed_null": false
|
972
972
|
},
|
@@ -976,7 +976,7 @@
|
|
976
976
|
"example": "无",
|
977
977
|
"member": "string",
|
978
978
|
"name": "CheckCode",
|
979
|
-
"
|
979
|
+
"output_required": true,
|
980
980
|
"type": "string",
|
981
981
|
"value_allowed_null": false
|
982
982
|
},
|
@@ -986,7 +986,7 @@
|
|
986
986
|
"example": "无",
|
987
987
|
"member": "string",
|
988
988
|
"name": "SerialNumber",
|
989
|
-
"
|
989
|
+
"output_required": true,
|
990
990
|
"type": "string",
|
991
991
|
"value_allowed_null": false
|
992
992
|
},
|
@@ -996,7 +996,7 @@
|
|
996
996
|
"example": "无",
|
997
997
|
"member": "string",
|
998
998
|
"name": "Date",
|
999
|
-
"
|
999
|
+
"output_required": true,
|
1000
1000
|
"type": "string",
|
1001
1001
|
"value_allowed_null": false
|
1002
1002
|
},
|
@@ -1006,7 +1006,7 @@
|
|
1006
1006
|
"example": "无",
|
1007
1007
|
"member": "string",
|
1008
1008
|
"name": "AgentCode",
|
1009
|
-
"
|
1009
|
+
"output_required": true,
|
1010
1010
|
"type": "string",
|
1011
1011
|
"value_allowed_null": false
|
1012
1012
|
},
|
@@ -1016,7 +1016,7 @@
|
|
1016
1016
|
"example": "无",
|
1017
1017
|
"member": "string",
|
1018
1018
|
"name": "AgentCodeFirst",
|
1019
|
-
"
|
1019
|
+
"output_required": true,
|
1020
1020
|
"type": "string",
|
1021
1021
|
"value_allowed_null": false
|
1022
1022
|
},
|
@@ -1026,7 +1026,7 @@
|
|
1026
1026
|
"example": "无",
|
1027
1027
|
"member": "string",
|
1028
1028
|
"name": "AgentCodeSecond",
|
1029
|
-
"
|
1029
|
+
"output_required": true,
|
1030
1030
|
"type": "string",
|
1031
1031
|
"value_allowed_null": false
|
1032
1032
|
},
|
@@ -1036,7 +1036,7 @@
|
|
1036
1036
|
"example": "无",
|
1037
1037
|
"member": "string",
|
1038
1038
|
"name": "UserName",
|
1039
|
-
"
|
1039
|
+
"output_required": true,
|
1040
1040
|
"type": "string",
|
1041
1041
|
"value_allowed_null": false
|
1042
1042
|
},
|
@@ -1046,7 +1046,7 @@
|
|
1046
1046
|
"example": "无",
|
1047
1047
|
"member": "string",
|
1048
1048
|
"name": "UserID",
|
1049
|
-
"
|
1049
|
+
"output_required": true,
|
1050
1050
|
"type": "string",
|
1051
1051
|
"value_allowed_null": false
|
1052
1052
|
},
|
@@ -1056,7 +1056,7 @@
|
|
1056
1056
|
"example": "无",
|
1057
1057
|
"member": "string",
|
1058
1058
|
"name": "Issuer",
|
1059
|
-
"
|
1059
|
+
"output_required": true,
|
1060
1060
|
"type": "string",
|
1061
1061
|
"value_allowed_null": false
|
1062
1062
|
},
|
@@ -1066,7 +1066,7 @@
|
|
1066
1066
|
"example": "无",
|
1067
1067
|
"member": "string",
|
1068
1068
|
"name": "Fare",
|
1069
|
-
"
|
1069
|
+
"output_required": true,
|
1070
1070
|
"type": "string",
|
1071
1071
|
"value_allowed_null": false
|
1072
1072
|
},
|
@@ -1076,7 +1076,7 @@
|
|
1076
1076
|
"example": "无",
|
1077
1077
|
"member": "string",
|
1078
1078
|
"name": "Tax",
|
1079
|
-
"
|
1079
|
+
"output_required": true,
|
1080
1080
|
"type": "string",
|
1081
1081
|
"value_allowed_null": false
|
1082
1082
|
},
|
@@ -1086,7 +1086,7 @@
|
|
1086
1086
|
"example": "无",
|
1087
1087
|
"member": "string",
|
1088
1088
|
"name": "FuelSurcharge",
|
1089
|
-
"
|
1089
|
+
"output_required": true,
|
1090
1090
|
"type": "string",
|
1091
1091
|
"value_allowed_null": false
|
1092
1092
|
},
|
@@ -1096,7 +1096,7 @@
|
|
1096
1096
|
"example": "无",
|
1097
1097
|
"member": "string",
|
1098
1098
|
"name": "AirDevelopmentFund",
|
1099
|
-
"
|
1099
|
+
"output_required": true,
|
1100
1100
|
"type": "string",
|
1101
1101
|
"value_allowed_null": false
|
1102
1102
|
},
|
@@ -1106,7 +1106,7 @@
|
|
1106
1106
|
"example": "无",
|
1107
1107
|
"member": "string",
|
1108
1108
|
"name": "Insurance",
|
1109
|
-
"
|
1109
|
+
"output_required": true,
|
1110
1110
|
"type": "string",
|
1111
1111
|
"value_allowed_null": false
|
1112
1112
|
},
|
@@ -1116,7 +1116,7 @@
|
|
1116
1116
|
"example": "无",
|
1117
1117
|
"member": "string",
|
1118
1118
|
"name": "Total",
|
1119
|
-
"
|
1119
|
+
"output_required": true,
|
1120
1120
|
"type": "string",
|
1121
1121
|
"value_allowed_null": false
|
1122
1122
|
},
|
@@ -1126,7 +1126,7 @@
|
|
1126
1126
|
"example": "无",
|
1127
1127
|
"member": "string",
|
1128
1128
|
"name": "Kind",
|
1129
|
-
"
|
1129
|
+
"output_required": true,
|
1130
1130
|
"type": "string",
|
1131
1131
|
"value_allowed_null": false
|
1132
1132
|
},
|
@@ -1136,7 +1136,7 @@
|
|
1136
1136
|
"example": "无",
|
1137
1137
|
"member": "string",
|
1138
1138
|
"name": "DomesticInternationalTag",
|
1139
|
-
"
|
1139
|
+
"output_required": true,
|
1140
1140
|
"type": "string",
|
1141
1141
|
"value_allowed_null": false
|
1142
1142
|
},
|
@@ -1146,7 +1146,7 @@
|
|
1146
1146
|
"example": "无",
|
1147
1147
|
"member": "string",
|
1148
1148
|
"name": "DateStart",
|
1149
|
-
"
|
1149
|
+
"output_required": true,
|
1150
1150
|
"type": "string",
|
1151
1151
|
"value_allowed_null": false
|
1152
1152
|
},
|
@@ -1156,7 +1156,7 @@
|
|
1156
1156
|
"example": "无",
|
1157
1157
|
"member": "string",
|
1158
1158
|
"name": "DateEnd",
|
1159
|
-
"
|
1159
|
+
"output_required": true,
|
1160
1160
|
"type": "string",
|
1161
1161
|
"value_allowed_null": false
|
1162
1162
|
},
|
@@ -1166,7 +1166,7 @@
|
|
1166
1166
|
"example": "无",
|
1167
1167
|
"member": "string",
|
1168
1168
|
"name": "Endorsement",
|
1169
|
-
"
|
1169
|
+
"output_required": true,
|
1170
1170
|
"type": "string",
|
1171
1171
|
"value_allowed_null": false
|
1172
1172
|
},
|
@@ -1176,7 +1176,7 @@
|
|
1176
1176
|
"example": "无",
|
1177
1177
|
"member": "int64",
|
1178
1178
|
"name": "QRCodeMark",
|
1179
|
-
"
|
1179
|
+
"output_required": true,
|
1180
1180
|
"type": "int",
|
1181
1181
|
"value_allowed_null": false
|
1182
1182
|
},
|
@@ -1186,9 +1186,79 @@
|
|
1186
1186
|
"example": "无",
|
1187
1187
|
"member": "FlightItem",
|
1188
1188
|
"name": "FlightItems",
|
1189
|
-
"
|
1189
|
+
"output_required": true,
|
1190
1190
|
"type": "list",
|
1191
1191
|
"value_allowed_null": false
|
1192
|
+
},
|
1193
|
+
{
|
1194
|
+
"disabled": false,
|
1195
|
+
"document": "提示信息",
|
1196
|
+
"example": "无",
|
1197
|
+
"member": "string",
|
1198
|
+
"name": "PromptInformation",
|
1199
|
+
"output_required": true,
|
1200
|
+
"type": "string",
|
1201
|
+
"value_allowed_null": false
|
1202
|
+
},
|
1203
|
+
{
|
1204
|
+
"disabled": false,
|
1205
|
+
"document": "统一社会信用代码/纳税人识别号",
|
1206
|
+
"example": "无",
|
1207
|
+
"member": "string",
|
1208
|
+
"name": "BuyerTaxID",
|
1209
|
+
"output_required": true,
|
1210
|
+
"type": "string",
|
1211
|
+
"value_allowed_null": false
|
1212
|
+
},
|
1213
|
+
{
|
1214
|
+
"disabled": false,
|
1215
|
+
"document": "购买方名称",
|
1216
|
+
"example": "无",
|
1217
|
+
"member": "string",
|
1218
|
+
"name": "Buyer",
|
1219
|
+
"output_required": true,
|
1220
|
+
"type": "string",
|
1221
|
+
"value_allowed_null": false
|
1222
|
+
},
|
1223
|
+
{
|
1224
|
+
"disabled": false,
|
1225
|
+
"document": "发票号码",
|
1226
|
+
"example": "无",
|
1227
|
+
"member": "string",
|
1228
|
+
"name": "ReceiptNumber",
|
1229
|
+
"output_required": true,
|
1230
|
+
"type": "string",
|
1231
|
+
"value_allowed_null": false
|
1232
|
+
},
|
1233
|
+
{
|
1234
|
+
"disabled": false,
|
1235
|
+
"document": "开票状态",
|
1236
|
+
"example": "无",
|
1237
|
+
"member": "string",
|
1238
|
+
"name": "InvoiceStatus",
|
1239
|
+
"output_required": true,
|
1240
|
+
"type": "string",
|
1241
|
+
"value_allowed_null": false
|
1242
|
+
},
|
1243
|
+
{
|
1244
|
+
"disabled": false,
|
1245
|
+
"document": "增值税税率",
|
1246
|
+
"example": "无",
|
1247
|
+
"member": "string",
|
1248
|
+
"name": "TaxRate",
|
1249
|
+
"output_required": true,
|
1250
|
+
"type": "string",
|
1251
|
+
"value_allowed_null": false
|
1252
|
+
},
|
1253
|
+
{
|
1254
|
+
"disabled": false,
|
1255
|
+
"document": "增值税税额",
|
1256
|
+
"example": "无",
|
1257
|
+
"member": "string",
|
1258
|
+
"name": "TaxAmount",
|
1259
|
+
"output_required": true,
|
1260
|
+
"type": "string",
|
1261
|
+
"value_allowed_null": false
|
1192
1262
|
}
|
1193
1263
|
],
|
1194
1264
|
"usage": "out"
|
@@ -4526,6 +4596,16 @@
|
|
4526
4596
|
"output_required": true,
|
4527
4597
|
"type": "string",
|
4528
4598
|
"value_allowed_null": false
|
4599
|
+
},
|
4600
|
+
{
|
4601
|
+
"disabled": false,
|
4602
|
+
"document": "标识信息",
|
4603
|
+
"example": "无",
|
4604
|
+
"member": "string",
|
4605
|
+
"name": "IDInfo",
|
4606
|
+
"output_required": true,
|
4607
|
+
"type": "string",
|
4608
|
+
"value_allowed_null": false
|
4529
4609
|
}
|
4530
4610
|
],
|
4531
4611
|
"usage": "out"
|
@@ -6970,6 +7050,15 @@
|
|
6970
7050
|
"name": "EnableReflectDetail",
|
6971
7051
|
"required": false,
|
6972
7052
|
"type": "bool"
|
7053
|
+
},
|
7054
|
+
{
|
7055
|
+
"disabled": false,
|
7056
|
+
"document": "用于控制是否开启日期校验,默认值为true,打开会进行日期校验。",
|
7057
|
+
"example": "true",
|
7058
|
+
"member": "bool",
|
7059
|
+
"name": "EnableDateVerify",
|
7060
|
+
"required": false,
|
7061
|
+
"type": "bool"
|
6973
7062
|
}
|
6974
7063
|
],
|
6975
7064
|
"type": "object"
|
@@ -12985,7 +13074,7 @@
|
|
12985
13074
|
{
|
12986
13075
|
"disabled": false,
|
12987
13076
|
"document": "门头照标签",
|
12988
|
-
"example": "
|
13077
|
+
"example": " [\"标准门头照\"]",
|
12989
13078
|
"member": "string",
|
12990
13079
|
"name": "StoreLabel",
|
12991
13080
|
"output_required": true,
|
@@ -13495,7 +13584,7 @@
|
|
13495
13584
|
{
|
13496
13585
|
"disabled": false,
|
13497
13586
|
"document": "图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。\n建议图片存储于腾讯云,可保障更高的下载速度和稳定性。",
|
13498
|
-
"example": "https://
|
13587
|
+
"example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/IDCardOCR/IDCardOCR1.jpg",
|
13499
13588
|
"member": "string",
|
13500
13589
|
"name": "ImageUrl",
|
13501
13590
|
"required": false,
|
@@ -15857,17 +15946,17 @@
|
|
15857
15946
|
"example": "无",
|
15858
15947
|
"member": "TableCellInfo",
|
15859
15948
|
"name": "Cells",
|
15860
|
-
"
|
15949
|
+
"output_required": true,
|
15861
15950
|
"type": "list",
|
15862
15951
|
"value_allowed_null": true
|
15863
15952
|
},
|
15864
15953
|
{
|
15865
15954
|
"disabled": false,
|
15866
|
-
"document": "
|
15955
|
+
"document": "图像中的文本块类型:0为非表格文本、1为有线表格、2为无线表格,\n有线表格:在表格内部,有横线/竖线纵跨整个表格的宽/高;\n无线表格:在表格内部,无横线/竖线纵跨整个表格的宽/高。\n注意:此字段可能返回 null,表示取不到有效值。",
|
15867
15956
|
"example": "无",
|
15868
15957
|
"member": "int64",
|
15869
15958
|
"name": "Type",
|
15870
|
-
"
|
15959
|
+
"output_required": true,
|
15871
15960
|
"type": "int",
|
15872
15961
|
"value_allowed_null": true
|
15873
15962
|
},
|
@@ -15877,7 +15966,7 @@
|
|
15877
15966
|
"example": "无",
|
15878
15967
|
"member": "Coord",
|
15879
15968
|
"name": "TableCoordPoint",
|
15880
|
-
"
|
15969
|
+
"output_required": true,
|
15881
15970
|
"type": "list",
|
15882
15971
|
"value_allowed_null": true
|
15883
15972
|
}
|
@@ -343,7 +343,7 @@
|
|
343
343
|
"MixedInvoiceDetect": [
|
344
344
|
{
|
345
345
|
"document": "混贴票据分类",
|
346
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MixedInvoiceDetect\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\",\n \"ReturnImage\": \
|
346
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MixedInvoiceDetect\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\",\n \"ReturnImage\": false\n}",
|
347
347
|
"output": "{\n \"Response\": {\n \"InvoiceDetectInfos\": [\n {\n \"Angle\": 0,\n \"Type\": 3,\n \"Rect\": {\n \"X\": 19,\n \"Y\": 43,\n \"Width\": 1340,\n \"Height\": 852\n },\n \"Image\": null\n },\n {\n \"Angle\": 0,\n \"Type\": 13,\n \"Rect\": {\n \"X\": 20,\n \"Y\": 891,\n \"Width\": 479,\n \"Height\": 597\n },\n \"Image\": null\n },\n {\n \"Angle\": 0,\n \"Type\": 2,\n \"Rect\": {\n \"X\": 520,\n \"Y\": 904,\n \"Width\": 455,\n \"Height\": 286\n },\n \"Image\": null\n }\n ],\n \"RequestId\": \"c8cedc79-d03b-463d-8b95-b807b4ca5135\"\n }\n}",
|
348
348
|
"title": "混贴票据分类示例代码"
|
349
349
|
}
|
@@ -357,7 +357,7 @@
|
|
357
357
|
},
|
358
358
|
{
|
359
359
|
"document": "混贴票据识别示例代码(识别指定类型)",
|
360
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MixedInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\",\n \"Types\": [\n \
|
360
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MixedInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\",\n \"Types\": [\n 3\n ]\n}",
|
361
361
|
"output": "{\n \"Response\": {\n \"MixedInvoiceItems\": [\n {\n \"Rect\": {\n \"X\": -19,\n \"Y\": 34,\n \"Width\": 1399,\n \"Height\": 845\n },\n \"Angle\": 0,\n \"Type\": 3,\n \"Code\": \"OK\",\n \"Page\": 1,\n \"SingleInvoiceInfos\": [\n {\n \"Name\": \"销售方识别号\",\n \"Value\": \"440300094040109\",\n \"Row\": -1\n },\n {\n \"Name\": \"销售方名称\",\n \"Value\": \"深圳市游戏科技有限公司\",\n \"Row\": -1\n },\n {\n \"Name\": \"购买方识别号\",\n \"Value\": \"440300708461136\",\n \"Row\": -1\n },\n {\n \"Name\": \"购买方名称\",\n \"Value\": \"深圳市腾讯计算机系统有限公司\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票名称\",\n \"Value\": \"深圳增值税专用发票\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票代码\",\n \"Value\": \"4403152130\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票号码\",\n \"Value\": \"No14998456\",\n \"Row\": -1\n },\n {\n \"Name\": \"打印发票代码\",\n \"Value\": \"4403152130\",\n \"Row\": -1\n },\n {\n \"Name\": \"打印发票号码\",\n \"Value\": \"No14998456\",\n \"Row\": -1\n },\n {\n \"Name\": \"开票日期\",\n \"Value\": \"2016年04月11日\",\n \"Row\": -1\n },\n {\n \"Name\": \"密码区1\",\n \"Value\": \"*7-0<84019---5+68315-99->/51\",\n \"Row\": -1\n },\n {\n \"Name\": \"密码区2\",\n \"Value\": \">814<1/7922/<-23/908+>7474+3\",\n \"Row\": -1\n },\n {\n \"Name\": \"购买方地址、电话\",\n \"Value\": \"深圳市南山区高新区高新南一路飞亚达大厦5-10楼0755-86013388\",\n \"Row\": -1\n },\n {\n \"Name\": \"密码区3\",\n \"Value\": \"78312-072<3<729-+4<6*315-094\",\n \"Row\": -1\n },\n {\n \"Name\": \"密码区4\",\n \"Value\": \"->/5>18493/1-60*6-43/90<--78\",\n \"Row\": -1\n },\n {\n \"Name\": \"购买方开户行及账号\",\n \"Value\": \"招商银行深圳分行振兴支行817282299619961\",\n \"Row\": -1\n },\n {\n \"Name\": \"货物或应税劳务、服务名称\",\n \"Value\": \"技术服务费\",\n \"Row\": 0\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"778.44\",\n \"Row\": 0\n },\n {\n \"Name\": \"税率\",\n \"Value\": \"6%\",\n \"Row\": 0\n },\n {\n \"Name\": \"税额\",\n \"Value\": \"46.71\",\n \"Row\": 0\n },\n {\n \"Name\": \"合计金额\",\n \"Value\": \"¥778.44\",\n \"Row\": -1\n },\n {\n \"Name\": \"合计税额\",\n \"Value\": \"46.71\",\n \"Row\": -1\n },\n {\n \"Name\": \"价税合计(大写)\",\n \"Value\": \"捌佰贰拾伍圆壹角伍分\",\n \"Row\": -1\n },\n {\n \"Name\": \"小写金额\",\n \"Value\": \"¥825.15\",\n \"Row\": -1\n },\n {\n \"Name\": \"销售方地址、电话\",\n \"Value\": \"深圳市南山区高新南一道3号赋安科技大楼A座301室0755-86315454\",\n \"Row\": -1\n },\n {\n \"Name\": \"销售方开户行及账号\",\n \"Value\": \"浦发行深圳科技园支行79210154740015474\",\n \"Row\": -1\n },\n {\n \"Name\": \"收款人\",\n \"Value\": \"李明\",\n \"Row\": -1\n },\n {\n \"Name\": \"复核\",\n \"Value\": \"晓艾\",\n \"Row\": -1\n },\n {\n \"Name\": \"开票人\",\n \"Value\": \"张三\",\n \"Row\": -1\n },\n {\n \"Name\": \"是否有公司印章\",\n \"Value\": \"1\",\n \"Row\": -1\n },\n {\n \"Name\": \"联次\",\n \"Value\": \"三\",\n \"Row\": -1\n },\n {\n \"Name\": \"省\",\n \"Value\": \"广东省\",\n \"Row\": -1\n },\n {\n \"Name\": \"市\",\n \"Value\": \"深圳市\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票消费类型\",\n \"Value\": \"服务\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票类型\",\n \"Value\": \"增值税专用发票\",\n \"Row\": -1\n },\n {\n \"Name\": \"机器编号\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"校验码\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"备注\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"单位\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"规格型号\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"是否代开\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"成品油标志\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"服务类型\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"通行费标志\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"车船税\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"车牌号\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"类型\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"通行日期起\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"通行日期止\",\n \"Value\": \"\",\n \"Row\": -1\n }\n ]\n }\n ],\n \"RequestId\": \"3a850dbc-2de1-4dfb-9ecd-7ae57f2fe666\"\n }\n}",
|
362
362
|
"title": "混贴票据识别示例代码(识别指定类型)"
|
363
363
|
}
|
@@ -478,7 +478,7 @@
|
|
478
478
|
{
|
479
479
|
"document": "门头照识别示例",
|
480
480
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeStoreName\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
481
|
-
"output": "{\n \"Response\": {\n \"Angle\": 0.988696813583374,\n \"RequestId\": \"e450a988-e6b1-4dde-810c-59ab214d39a6\",\n \"StoreInfo\": [\n {\n \"Name\": \"商店名称\",\n \"Rect\": {\n \"Height\": 263,\n \"Width\": 1132,\n \"X\": 232,\n \"Y\": 366\n },\n \"Value\": \"城市生活超市\"\n },\n {\n \"Name\": \"商店名称\",\n \"Rect\": {\n \"Height\": 69,\n \"Width\": 275,\n \"X\": 240,\n \"Y\": 557\n },\n \"Value\": \"CITY LIFE\"\n }\n ],\n \"StoreLabel\": [\n \"
|
481
|
+
"output": "{\n \"Response\": {\n \"Angle\": 0.988696813583374,\n \"RequestId\": \"e450a988-e6b1-4dde-810c-59ab214d39a6\",\n \"StoreInfo\": [\n {\n \"Name\": \"商店名称\",\n \"Rect\": {\n \"Height\": 263,\n \"Width\": 1132,\n \"X\": 232,\n \"Y\": 366\n },\n \"Value\": \"城市生活超市\"\n },\n {\n \"Name\": \"商店名称\",\n \"Rect\": {\n \"Height\": 69,\n \"Width\": 275,\n \"X\": 240,\n \"Y\": 557\n },\n \"Value\": \"CITY LIFE\"\n }\n ],\n \"StoreLabel\": [\n \"标准门头照\"\n ]\n }\n}",
|
482
482
|
"title": "门头照识别示例"
|
483
483
|
}
|
484
484
|
],
|
@@ -502,7 +502,7 @@
|
|
502
502
|
{
|
503
503
|
"document": "",
|
504
504
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeThaiIDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
505
|
-
"output": "{\n \"Response\": {\n \"ID\": \"
|
505
|
+
"output": "{\n \"Response\": {\n \"Address\": \"ที่อยู่ 21/19 หมู่ที่ 3 ต.บางคูรัด อ.บางบัวทอง จ.นนทบุรี\",\n \"AdvancedInfo\": \"{\\\"ID\\\":0.9995814561843872,\\\"ThaiName\\\":0.9961479902267456,\\\"EnFirstName\\\":0.9232422113418579,\\\"EnLastName\\\":0.943652331829071,\\\"Birthday\\\":0.9828404188156128,\\\"EnBirthday\\\":0.92333984375,\\\"Religion\\\":1,\\\"ExpirationDate\\\":0.9919084906578064,\\\"IssueDate\\\":0.9893275499343872,\\\"EnExpirationDate\\\":0.9890950322151184,\\\"EnIssueDate\\\":0.9800618290901184,\\\"SerialNumber\\\":0.9995659589767456}\",\n \"Birthday\": \"14 ธ.ค. 2509\",\n \"EnBirthday\": \"14 Dec. 1966\",\n \"EnExpirationDate\": \"13 Dec. 2024\",\n \"EnFirstName\": \"Mr. Thanakit\",\n \"EnIssueDate\": \"9 Dec. 2016\",\n \"EnLastName\": \"Boonyopakron\",\n \"ExpirationDate\": \"13 ธ.ค. 2567\",\n \"ID\": \"3 1020 01968 75 6\",\n \"IssueDate\": \"9 ธ.ค. 2559\",\n \"PortraitImage\": \"\",\n \"Religion\": \"พุทธ\",\n \"RequestId\": \"d4af8019-08e0-4d8d-a986-e1f45efb4a6c\",\n \"SerialNumber\": \"1204-03-12091012\",\n \"ThaiName\": \"นาย ธนกฤต บุญโญปกรณ์\",\n \"WarnCardInfos\": [\n -9109\n ]\n }\n}",
|
506
506
|
"title": "RecognizeThaiIDCardOCR调用"
|
507
507
|
}
|
508
508
|
],
|
@@ -683,7 +683,7 @@
|
|
683
683
|
"VehicleRegCertOCR": [
|
684
684
|
{
|
685
685
|
"document": "机动车登记证书识别示例代码",
|
686
|
-
"input": "
|
686
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VehicleRegCertOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/vehicle/VehicleRegCertOCR/VehicleRegCertOCR1.jpg\"\n}",
|
687
687
|
"output": "{\n \"Response\": {\n \"VehicleRegCertInfos\": [\n {\n \"Name\": \"编号\",\n \"Value\": \"*310005169880*\"\n },\n {\n \"Name\": \"机动车所有人1\",\n \"Value\": \"李明\"\n },\n {\n \"Name\": \"车辆识别代号/车架号\",\n \"Value\": \"LFV8\"\n },\n {\n \"Name\": \"身份证明名称1\",\n \"Value\": \"居民身份证\"\n },\n {\n \"Name\": \"号码1\",\n \"Value\": \"339001198706168418\"\n }\n ],\n \"RequestId\": \"393fa9e0-3827-4183-9fe7-68ed622028a1\"\n }\n}",
|
688
688
|
"title": "机动车登记证书识别示例代码"
|
689
689
|
}
|
@@ -691,7 +691,7 @@
|
|
691
691
|
"VerifyOfdVatInvoiceOCR": [
|
692
692
|
{
|
693
693
|
"document": "ofd发票识别",
|
694
|
-
"input": "
|
694
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyOfdVatInvoiceOCR\n<公共请求参数>\n\n{\n \"OfdFileUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
695
695
|
"output": "{\n \"Response\": {\n \"Buyer\": {\n \"AddrTel\": \"北京*****嘉园北门\",\n \"FinancialAccount\": \"北京****11\",\n \"Name\": \"科*****限公司\",\n \"TaxId\": \"915****002\"\n },\n \"Checker\": \"张***\",\n \"GoodsInfos\": [\n {\n \"Amount\": \"-100.00\",\n \"Item\": \"*餐饮服务*餐费\",\n \"MeasurementDimension\": \"次\",\n \"Price\": \"25\",\n \"Quantity\": \"-4\",\n \"Specification\": \"\",\n \"TaxAmount\": \"-6.00\",\n \"TaxScheme\": \"6%\"\n },\n {\n \"Amount\": \"-100.00\",\n \"Item\": \"*餐饮服务*餐费\",\n \"MeasurementDimension\": \"次\",\n \"Price\": \"25\",\n \"Quantity\": \"-4\",\n \"Specification\": \"\",\n \"TaxAmount\": \"-6.00\",\n \"TaxScheme\": \"6%\"\n },\n {\n \"Amount\": \"-100.00\",\n \"Item\": \"*餐饮服务*餐费\",\n \"MeasurementDimension\": \"次\",\n \"Price\": \"25\",\n \"Quantity\": \"-4\",\n \"Specification\": \"\",\n \"TaxAmount\": \"-6.00\",\n \"TaxScheme\": \"6%\"\n }\n ],\n \"InvoiceCheckCode\": \"1780***699\",\n \"InvoiceClerk\": \"任**\",\n \"InvoiceCode\": \"0***11\",\n \"InvoiceNumber\": \"62***8\",\n \"IssueDate\": \"2020年06月18日\",\n \"MachineNumber\": \"016****903\",\n \"Note\": \"对应正*****436\",\n \"Payee\": \"张***\",\n \"RequestId\": \"7ea56704-eb43-455a-a608-6d79f5e70b37\",\n \"Seller\": {\n \"AddrTel\": \"北京****号\",\n \"FinancialAccount\": \"建设*****711\",\n \"Name\": \"深圳*****有限公司\",\n \"TaxId\": \"915****8Y\"\n },\n \"TaxControlCode\": \"00228*****2274\",\n \"TaxExclusiveTotalAmount\": \"-300.00\",\n \"TaxInclusiveTotalAmount\": \"-318.00\",\n \"TaxTotalAmount\": \"-18.00\",\n \"Type\": \"026\",\n \"AirTicketInfo\": {\n \"PassengerName\": \"李**\",\n \"ValidIdNumber\": \"440183********372\",\n \"Endorsement\": \"BUDEQIANZHUAN不得签转/****变更退票收费\",\n \"NumberOfGPOrder\": \"\",\n \"ElectronicInvoiceAirTransportReceiptNumber\": \"2344****0553\",\n \"DetailInformationOfAirTicketTuple\": [\n {\n \"DepartureStation\": \"CAN 广州\",\n \"DestinationStation\": \"CGO 郑州\",\n \"FlightSegment\": \"1\",\n \"Carrier\": \"南航\",\n \"Flight\": \"CZ3***\",\n \"SeatClass\": \"T\",\n \"CarrierDate\": \"2023-01-30\",\n \"DepartureTime\": \"07:25\",\n \"FareBasis\": \"TCP0***\",\n \"EffectiveDate\": \"2023-01-30\",\n \"ExpirationDate\": \"2023-01-30\",\n \"FreeBaggageAllowance\": \"20K\"\n }\n ],\n \"Fare\": \"458\",\n \"FuelSurcharge\": \"70\",\n \"VatRate\": \"0.08\",\n \"VatTaxAmount\": \"47\",\n \"CivilAviationDevelopmentFund\": \"50.00\",\n \"OtherTaxes\": \"0.00\",\n \"TotalAmount\": \"600\",\n \"ElectronicTicketNum\": \"\",\n \"VerificationCode\": \"0**3\",\n \"PromptInformation\": \"\",\n \"Insurance\": \"0.00\",\n \"AgentCode\": \"CAN0***570\",\n \"IssueParty\": \"中国南****限公司\",\n \"IssueDate\": \"2023-02-07\",\n \"IssuingStatus\": \"正常\",\n \"MarkingOfDomesticOrInternational\": \"国内\",\n \"NameOfPurchaser\": \"兴*****分公司\",\n \"NameOfSeller\": \"中国****限公司\",\n \"UnifiedSocialCreditCodeOfPurchaser\": \"914***673B\"\n },\n \"RailwayTicketInfo\": {\n \"TypeOfVoucher\": \"电子发票(铁路电子客票)\",\n \"ElectronicTicketNum\": \"3067*****22\",\n \"DateOfIssue\": \"2022-03-17\",\n \"TypeOfBusiness\": \"退\",\n \"DepartureStation\": \"南京\",\n \"PhonicsOfDepartureStation\": \"Nanjing\",\n \"DestinationStation\": \"上海虹桥\",\n \"PhonicsOfDestinationStation\": \"Shanghaihongqiao\",\n \"TrainNumber\": \"D1****1\",\n \"TravelDate\": \"2022-01-20\",\n \"DepartureTime\": \"06:20\",\n \"AirConditioningCharacteristics\": \"\",\n \"SeatLevel\": \"一等座\",\n \"Carriage\": \"03车\",\n \"Seat\": \"01F号\",\n \"Fare\": \"48.00\",\n \"ElectronicInvoiceRailwayETicketNumber\": \"221******0011\",\n \"IdNumber\": \"142*****1627\",\n \"Name\": \"汪某某\",\n \"TotalAmountExcludingTax\": \"52.28\",\n \"TaxRate\": \"0.06\",\n \"TaxAmount\": \"2.72\",\n \"NameOfPurchaser\": \"铁路客票****单位\",\n \"UnifiedSocialCreditCodeOfPurchaser\": \"9111***858\",\n \"NumberOfOriginalInvoice\": \"22****0010\"\n }\n }\n}",
|
696
696
|
"title": "OFD发票识别示例代码"
|
697
697
|
}
|