tccli 3.0.1215.1__py2.py3-none-any.whl → 3.0.1217.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/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/configure.py +46 -1
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -3
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +118 -4
- tccli/services/asr/v20190614/api.json +21 -20
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +80 -4
- tccli/services/bi/v20220105/examples.json +1 -1
- tccli/services/billing/billing_client.py +53 -0
- tccli/services/billing/v20180709/api.json +330 -24
- tccli/services/billing/v20180709/examples.json +8 -0
- tccli/services/bsca/v20210811/api.json +223 -18
- tccli/services/bsca/v20210811/examples.json +4 -4
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +541 -325
- tccli/services/ccc/v20200210/examples.json +26 -18
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +308 -274
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cdn/v20180606/api.json +5 -3
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +54 -4
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1895 -2011
- tccli/services/cfw/v20190904/examples.json +175 -171
- tccli/services/ciam/v20220331/api.json +316 -315
- tccli/services/ciam/v20220331/examples.json +49 -49
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/cloudaudit_client.py +30 -30
- tccli/services/cloudaudit/v20190319/api.json +254 -211
- tccli/services/cloudaudit/v20190319/examples.json +19 -19
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +935 -147
- tccli/services/cls/v20201016/examples.json +43 -5
- tccli/services/csip/v20221121/api.json +2566 -2386
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +191 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6498 -6252
- tccli/services/cwp/v20180228/examples.json +372 -412
- tccli/services/cynosdb/v20190107/api.json +170 -110
- tccli/services/cynosdb/v20190107/examples.json +91 -91
- tccli/services/dasb/v20191018/api.json +859 -637
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/domain/v20180808/api.json +3 -3
- tccli/services/domain/v20180808/examples.json +3 -3
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/eb/v20210416/api.json +15 -15
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/es_client.py +249 -37
- tccli/services/es/v20180416/api.json +550 -0
- tccli/services/es/v20180416/examples.json +33 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +192 -38
- tccli/services/ess/v20201111/examples.json +35 -9
- tccli/services/essbasic/essbasic_client.py +106 -0
- tccli/services/essbasic/v20210526/api.json +287 -60
- tccli/services/essbasic/v20210526/examples.json +58 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gaap/v20180529/api.json +44 -26
- tccli/services/gaap/v20180529/examples.json +24 -30
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +73 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +279 -9
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +10 -12
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2263 -758
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/organization_client.py +352 -34
- tccli/services/organization/v20210331/api.json +464 -4
- tccli/services/organization/v20210331/examples.json +49 -1
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/region/v20220627/api.json +1 -1
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/scf_client.py +269 -4
- tccli/services/scf/v20180416/api.json +569 -15
- tccli/services/scf/v20180416/examples.json +47 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +98 -5
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +124 -122
- tccli/services/tat/v20201028/examples.json +24 -30
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1984 -1437
- tccli/services/tcss/v20201101/examples.json +350 -368
- tccli/services/tdmq/v20200217/api.json +603 -464
- tccli/services/tdmq/v20200217/examples.json +105 -105
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +429 -372
- tccli/services/tem/v20210701/examples.json +85 -85
- tccli/services/teo/teo_client.py +277 -12
- tccli/services/teo/v20220901/api.json +1029 -124
- tccli/services/teo/v20220901/examples.json +84 -8
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +270 -58
- tccli/services/tke/v20180525/api.json +79 -27
- tccli/services/tke/v20180525/examples.json +9 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tms/tms_client.py +4 -57
- tccli/services/tms/v20201229/api.json +0 -354
- tccli/services/tms/v20201229/examples.json +0 -8
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +293 -52
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1195 -892
- tccli/services/vpc/v20170312/examples.json +84 -68
- tccli/services/vpc/vpc_client.py +168 -62
- tccli/services/waf/v20180125/api.json +2611 -2187
- tccli/services/waf/v20180125/examples.json +224 -284
- tccli/services/waf/waf_client.py +225 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +1595 -25
- tccli/services/wedata/v20210820/examples.json +44 -4
- tccli/services/wedata/wedata_client.py +265 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
- tccli/services/cr/__init__.py +0 -4
- tccli/services/cr/cr_client.py +0 -1626
- tccli/services/cr/v20180321/api.json +0 -2829
- tccli/services/cr/v20180321/examples.json +0 -235
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,24 +3,24 @@
|
|
3
3
|
"AuthorizedTransfer": [
|
4
4
|
{
|
5
5
|
"document": "接收客户侧的用户已授权的号码",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: smop.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AuthorizedTransfer\n<公共请求参数>\n\n{\n \"BusinessSecurityData\": {\n \"IsAuthorized\": 0,\n \"EncryptMethod\": 0,\n \"EncryptMode\": 0,\n \"PaddingType\": 0,\n \"EncryptData\": \"
|
7
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"Code\": 0,\n \"Message\": \"
|
6
|
+
"input": "POST / HTTP/1.1\nHost: smop.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AuthorizedTransfer\n<公共请求参数>\n\n{\n \"BusinessSecurityData\": {\n \"IsAuthorized\": 0,\n \"EncryptMethod\": 0,\n \"EncryptMode\": 0,\n \"PaddingType\": 0,\n \"EncryptData\": \"MjAyNDEwMjIxMTI5NTI4MjY=\"\n }\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Code\": 0,\n \"Message\": \"操作成功\",\n \"Value\": \"说明\"\n },\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
8
8
|
"title": "接收客户侧的用户已授权的号码"
|
9
9
|
}
|
10
10
|
],
|
11
11
|
"CreateChainBatch": [
|
12
12
|
{
|
13
13
|
"document": "",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateChainBatch\n<公共请求参数>\n\n{\n \"CorpId\":
|
15
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
14
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateChainBatch\n<公共请求参数>\n\n{\n \"CorpId\": 10000,\n \"ChainList\": [\n {\n \"Code\": \"https://anxin.qq.com/q99j9ovp5c6sok7l5g\",\n \"Data\": [\n {\n \"Label\": \"商品名称\",\n \"Type\": \"text\",\n \"Value\": \"安全中心\"\n }\n ]\n }\n ]\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
16
16
|
"title": "批量上链接口"
|
17
17
|
}
|
18
18
|
],
|
19
19
|
"CreateCodeBatch": [
|
20
20
|
{
|
21
21
|
"document": "新增批次",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCodeBatch\n<公共请求参数>\n\n{\n \"MerchantId\": \"
|
23
|
-
"output": "{\n \"Response\": {\n \"BatchId\": \"
|
22
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCodeBatch\n<公共请求参数>\n\n{\n \"MerchantId\": \"eqdmnz7020bmtvi9\",\n \"ProductId\": \"tz6jpscwky41u23o9b\",\n \"BatchType\": 1,\n \"BatchId\": \"\",\n \"Remark\": \"备注\",\n \"MpTpl\": \"模板ID\",\n \"CloneId\": \"复制的批次ID\",\n \"BatchCode\": \"20121212000001\",\n \"ValidDate\": \"2022-11-12\",\n \"ProductionDate\": \"2022-05-12\"\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"BatchId\": \"20121212000001xxx\",\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
24
24
|
"title": "新增批次"
|
25
25
|
}
|
26
26
|
],
|
@@ -36,14 +36,14 @@
|
|
36
36
|
{
|
37
37
|
"document": "",
|
38
38
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCorporationOrder\n<公共请求参数>\n\n{\n \"CodeQuota\": 10000,\n \"CorpId\": 1000,\n \"Amount\": 10000,\n \"ContactPerson\": \"张三\",\n \"ExpireTime\": \"2023-12-31 23:59:59\",\n \"ContactNumber\": \"13912345678\",\n \"Owner\": \"1000\",\n \"CorpName\": \"张三企业\",\n \"Remark\": \"张三\"\n}",
|
39
|
-
"output": "{\n \"Response\": {\n \"CorpId\":
|
39
|
+
"output": "{\n \"Response\": {\n \"CorpId\": 10000,\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
40
40
|
"title": "新建企业订单"
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"CreateCustomPack": [
|
44
44
|
{
|
45
45
|
"document": "",
|
46
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCustomPack\n<公共请求参数>\n\n{\n \"MerchantId\": \"eqdmnz7020bmtvi9\",\n \"Amount\": 10,\n \"CustomId\": \"
|
46
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCustomPack\n<公共请求参数>\n\n{\n \"MerchantId\": \"eqdmnz7020bmtvi9\",\n \"Amount\": 10,\n \"CustomId\": \"exfdmnz7020bmt\",\n \"PackType\": 0\n}",
|
47
47
|
"output": "{\n \"Response\": {\n \"PackId\": \"i655d7d68dzbbc4edi\",\n \"RequestId\": \"384f8d0c-0c15-4dce-9b23-85ca839364ad\"\n }\n}",
|
48
48
|
"title": "生成自定义码包"
|
49
49
|
}
|
@@ -51,7 +51,7 @@
|
|
51
51
|
"CreateCustomRule": [
|
52
52
|
{
|
53
53
|
"document": "",
|
54
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCustomRule\n<公共请求参数>\n\n{\n \"Name\": \"
|
54
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCustomRule\n<公共请求参数>\n\n{\n \"Name\": \"自定义码规则\",\n \"MerchantId\": \"6b1tvtwfve3n\",\n \"CodeParts\": [\n {\n \"Type\": \"1\",\n \"Name\": \"防伪ID\",\n \"Value\": \"3\",\n \"Length\": 14,\n \"Ext\": \"\"\n }\n ],\n \"CodeLength\": 10\n}",
|
55
55
|
"output": "{\n \"Response\": {\n \"CustomId\": \"awai9g3de7p3t\",\n \"RequestId\": \"233c09fe-7ba7-42e1-8801-acaca177582b\"\n }\n}",
|
56
56
|
"title": "新建自定义码规则"
|
57
57
|
}
|
@@ -59,7 +59,7 @@
|
|
59
59
|
"CreateMerchant": [
|
60
60
|
{
|
61
61
|
"document": "",
|
62
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMerchant\n<公共请求参数>\n\n{\n \"Name\": \"demo\",\n \"Remark\": \"demoss\",\n \"CorpId\": 10000\n}",
|
62
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMerchant\n<公共请求参数>\n\n{\n \"Name\": \"demo\",\n \"Remark\": \"demoss\",\n \"CorpId\": 10000,\n \"CodeType\": 1,\n \"CodeUrl\": \"https://xxx.xxx.com\"\n}",
|
63
63
|
"output": "{\n \"Response\": {\n \"MerchantId\": \"awai9jd37ng3de7p3t\",\n \"RequestId\": \"233c09fe-7ba7-42e1-8801-acaca177582b\"\n }\n}",
|
64
64
|
"title": "新建商户"
|
65
65
|
}
|
@@ -67,7 +67,7 @@
|
|
67
67
|
"CreateProduct": [
|
68
68
|
{
|
69
69
|
"document": "",
|
70
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProduct\n<公共请求参数>\n\n{\n \"Remark\": \"
|
70
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProduct\n<公共请求参数>\n\n{\n \"Remark\": \"商品备注\",\n \"Name\": \"商品名称\",\n \"Specification\": \"100ml\",\n \"Ext\": {},\n \"Logo\": [\n \"https://xxx.xxx.com/logo.png\"\n ],\n \"MerchantId\": \"eqdmnz7020bmtvi9\",\n \"MerchantName\": \"demo\"\n}",
|
71
71
|
"output": "{\n \"Response\": {\n \"ProductId\": \"tz6jpscwky41u23o9b\",\n \"RequestId\": \"5ef09b37-e0c0-49b2-89ad-3345916d7abb\"\n }\n}",
|
72
72
|
"title": "新建商品"
|
73
73
|
}
|
@@ -76,31 +76,31 @@
|
|
76
76
|
{
|
77
77
|
"document": "",
|
78
78
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTraceChain\n<公共请求参数>\n\n{\n \"TraceId\": \"VyKxxkmi_myRD6ulG6HFo\"\n}",
|
79
|
-
"output": "{\n \"Response\": {\n \"TraceId\": \"
|
79
|
+
"output": "{\n \"Response\": {\n \"TraceId\": \"VyKxxkmi_myRD6ulG6HFo\",\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
80
80
|
"title": "上链溯源信息"
|
81
81
|
}
|
82
82
|
],
|
83
83
|
"CreateTraceCodes": [
|
84
84
|
{
|
85
85
|
"document": "批量将码和批次绑定并激活,会返回绑定后批次对应码的数量",
|
86
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTraceCodes\n<公共请求参数>\n\n{\n \"BatchId\": \"
|
87
|
-
"output": "{\n \"Response\": {\n \"BatchId\": \"
|
86
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTraceCodes\n<公共请求参数>\n\n{\n \"BatchId\": \"20241022112952826\",\n \"Codes\": [\n {\n \"Code\": \"https://anxin.m.qq.com/qr/eqdmnz7020bmtvi9_021351149823032923\"\n }\n ]\n}",
|
87
|
+
"output": "{\n \"Response\": {\n \"BatchId\": \"20241022112952826\",\n \"ActiveCnt\": 1,\n \"CodeCnt\": 1,\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
88
88
|
"title": "批量将码和批次绑定"
|
89
89
|
}
|
90
90
|
],
|
91
91
|
"CreateTraceCodesAsync": [
|
92
92
|
{
|
93
93
|
"document": "",
|
94
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTraceCodesAsync\n<公共请求参数>\n\n{\n \"BatchId\": \"
|
95
|
-
"output": "{\n \"Response\": {\n \"BatchId\": \"
|
94
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTraceCodesAsync\n<公共请求参数>\n\n{\n \"BatchId\": \"20241022112952826\",\n \"FileKey\": \"anxin/filekeyname.zip\"\n}",
|
95
|
+
"output": "{\n \"Response\": {\n \"BatchId\": \"20241022112952826\",\n \"RequestId\": \"384f8d0c-0c15-4dce-9b23-85ca839364ad\"\n }\n}",
|
96
96
|
"title": "异步导入激活码包"
|
97
97
|
}
|
98
98
|
],
|
99
99
|
"CreateTraceData": [
|
100
100
|
{
|
101
101
|
"document": "新增溯源信息",
|
102
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTraceData\n<公共请求参数>\n\n{\n \"
|
103
|
-
"output": "{\n \"Response\": {\n \"TraceId\": \"
|
102
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTraceData\n<公共请求参数>\n\n{\n \"TraceItems\": [\n {\n \"Key\": \"name\",\n \"Name\": \"名称\",\n \"Value\": \"xltest\",\n \"Type\": \"text\",\n \"ReadOnly\": true,\n \"Hidden\": false,\n \"Values\": [],\n \"Ext\": \"\",\n \"Attrs\": [],\n \"List\": []\n },\n {\n \"Key\": \"avatar\",\n \"Name\": \"主图\",\n \"Value\": \"\",\n \"Type\": \"image\",\n \"ReadOnly\": false,\n \"Hidden\": false,\n \"Values\": [\n \"https://webcdn.m.qq.com/anxin/public/4054d20b71d30db847492eecc8057e90.jpg\"\n ],\n \"Ext\": \"\",\n \"Attrs\": [],\n \"List\": []\n },\n {\n \"Key\": \"message\",\n \"Name\": \"提示文本\",\n \"Value\": \"商品信息溯源详情\",\n \"Type\": \"text\",\n \"ReadOnly\": false,\n \"Hidden\": false,\n \"Values\": [],\n \"Ext\": \"\",\n \"Attrs\": [],\n \"List\": []\n },\n {\n \"Key\": \"desc\",\n \"Name\": \"卡片描述\",\n \"Value\": \"二维码已完成扫码,请查看信息\",\n \"Type\": \"text\",\n \"ReadOnly\": false,\n \"Hidden\": false,\n \"Values\": [],\n \"Ext\": \"\",\n \"Attrs\": [],\n \"List\": []\n }\n ],\n \"PhaseName\": \"设计阶段\",\n \"PhaseData\": {\n \"AppId\": \"\",\n \"AppName\": \"\",\n \"AppPath\": \"\",\n \"HeadEnabled\": false,\n \"HeadTitle\": \"\",\n \"Key\": \"\"\n },\n \"Status\": 1,\n \"Type\": 1,\n \"Phase\": 2,\n \"ChainStatus\": 1,\n \"CorpId\": 10000\n}",
|
103
|
+
"output": "{\n \"Response\": {\n \"TraceId\": \"1mO3n3W0LDhAaADGwHjj3\",\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
104
104
|
"title": "新增溯源信息"
|
105
105
|
}
|
106
106
|
],
|
@@ -108,14 +108,14 @@
|
|
108
108
|
{
|
109
109
|
"document": "删除批次",
|
110
110
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCodeBatch\n<公共请求参数>\n\n{\n \"BatchId\": \"d60qv5xp23wk6daw56\"\n}",
|
111
|
-
"output": "{\n \"Response\": {\n \"BatchId\": \"
|
111
|
+
"output": "{\n \"Response\": {\n \"BatchId\": \"d60qv5xp23wk6daw56\",\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
112
112
|
"title": "删除批次"
|
113
113
|
}
|
114
114
|
],
|
115
115
|
"DeleteMerchant": [
|
116
116
|
{
|
117
117
|
"document": "",
|
118
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMerchant\n<公共请求参数>\n\n{\n \"CorpId\":
|
118
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMerchant\n<公共请求参数>\n\n{\n \"CorpId\": 10000,\n \"MerchantId\": \"awai9jd37ng3de7p3t\"\n}",
|
119
119
|
"output": "{\n \"Response\": {\n \"MerchantId\": \"awai9jd37ng3de7p3t\",\n \"RequestId\": \"7412c068-06c1-4104-a23f-f42b3ba8d762\"\n }\n}",
|
120
120
|
"title": "删除商户"
|
121
121
|
}
|
@@ -132,7 +132,7 @@
|
|
132
132
|
{
|
133
133
|
"document": "",
|
134
134
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTraceData\n<公共请求参数>\n\n{\n \"TraceId\": \"awai9jd37ng3de7p3t\"\n}",
|
135
|
-
"output": "{\n \"Response\": {\n \"TraceId\": \"
|
135
|
+
"output": "{\n \"Response\": {\n \"TraceId\": \"1mO3n3W0LDhAaADGwHjj3\",\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
136
136
|
"title": "删除溯源信息"
|
137
137
|
}
|
138
138
|
],
|
@@ -140,31 +140,31 @@
|
|
140
140
|
{
|
141
141
|
"document": "查询渠道企业列表",
|
142
142
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAgentCorps\n<公共请求参数>\n\n{\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
|
143
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
143
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
144
144
|
"title": "查询渠道企业列表"
|
145
145
|
}
|
146
146
|
],
|
147
147
|
"DescribeCodeBatchById": [
|
148
148
|
{
|
149
149
|
"document": "",
|
150
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCodeBatchById\n<公共请求参数>\n\n{\n \"BatchId\": \"
|
151
|
-
"output": "{\n \"Response\": {\n \"CodeBatch\": {\n \"
|
150
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCodeBatchById\n<公共请求参数>\n\n{\n \"BatchId\": \"20121212000001xx\"\n}",
|
151
|
+
"output": "{\n \"Response\": {\n \"CodeBatch\": {\n \"BatchId\": \"20121212000001xx\",\n \"CorpId\": 10000,\n \"BatchCode\": \"20121212000001\",\n \"CodeCnt\": 10,\n \"MerchantId\": \"eqdmnz7020bmtvi9\",\n \"ProductId\": \"tz6jpscwky41u23o9b\",\n \"BatchType\": 0,\n \"Remark\": \"备注\",\n \"MpTpl\": \"模板ID\",\n \"Status\": 0,\n \"CreateTime\": \"2021-12-01T06:48:45.000Z\",\n \"UpdateTime\": \"2021-12-01T06:48:45.000Z\",\n \"MerchantName\": \"商户名称\",\n \"ProductName\": \"商品名称\",\n \"Ext\": {},\n \"TplName\": \"模板名称\",\n \"Job\": {\n \"JobId\": 1000,\n \"Status\": \"init\"\n },\n \"ProductionDate\": \"2022-05-12\",\n \"ValidDate\": \"2022-11-12\",\n \"Attrs\": []\n },\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
152
152
|
"title": "查询批次信息"
|
153
153
|
}
|
154
154
|
],
|
155
155
|
"DescribeCodeBatches": [
|
156
156
|
{
|
157
157
|
"document": "",
|
158
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCodeBatches\n<公共请求参数>\n\n{\n \"CorpId\":
|
159
|
-
"output": "{\n \"Response\": {\n \"CodeBatches\": [\n {\n \"BatchId\": \"
|
158
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCodeBatches\n<公共请求参数>\n\n{\n \"CorpId\": 10000\n}",
|
159
|
+
"output": "{\n \"Response\": {\n \"CodeBatches\": [\n {\n \"BatchId\": \"20121212000001\",\n \"CorpId\": 10000,\n \"BatchCode\": \"20121212000001\",\n \"CodeCnt\": 10,\n \"MerchantId\": \"eqdmnz7020bmtvi9\",\n \"ProductId\": \"tz6jpscwky41u23o9b\",\n \"BatchType\": 0,\n \"Remark\": \"备注\",\n \"MpTpl\": \"模板ID\",\n \"Status\": 0,\n \"CreateTime\": \"2021-12-01T06:48:45.000Z\",\n \"UpdateTime\": \"2021-12-01T06:48:45.000Z\",\n \"MerchantName\": \"商户名称\",\n \"ProductName\": \"商品名称\",\n \"Ext\": {},\n \"TplName\": \"模板名称\",\n \"Job\": {\n \"JobId\": 1000,\n \"Status\": \"init\"\n },\n \"ProductionDate\": \"2022-05-12\",\n \"ValidDate\": \"2022-11-12\",\n \"Attrs\": []\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
160
160
|
"title": "查询批次列表"
|
161
161
|
}
|
162
162
|
],
|
163
163
|
"DescribeCodeBatchs": [
|
164
164
|
{
|
165
165
|
"document": "",
|
166
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCodeBatchs\n<公共请求参数>\n\n{\n \"MerchantId\": \"
|
167
|
-
"output": "{\n \"Response\": {\n \"CodeBatchs\": [\n {\n \"BatchId\": \"
|
166
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCodeBatchs\n<公共请求参数>\n\n{\n \"MerchantId\": \"pn30msjjxwga\",\n \"ProductId\": \"\",\n \"Keyword\": \"\",\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
|
167
|
+
"output": "{\n \"Response\": {\n \"CodeBatchs\": [\n {\n \"BatchId\": \"20241022112952826\",\n \"CorpId\": 10000,\n \"BatchCode\": \"20241022112952826\",\n \"CodeCnt\": 250,\n \"MerchantId\": \"pn30msjjxwga\",\n \"ProductId\": \"97zu51y30awe\",\n \"BatchType\": 1,\n \"Remark\": \"优质产品批次\",\n \"MpTpl\": \"base\",\n \"Status\": 1,\n \"CreateTime\": \"2023-10-01T11:30:50.321Z\",\n \"UpdateTime\": \"2023-10-05T15:50:45.212Z\",\n \"MerchantName\": \"优品商贸\",\n \"ProductName\": \"高档家用电器\",\n \"Ext\": {},\n \"TplName\": \"默认\",\n \"Job\": {\n \"JobId\": 7520,\n \"Status\": \"完成\"\n },\n \"ProductionDate\": \"2023-09-30T00:00:00.000Z\",\n \"ValidDate\": \"2023-12-31T00:00:00.000Z\",\n \"Attrs\": []\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"f01dbe8b-09ad-4d75-bbde-30cf67c1f4b7\"\n }\n}",
|
168
168
|
"title": "查询批次列表"
|
169
169
|
}
|
170
170
|
],
|
@@ -187,8 +187,8 @@
|
|
187
187
|
"DescribeCodePacks": [
|
188
188
|
{
|
189
189
|
"document": "",
|
190
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCodePacks\n<公共请求参数>\n\n{\n \"Keyword\": \"
|
191
|
-
"output": "{\n \"Response\": {\n \"CodePacks\": [\n {\n \"PackId\": \"
|
190
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCodePacks\n<公共请求参数>\n\n{\n \"Keyword\": \"关键词\",\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
|
191
|
+
"output": "{\n \"Response\": {\n \"CodePacks\": [\n {\n \"PackId\": \"码包ID字符串\",\n \"CorpId\": 10000,\n \"MerchantId\": \"eqdmnz7020bmtvi9\",\n \"CreateTime\": \"2021-12-01T06:48:45.000Z\",\n \"UpdateTime\": \"2021-12-01T06:48:45.000Z\",\n \"Status\": \"done\",\n \"Log\": \"日志\",\n \"CreateUser\": \"10000\",\n \"Amount\": 10,\n \"CodeLength\": 32,\n \"CodeType\": \"0\",\n \"Cipher\": 0,\n \"TextUrl\": \"https://xxx.xxx.com/texturl\",\n \"PackUrl\": \"https://xxx.xxx.com/packurl\",\n \"MerchantName\": \"商户名称\",\n \"RuleType\": 0,\n \"CustomId\": \"自定义码规则ID\",\n \"PackType\": 0,\n \"PackLevel\": 1,\n \"PackSpec\": [\n {\n \"Level\": 1,\n \"Rate\": 1,\n \"Amount\": 1,\n \"CustomId\": \"用户自定义规则ID\",\n \"CodeParts\": [\n {\n \"Name\": \"名称\",\n \"Type\": \"类型\",\n \"Value\": \"具体的值\",\n \"Length\": 8,\n \"Ext\": \"\"\n }\n ],\n \"Unit\": \"个\",\n \"SceneCode\": 0\n }\n ],\n \"ProductName\": \"abc\",\n \"ProductSpecification\": \"abc\",\n \"ProductId\": \"abc\",\n \"RelateType\": 0\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"14b0a199-42cc-405c-984a-b5bcffe5600\"\n }\n}",
|
192
192
|
"title": "查询码包列表"
|
193
193
|
}
|
194
194
|
],
|
@@ -204,7 +204,7 @@
|
|
204
204
|
{
|
205
205
|
"document": "",
|
206
206
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCorpQuotas\n<公共请求参数>\n\n{\n \"Keyword\": \"10000\"\n}",
|
207
|
-
"output": "{\n \"Response\": {\n \"CorpQuotas\": [\n {\n \"CorpId\":
|
207
|
+
"output": "{\n \"Response\": {\n \"CorpQuotas\": [\n {\n \"CorpId\": 10000,\n \"UsageQuota\": {\n \"SaleCnt\": 500,\n \"UpdateTime\": \"2024-10-30T07:16:21.265Z\",\n \"CorpId\": 10000,\n \"ChainCnt\": 50,\n \"FactoryCnt\": 10,\n \"RiskCnt\": 30,\n \"TrackCnt\": 45,\n \"ItemCnt\": 400\n },\n \"Quota\": {\n \"CorpId\": 10000,\n \"TrackQuota\": 1500,\n \"FactoryQuota\": 200,\n \"QuotaId\": 110,\n \"SaleQuota\": 2000,\n \"Version\": \"lite\",\n \"ItemQuota\": 1800,\n \"StartTime\": \"2024-10-01T07:16:21.265Z\",\n \"Services\": [\n \"track\"\n ],\n \"RiskQuota\": 1200,\n \"EndTime\": \"2025-10-01T07:16:21.265Z\",\n \"TrackType\": 1,\n \"ChainQuota\": 1400,\n \"ProductCertify\": 0\n },\n \"CorpName\": \"企业名称\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
208
208
|
"title": "查询渠道商下属企业额度使用情况"
|
209
209
|
}
|
210
210
|
],
|
@@ -220,7 +220,7 @@
|
|
220
220
|
{
|
221
221
|
"document": "",
|
222
222
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCustomRules\n<公共请求参数>\n\n{\n \"Keyword\": \"\",\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
|
223
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"CustomRules\": [\n {\n \"CustomId\": \"gss06ki67crv\",\n \"Name\": \"demo2\",\n \"CorpId\": 10000,\n \"MerchantId\": \"6b1tvtwfve3n\",\n \"CodeLength\": 16,\n \"Status\": 1,\n \"CodeParts\": [],\n \"CreateTime\": \"2022-09-19T11:46:53.000Z\",\n \"UpdateTime\": \"2022-09-19T11:48:06.000Z\"\n }\n ],\n \"RequestId\": \"
|
223
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"CustomRules\": [\n {\n \"CustomId\": \"gss06ki67crv\",\n \"Name\": \"demo2\",\n \"CorpId\": 10000,\n \"MerchantId\": \"6b1tvtwfve3n\",\n \"CodeLength\": 16,\n \"Status\": 1,\n \"CodeParts\": [],\n \"CreateTime\": \"2022-09-19T11:46:53.000Z\",\n \"UpdateTime\": \"2022-09-19T11:48:06.000Z\"\n }\n ],\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
224
224
|
"title": "查自定义码规则列表"
|
225
225
|
}
|
226
226
|
],
|
@@ -236,15 +236,15 @@
|
|
236
236
|
{
|
237
237
|
"document": "",
|
238
238
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMerchantById\n<公共请求参数>\n\n{\n \"MerchantId\": \"eqdmnz7020bmtvi9\"\n}",
|
239
|
-
"output": "{\n \"Response\": {\n \"Merchant\": {\n \"MerchantId\": \"eqdmnz7020bmtvi9\",\n \"CorpId\": 10000,\n \"Name\": \"demo\",\n \"Remark\": \"abcdd\",\n \"CreateTime\": \"2021-11-30T08:19:40.000Z\",\n \"UpdateTime\": \"2021-12-06T08:09:17.000Z\",\n \"CodeRule\": \"
|
239
|
+
"output": "{\n \"Response\": {\n \"Merchant\": {\n \"MerchantId\": \"eqdmnz7020bmtvi9\",\n \"CorpId\": 10000,\n \"Name\": \"demo\",\n \"Remark\": \"abcdd\",\n \"CreateTime\": \"2021-11-30T08:19:40.000Z\",\n \"UpdateTime\": \"2021-12-06T08:09:17.000Z\",\n \"CodeRule\": \"https://xxx.xxx.com/qr/eqdmnz7020bmtvi9_(.*)\",\n \"CodeType\": 0,\n \"CodeUrl\": \"https://xxx.xxx.com\"\n },\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
240
240
|
"title": "查询商户信息"
|
241
241
|
}
|
242
242
|
],
|
243
243
|
"DescribeMerchants": [
|
244
244
|
{
|
245
245
|
"document": "",
|
246
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMerchants\n<公共请求参数>\n\n{\n \"Name\": \"
|
247
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
246
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMerchants\n<公共请求参数>\n\n{\n \"Name\": \"商户名称\",\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
|
247
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Merchants\": [\n {\n \"Remark\": \"商户备注信息\",\n \"Name\": \"商户名称\",\n \"CorpId\": 10000,\n \"UpdateTime\": \"2023-08-15T02:47:35.000Z\",\n \"MerchantId\": \"abc\",\n \"CodeRule\": \"https://xxx.xxx.com/qr/(.*)\",\n \"CreateTime\": \"2023-08-15T02:47:35.000Z\",\n \"CodeType\": 0,\n \"CodeUrl\": \"https://xxx.xxx.com\"\n }\n ],\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
248
248
|
"title": "查询商户列表"
|
249
249
|
}
|
250
250
|
],
|
@@ -252,7 +252,7 @@
|
|
252
252
|
{
|
253
253
|
"document": "",
|
254
254
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePlanQRCodeScanRecords\n<公共请求参数>\n\n{\n \"StartTime\": \"2023-10-10 00:00:00\",\n \"EndTime\": \"2023-10-10 23:59:59\",\n \"PageNo\": 1,\n \"PageSize\": 10\n}",
|
255
|
-
"output": "{\n \"Response\": {\n \"Ret\": 0,\n \"Total\": 1,\n \"Data\": [\n {\n \"Url\": \"
|
255
|
+
"output": "{\n \"Response\": {\n \"Ret\": 0,\n \"Total\": 1,\n \"Data\": [\n {\n \"Url\": \"https://anxin.qq.com/q99j9ovp5c6sok7l5g\",\n \"OpenId\": \"g3ST2ZYcreGP9jpqgKHOjuB1e0GrlI0t\",\n \"ScanTime\": \"2023-10-10 00:00:00\",\n \"Ip\": \"192.168.1.1\",\n \"Country\": \"中国\",\n \"Province\": \"广东\",\n \"City\": \"广州\"\n }\n ],\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
256
256
|
"title": "查询安心计划二维码扫码记录"
|
257
257
|
}
|
258
258
|
],
|
@@ -260,7 +260,7 @@
|
|
260
260
|
{
|
261
261
|
"document": "",
|
262
262
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePlanQRCodes\n<公共请求参数>\n\n{\n \"PlanId\": 67087,\n \"StartTime\": \"2023-10-10 00:00:00\",\n \"EndTime\": \"2023-10-10 23:59:59\",\n \"PageNo\": 1,\n \"PageSize\": 10\n}",
|
263
|
-
"output": "{\n \"Response\": {\n \"Ret\": 0,\n \"Total\": 1,\n \"Data\": [\n {\n \"Url\": \"
|
263
|
+
"output": "{\n \"Response\": {\n \"Ret\": 0,\n \"Total\": 1,\n \"Data\": [\n {\n \"Url\": \"https://anxin.qq.com/q99j9ovp5c6sok7l5g\",\n \"Status\": 1\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
264
264
|
"title": "查询安心计划二维码列表"
|
265
265
|
}
|
266
266
|
],
|
@@ -268,15 +268,15 @@
|
|
268
268
|
{
|
269
269
|
"document": "",
|
270
270
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProductById\n<公共请求参数>\n\n{\n \"ProductId\": \"eqdmnz7020bmtvi9\"\n}",
|
271
|
-
"output": "{\n \"Response\": {\n \"Product\": {\n \"ProductId\": \"85tfp1sn78r9m1568i\",\n \"CorpId\": 10000,\n \"MerchantId\": \"eqdmnz7020bmtvi9\",\n \"ProductCode\": \"85tfp1sn78r9m1568i\",\n \"Name\": \"demo5\",\n \"Specification\": \"100ml\",\n \"Remark\": \"\",\n \"Logo\": [],\n \"CreateTime\": \"2021-11-30T09:00:33.000Z\",\n \"UpdateTime\": \"2021-
|
271
|
+
"output": "{\n \"Response\": {\n \"Product\": {\n \"ProductId\": \"85tfp1sn78r9m1568i\",\n \"CorpId\": 10000,\n \"MerchantId\": \"eqdmnz7020bmtvi9\",\n \"ProductCode\": \"85tfp1sn78r9m1568i\",\n \"Name\": \"demo5\",\n \"Specification\": \"100ml\",\n \"Remark\": \"desc\",\n \"Logo\": [\n \"https://xxx.xxx.com/logo.png\"\n ],\n \"CreateTime\": \"2021-11-30T09:00:33.000Z\",\n \"UpdateTime\": \"2021-11-30T09:16:23.000Z\",\n \"Ext\": {\n \"Value\": \"xxx\"\n },\n \"MerchantName\": \"demo\",\n \"CertState\": 1\n },\n \"RequestId\": \"06356857-6961-4b9d-bf1e-df5e0311358e\"\n }\n}",
|
272
272
|
"title": "查询商品信息"
|
273
273
|
}
|
274
274
|
],
|
275
275
|
"DescribeProducts": [
|
276
276
|
{
|
277
277
|
"document": "",
|
278
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProducts\n<公共请求参数>\n\n{\n \"Name\": \"
|
279
|
-
"output": "{\n \"Response\": {\n \"Products\": [\n {\n \"ProductId\": \"85tfp1sn78r9m1568i\",\n \"CorpId\": 10000,\n \"MerchantId\": \"eqdmnz7020bmtvi9\",\n \"ProductCode\": \"85tfp1sn78r9m1568i\",\n \"Name\": \"demo5\",\n \"Specification\": \"100ml\",\n \"Remark\": \"desc\",\n \"Logo\": [\n \"
|
278
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProducts\n<公共请求参数>\n\n{\n \"Name\": \"商品名称\",\n \"MerchantId\": \"商户ID\",\n \"PageSize\": 10,\n \"PageNumber\": 1,\n \"CertState\": 1\n}",
|
279
|
+
"output": "{\n \"Response\": {\n \"Products\": [\n {\n \"ProductId\": \"85tfp1sn78r9m1568i\",\n \"CorpId\": 10000,\n \"MerchantId\": \"eqdmnz7020bmtvi9\",\n \"ProductCode\": \"85tfp1sn78r9m1568i\",\n \"Name\": \"demo5\",\n \"Specification\": \"100ml\",\n \"Remark\": \"desc\",\n \"Logo\": [\n \"https://xxx.xxx.com/logo.png\"\n ],\n \"CreateTime\": \"2021-11-30T09:00:33.000Z\",\n \"UpdateTime\": \"2021-11-30T09:16:23.000Z\",\n \"Ext\": {\n \"Value\": \"xxx\"\n },\n \"MerchantName\": \"demo\",\n \"CertState\": 1\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
280
280
|
"title": "查询商品列表"
|
281
281
|
}
|
282
282
|
],
|
@@ -284,7 +284,7 @@
|
|
284
284
|
{
|
285
285
|
"document": "在同步日志的场景,通常只需要定时同步新增的日志,指定上一次请求时最后一行ID即可(初次请求时可以传 0)\n例如:AfterLogId = 100, 表示查 LogId > 100 的日志,在返回空数组时表示没有新的日志了",
|
286
286
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRawScanLogs\n<公共请求参数>\n\n{\n \"PageSize\": 100,\n \"PageNumber\": 1,\n \"AfterLogId\": 100\n}",
|
287
|
-
"output": "{\n \"Response\": {\n \"ScanLogs\": [\n {\n \"LogId\": 101,\n \"Openid\": \"
|
287
|
+
"output": "{\n \"Response\": {\n \"ScanLogs\": [\n {\n \"LogId\": 101,\n \"Openid\": \"g3ST2ZYcreGP9jpqgKHOjuB1e0GrlI0t\",\n \"CreateTime\": \"2024-10-30T07:16:21.265Z\",\n \"Code\": \"https://anxin.qq.com/q99j9ovp5c6sok7l5g\",\n \"CorpId\": 10000,\n \"MerchantId\": \"pn30msjjxwga\",\n \"ProductId\": \"97zu51y30awe\",\n \"BatchId\": \"20241022112952826\",\n \"Province\": \"广东省\",\n \"City\": \"深圳市\",\n \"District\": \"福田区\"\n }\n ],\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
288
288
|
"title": "从某个日志开始查询新增的扫码日志"
|
289
289
|
}
|
290
290
|
],
|
@@ -292,14 +292,14 @@
|
|
292
292
|
{
|
293
293
|
"document": "查询扫描明细,查询参数 Code, Openid 至少需要一个",
|
294
294
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScanLogs\n<公共请求参数>\n\n{\n \"Code\": \"https://anxin.m.qq.com/qr/eqdmnz70000243813742005003\"\n}",
|
295
|
-
"output": "{\n \"Response\": {\n \"Products\": [
|
295
|
+
"output": "{\n \"Response\": {\n \"Products\": [],\n \"TotalCount\": 1,\n \"ScanLogs\": [\n {\n \"LogId\": 1,\n \"Openid\": \"g3ST2ZYcreGP9jpqgKHOjuB1e0GrlI0t\",\n \"Nickname\": \"张三\",\n \"CreateTime\": \"2024-10-22T14:00:00Z\",\n \"Code\": \"https://anxin.qq.com/q99j9ovp5c6sok7l5g\",\n \"CorpId\": 10000,\n \"MerchantId\": \"pn30msjjxwga\",\n \"ProductId\": \"97zu51y30awe\",\n \"Ip\": \"192.168.1.1\",\n \"Country\": \"中国\",\n \"Province\": \"广东\",\n \"City\": \"深圳\",\n \"District\": \"南山区\",\n \"Unionid\": \"ue1Hd0ne2dzIy1oE\",\n \"First\": 1,\n \"BatchId\": \"20241022112952826\",\n \"Type\": 1,\n \"MerchantName\": \"商户名称\",\n \"ProductName\": \"产品名称\",\n \"ProductLogo\": \"\",\n \"Status\": 1,\n \"Verify\": 1\n }\n ],\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
296
296
|
"title": "查询扫描记录"
|
297
297
|
}
|
298
298
|
],
|
299
299
|
"DescribeScanStats": [
|
300
300
|
{
|
301
301
|
"document": "分页查询某批次的扫码统计记录",
|
302
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScanStats\n<公共请求参数>\n\n{\n \"BatchId\": \"
|
302
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScanStats\n<公共请求参数>\n\n{\n \"BatchId\": \"20241022112952826\",\n \"CorpId\": 10000,\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
|
303
303
|
"output": "{\n \"Response\": {\n \"ScanStats\": [],\n \"RequestId\": \"RequestId\"\n }\n}",
|
304
304
|
"title": "查询扫码统计记录"
|
305
305
|
}
|
@@ -308,7 +308,7 @@
|
|
308
308
|
{
|
309
309
|
"document": "查询临时Token,用于上传",
|
310
310
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTmpToken\n<公共请求参数>\n\n{}",
|
311
|
-
"output": "{\n \"Response\": {\n \"Token\": \"
|
311
|
+
"output": "{\n \"Response\": {\n \"Token\": \"g3ST2ZYcreGP9jpqgKHOjuB1e0GrlI0t\",\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
312
312
|
"title": "查询临时Token"
|
313
313
|
}
|
314
314
|
],
|
@@ -316,7 +316,7 @@
|
|
316
316
|
{
|
317
317
|
"document": "根据ID查询码",
|
318
318
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTraceCodeById\n<公共请求参数>\n\n{\n \"Code\": \"https://anxin.m.qq.com/qr/eqdmnz7020bmtvi9_000243813742005003\"\n}",
|
319
|
-
"output": "{\n \"Response\": {\n \"TraceCode\": {\n \"Code\": \"
|
319
|
+
"output": "{\n \"Response\": {\n \"TraceCode\": {\n \"Code\": \"https://anxin.qq.com/q99j9ovp5c6sok7l5g\",\n \"CorpId\": 10000,\n \"PackId\": \"pn30msjjxwd2\",\n \"BatchId\": \"20241022112952826\",\n \"MerchantId\": \"pn30msjjxwga\",\n \"ProductId\": \"97zu51y30awe\",\n \"Status\": 1,\n \"CreateTime\": \"2024-10-30T07:16:21.265Z\",\n \"UpdateTime\": \"2024-10-30T07:16:21.265Z\",\n \"MerchantName\": \"商家A\",\n \"ProductName\": \"产品A\",\n \"AgentId\": 1,\n \"Level\": 1\n },\n \"CodePath\": [\n \"https://anxin.qq.com/q99j9ovp3336sok7l5\"\n ],\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
320
320
|
"title": "根据ID查询码"
|
321
321
|
}
|
322
322
|
],
|
@@ -324,7 +324,7 @@
|
|
324
324
|
{
|
325
325
|
"document": "",
|
326
326
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTraceCodes\n<公共请求参数>\n\n{\n \"Keyword\": \"xfetmgoiky2nms6nk8\",\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
|
327
|
-
"output": "{\n \"Response\": {\n \"TraceCodes\": [\n {\n \"Code\": \"
|
327
|
+
"output": "{\n \"Response\": {\n \"TraceCodes\": [\n {\n \"Code\": \"https://anxin.qq.com/q99j9ovp5c6sok7l5g\",\n \"CorpId\": 10000,\n \"PackId\": \"pn30msjjxdx\",\n \"BatchId\": \"20241022112952826\",\n \"MerchantId\": \"pn30msjjxwga\",\n \"ProductId\": \"97zu51y30awe\",\n \"Status\": 1,\n \"CreateTime\": \"2024-10-30T07:16:21.265Z\",\n \"UpdateTime\": \"2024-10-30T07:16:21.265Z\",\n \"MerchantName\": \"商家A\",\n \"ProductName\": \"产品A\",\n \"AgentId\": 1,\n \"Level\": 1,\n \"PackSpec\": [\n {\n \"Level\": 1,\n \"Rate\": 1,\n \"Amount\": 100,\n \"CustomId\": \"97zu51y30ID1\",\n \"CodeParts\": [\n {\n \"Name\": \"唯一标识\",\n \"Type\": \"1\",\n \"Value\": \"值A\",\n \"Length\": 5,\n \"Ext\": \"\"\n }\n ],\n \"Unit\": \"单位A\",\n \"SceneCode\": 0\n }\n ]\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
328
328
|
"title": "查询标识列表"
|
329
329
|
}
|
330
330
|
],
|
@@ -332,38 +332,38 @@
|
|
332
332
|
{
|
333
333
|
"document": "",
|
334
334
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTraceDataById\n<公共请求参数>\n\n{\n \"Id\": \"xfetmgoiky2nms6nk8\"\n}",
|
335
|
-
"output": "{\n \"Response\": {\n \"TraceData\": {\n \"
|
335
|
+
"output": "{\n \"Response\": {\n \"TraceData\": {\n \"TraceId\": \"1mO3n3W0LDhAaADGwHjj3\",\n \"TraceItems\": [\n {\n \"Key\": \"name\",\n \"Name\": \"名称\",\n \"Value\": \"xltest\",\n \"Type\": \"text\",\n \"ReadOnly\": true,\n \"Hidden\": false,\n \"Values\": [],\n \"Ext\": \"\",\n \"Attrs\": [],\n \"List\": []\n },\n {\n \"Key\": \"avatar\",\n \"Name\": \"主图\",\n \"Value\": \"\",\n \"Type\": \"image\",\n \"ReadOnly\": false,\n \"Hidden\": false,\n \"Values\": [\n \"https://webcdn.m.qq.com/anxin/public/4054d20b71d30db847492eecc8057e90.jpg\"\n ],\n \"Ext\": \"\",\n \"Attrs\": [],\n \"List\": []\n },\n {\n \"Key\": \"message\",\n \"Name\": \"提示文本\",\n \"Value\": \"商品信息溯源详情\",\n \"Type\": \"text\",\n \"ReadOnly\": false,\n \"Hidden\": false,\n \"Values\": [],\n \"Ext\": \"\",\n \"Attrs\": [],\n \"List\": []\n },\n {\n \"Key\": \"desc\",\n \"Name\": \"卡片描述\",\n \"Value\": \"二维码已完成扫码,请查看信息\",\n \"Type\": \"text\",\n \"ReadOnly\": false,\n \"Hidden\": false,\n \"Values\": [],\n \"Ext\": \"\",\n \"Attrs\": [],\n \"List\": []\n }\n ],\n \"PhaseName\": \"设计阶段\",\n \"PhaseData\": {\n \"AppId\": \"\",\n \"AppName\": \"\",\n \"AppPath\": \"\",\n \"HeadEnabled\": false,\n \"HeadTitle\": \"\",\n \"Key\": \"\"\n },\n \"Status\": 1,\n \"Rank\": 1,\n \"Type\": 1,\n \"Code\": \"https://anxin.qq.com/q99j9ovp5c6sok7l5g\",\n \"Phase\": 2,\n \"TraceTime\": \"2024-10-30T07:16:21.265Z\",\n \"CreateTime\": \"2024-10-30T07:16:21.265Z\",\n \"ChainStatus\": 1,\n \"ChainTime\": \"2024-10-30T07:16:21.265Z\",\n \"ChainData\": {\n \"BlockTime\": \"2024-03-27T03:33:21.000Z\",\n \"BlockHash\": \"129fd196158b497b88bcb02ac7b34f3729c806e925074b448bad35f3da960072\",\n \"BlockHeight\": \"684\"\n },\n \"CorpId\": 10000\n },\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
336
336
|
"title": "查询溯源信息"
|
337
337
|
}
|
338
338
|
],
|
339
339
|
"DescribeTraceDataList": [
|
340
340
|
{
|
341
|
-
"document": "",
|
342
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTraceDataList\n<公共请求参数>\n\n{\n \"BatchId\": \"xfetmgoiky2nms6nk8\",\n \"Code\": \"\"
|
343
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TraceDataList\": [\n {\n \"
|
341
|
+
"document": "查询某个批次的溯源信息",
|
342
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTraceDataList\n<公共请求参数>\n\n{\n \"BatchId\": \"xfetmgoiky2nms6nk8\",\n \"Code\": \"\"\n}",
|
343
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TraceDataList\": [\n {\n \"TraceId\": \"1mO3n3W0LDhAaADGwHjj3\",\n \"TraceItems\": [\n {\n \"Key\": \"name\",\n \"Name\": \"名称\",\n \"Value\": \"xltest\",\n \"Type\": \"text\",\n \"ReadOnly\": true,\n \"Hidden\": false,\n \"Values\": [],\n \"Ext\": \"\",\n \"Attrs\": [],\n \"List\": []\n },\n {\n \"Key\": \"avatar\",\n \"Name\": \"主图\",\n \"Value\": \"\",\n \"Type\": \"image\",\n \"ReadOnly\": false,\n \"Hidden\": false,\n \"Values\": [\n \"https://webcdn.m.qq.com/anxin/public/4054d20b71d30db847492eecc8057e90.jpg\"\n ],\n \"Ext\": \"\",\n \"Attrs\": [],\n \"List\": []\n },\n {\n \"Key\": \"message\",\n \"Name\": \"提示文本\",\n \"Value\": \"商品信息溯源详情\",\n \"Type\": \"text\",\n \"ReadOnly\": false,\n \"Hidden\": false,\n \"Values\": [],\n \"Ext\": \"\",\n \"Attrs\": [],\n \"List\": []\n },\n {\n \"Key\": \"desc\",\n \"Name\": \"卡片描述\",\n \"Value\": \"二维码已完成扫码,请查看信息\",\n \"Type\": \"text\",\n \"ReadOnly\": false,\n \"Hidden\": false,\n \"Values\": [],\n \"Ext\": \"\",\n \"Attrs\": [],\n \"List\": []\n }\n ],\n \"PhaseName\": \"设计阶段\",\n \"PhaseData\": {\n \"AppId\": \"\",\n \"AppName\": \"\",\n \"AppPath\": \"\",\n \"HeadEnabled\": false,\n \"HeadTitle\": \"\",\n \"Key\": \"\"\n },\n \"Status\": 1,\n \"Rank\": 1,\n \"Type\": 1,\n \"Code\": \"https://anxin.qq.com/q99j9ovp5c6sok7l5g\",\n \"Phase\": 2,\n \"TraceTime\": \"2024-10-30T07:16:21.265Z\",\n \"CreateTime\": \"2024-10-30T07:16:21.265Z\",\n \"ChainStatus\": 1,\n \"ChainTime\": \"2024-10-30T07:16:21.265Z\",\n \"ChainData\": {\n \"BlockTime\": \"2024-03-27T03:33:21.000Z\",\n \"BlockHash\": \"129fd196158b497b88bcb02ac7b34f3729c806e925074b448bad35f3da960072\",\n \"BlockHeight\": \"684\"\n },\n \"CorpId\": 10000\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
344
344
|
"title": "查询溯源信息"
|
345
345
|
}
|
346
346
|
],
|
347
347
|
"EffectFeedback": [
|
348
348
|
{
|
349
349
|
"document": "接收客户反馈的各环节数据\n\n",
|
350
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EffectFeedback\n<公共请求参数>\n\n{\n \"BusinessSecurityData\": {\n \"IsAuthorized\": 0,\n \"EncryptMethod\": 0,\n \"EncryptMode\": 0,\n \"PaddingType\": 0,\n \"EncryptData\": \"
|
351
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"Code\": 0,\n \"Message\": \"
|
350
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EffectFeedback\n<公共请求参数>\n\n{\n \"BusinessSecurityData\": {\n \"IsAuthorized\": 0,\n \"EncryptMethod\": 0,\n \"EncryptMode\": 0,\n \"PaddingType\": 0,\n \"EncryptData\": \"MjAyNDEwMjIxMTI5NTI4MjY=\"\n }\n}",
|
351
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Code\": 0,\n \"Message\": \"操作成功\",\n \"Value\": \"内容\"\n },\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
352
352
|
"title": "效果数据反馈"
|
353
353
|
}
|
354
354
|
],
|
355
355
|
"ModifyCodeBatch": [
|
356
356
|
{
|
357
357
|
"document": "激活批次",
|
358
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCodeBatch\n<公共请求参数>\n\n{\n \"BatchId\": \"
|
359
|
-
"output": "{\n \"Response\": {\n \"BatchId\": \"
|
358
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCodeBatch\n<公共请求参数>\n\n{\n \"BatchId\": \"20121212000001\",\n \"Status\": 1\n}",
|
359
|
+
"output": "{\n \"Response\": {\n \"BatchId\": \"20121212000001\",\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
360
360
|
"title": "修改批次状态"
|
361
361
|
}
|
362
362
|
],
|
363
363
|
"ModifyCustomRule": [
|
364
364
|
{
|
365
365
|
"document": "",
|
366
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCustomRule\n<公共请求参数>\n\n{\n \"Name\": \"
|
366
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCustomRule\n<公共请求参数>\n\n{\n \"Name\": \"自定义规则\",\n \"CustomId\": \"awai9g3de7p3t\",\n \"CodeParts\": [\n {\n \"Type\": \"1\",\n \"Name\": \"防伪ID\",\n \"Value\": \"3\",\n \"Length\": 14,\n \"Ext\": \"\"\n }\n ],\n \"CodeLength\": 10\n}",
|
367
367
|
"output": "{\n \"Response\": {\n \"CustomId\": \"awai9g3de7p3t\",\n \"RequestId\": \"233c09fe-7ba7-42e1-8801-acaca177582b\"\n }\n}",
|
368
368
|
"title": "修改自定义码规则"
|
369
369
|
}
|
@@ -387,7 +387,7 @@
|
|
387
387
|
"ModifyProduct": [
|
388
388
|
{
|
389
389
|
"document": "",
|
390
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProduct\n<公共请求参数>\n\n{\n \"Name\": \"demo5\",\n \"ProductId\": \"85tfp1sn78r9m1568i\",\n \"Remark\": \"
|
390
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProduct\n<公共请求参数>\n\n{\n \"Name\": \"demo5\",\n \"ProductId\": \"85tfp1sn78r9m1568i\",\n \"Remark\": \"商品备注\",\n \"Specification\": \"100ml\",\n \"Logo\": [\n \"https://xxx.xxx.com/logo.png\"\n ]\n}",
|
391
391
|
"output": "{\n \"Response\": {\n \"ProductId\": \"85tfp1sn78r9m1568i\",\n \"RequestId\": \"43ad9b9f-ccc0-4051-a482-34da3422ceab\"\n }\n}",
|
392
392
|
"title": "编辑商品"
|
393
393
|
}
|
@@ -396,39 +396,39 @@
|
|
396
396
|
{
|
397
397
|
"document": "修改码包",
|
398
398
|
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTraceCode\n<公共请求参数>\n\n{\n \"Code\": \"https://anxin.m.qq.com/qr/eqdmnz7020bmtvi9_000243813742005003\",\n \"Status\": 0\n}",
|
399
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
399
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
400
400
|
"title": "修改码包"
|
401
401
|
}
|
402
402
|
],
|
403
403
|
"ModifyTraceCodeUnlink": [
|
404
404
|
{
|
405
405
|
"document": "解绑溯源码和批次的关系",
|
406
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTraceCodeUnlink\n<公共请求参数>\n\n{\n \"BatchId\": \"
|
407
|
-
"output": "{\n \"Response\": {\n \"UnlinkCnt\": 1,\n \"CodeCnt\": 1,\n \"BatchId\": \"
|
406
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTraceCodeUnlink\n<公共请求参数>\n\n{\n \"BatchId\": \"20241022112952826\",\n \"Codes\": [\n \"https://anxin.m.qq.com/qr/3a9avhhvk4oyqb\"\n ]\n}",
|
407
|
+
"output": "{\n \"Response\": {\n \"UnlinkCnt\": 1,\n \"CodeCnt\": 1,\n \"BatchId\": \"20241022112952826\",\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
408
408
|
"title": "解绑溯源码和批次的关系"
|
409
409
|
}
|
410
410
|
],
|
411
411
|
"ModifyTraceData": [
|
412
412
|
{
|
413
413
|
"document": "修改部分溯源信息",
|
414
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTraceData\n<公共请求参数>\n\n{\n \"TraceId\": \"
|
415
|
-
"output": "{\n \"Response\": {\n \"TraceId\": \"
|
414
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTraceData\n<公共请求参数>\n\n{\n \"TraceId\": \"1mO3n3W0LDhAaADGwHjj3\",\n \"BatchId\": \"20241022112952826\",\n \"TaskId\": \"2021091500001\",\n \"TraceItems\": [\n {\n \"Key\": \"name\",\n \"Name\": \"名称\",\n \"Value\": \"xltest\",\n \"Type\": \"text\",\n \"ReadOnly\": true,\n \"Hidden\": false,\n \"Values\": []\n },\n {\n \"Key\": \"avatar\",\n \"Name\": \"主图\",\n \"Value\": \"\",\n \"Type\": \"image\",\n \"ReadOnly\": false,\n \"Hidden\": false,\n \"Values\": [\n \"https://webcdn.m.qq.com/anxin/public/4054d20b71d30db847492eecc8057e90.jpg\"\n ]\n },\n {\n \"Key\": \"message\",\n \"Name\": \"提示文本\",\n \"Value\": \"商品信息溯源详情\",\n \"Type\": \"text\",\n \"ReadOnly\": false,\n \"Hidden\": false,\n \"Values\": []\n },\n {\n \"Key\": \"desc\",\n \"Name\": \"卡片描述\",\n \"Value\": \"二维码已完成扫码,请查看信息\",\n \"Type\": \"text\",\n \"ReadOnly\": false,\n \"Hidden\": false,\n \"Values\": []\n }\n ],\n \"PhaseName\": \"设计阶段\",\n \"PhaseData\": {\n \"AppId\": \"\",\n \"AppName\": \"\",\n \"AppPath\": \"\",\n \"HeadEnabled\": false,\n \"HeadTitle\": \"\",\n \"Key\": \"\"\n },\n \"Status\": 1,\n \"Rank\": 1,\n \"Type\": 1,\n \"Code\": \"https://anxin.qq.com/q99j9ovp5c6sok7l5g\",\n \"Phase\": 2,\n \"TraceTime\": \"2024-10-30T07:16:21.265Z\",\n \"CreateTime\": \"2024-10-30T07:16:21.265Z\",\n \"ChainStatus\": 1,\n \"ChainTime\": \"2024-10-30T07:16:21.265Z\",\n \"ChainData\": {\n \"BlockTime\": \"2024-03-27T03:33:21.000Z\",\n \"BlockHash\": \"129fd196158b497b88bcb02ac7b34f3729c806e925074b448bad35f3da960072\",\n \"BlockHeight\": \"684\"\n },\n \"CorpId\": 10000\n}",
|
415
|
+
"output": "{\n \"Response\": {\n \"TraceId\": \"1mO3n3W0LDhAaADGwHjj3\",\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
416
416
|
"title": "修改溯源信息"
|
417
417
|
}
|
418
418
|
],
|
419
419
|
"ModifyTraceDataRanks": [
|
420
420
|
{
|
421
421
|
"document": "",
|
422
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTraceDataRanks\n<公共请求参数>\n\n{\n \"BatchId\": \"
|
423
|
-
"output": "{\n \"Response\": {\n \"BatchId\": \"
|
422
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTraceDataRanks\n<公共请求参数>\n\n{\n \"BatchId\": \"20241022112952826\",\n \"TraceIds\": [\n \"1mO3n3W0LDhAaADGwHjj3\"\n ]\n}",
|
423
|
+
"output": "{\n \"Response\": {\n \"BatchId\": \"20241022112952826\",\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
424
424
|
"title": "修改溯源信息的排序"
|
425
425
|
}
|
426
426
|
],
|
427
427
|
"ReportBatchCallbackStatus": [
|
428
428
|
{
|
429
429
|
"document": "接收离线筛选包回执,用于效果统计和分析。",
|
430
|
-
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReportBatchCallbackStatus\n<公共请求参数>\n\n{\n \"BusinessSecurityData\": {\n \"IsAuthorized\":
|
431
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"Code\": 0,\n \"Message\": \"
|
430
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReportBatchCallbackStatus\n<公共请求参数>\n\n{\n \"BusinessSecurityData\": {\n \"IsAuthorized\": 1,\n \"EncryptMethod\": 2,\n \"EncryptMode\": 1,\n \"PaddingType\": 1,\n \"EncryptData\": \"hQDFcd2Gt1\"\n }\n}",
|
431
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Code\": 0,\n \"Message\": \"操作成功\",\n \"Value\": \"用户信息已获取\"\n },\n \"RequestId\": \"eaa3ccac-d2f5-4df0-a8b3-7b51324e9283\"\n }\n}",
|
432
432
|
"title": "离线筛选包数据推送"
|
433
433
|
}
|
434
434
|
]
|