tccli 3.0.1216.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.
Files changed (252) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argparser.py +1 -1
  3. tccli/command.py +2 -2
  4. tccli/credentials.py +25 -0
  5. tccli/main.py +6 -2
  6. tccli/plugins/sso/__init__.py +61 -0
  7. tccli/plugins/sso/configs.py +4 -0
  8. tccli/plugins/sso/configure.py +45 -0
  9. tccli/plugins/sso/login.py +144 -0
  10. tccli/plugins/sso/logout.py +21 -0
  11. tccli/plugins/sso/terminal.py +161 -0
  12. tccli/plugins/sso/texts.py +40 -0
  13. tccli/services/__init__.py +6 -0
  14. tccli/services/acp/v20220105/api.json +7 -7
  15. tccli/services/acp/v20220105/examples.json +2 -2
  16. tccli/services/aiart/v20221229/api.json +29 -29
  17. tccli/services/aiart/v20221229/examples.json +8 -8
  18. tccli/services/apigateway/v20180808/api.json +18 -17
  19. tccli/services/apigateway/v20180808/examples.json +12 -12
  20. tccli/services/apm/v20210622/api.json +98 -4
  21. tccli/services/asr/v20190614/api.json +18 -17
  22. tccli/services/asr/v20190614/examples.json +13 -13
  23. tccli/services/autoscaling/v20180419/api.json +371 -309
  24. tccli/services/autoscaling/v20180419/examples.json +17 -17
  25. tccli/services/batch/v20170312/api.json +7 -7
  26. tccli/services/bda/v20200324/api.json +39 -31
  27. tccli/services/bda/v20200324/examples.json +9 -9
  28. tccli/services/bh/__init__.py +4 -0
  29. tccli/services/bh/bh_client.py +3428 -0
  30. tccli/services/bh/v20230418/api.json +8180 -0
  31. tccli/services/bh/v20230418/examples.json +519 -0
  32. tccli/services/bi/v20220105/api.json +48 -0
  33. tccli/services/billing/v20180709/api.json +26 -24
  34. tccli/services/bsca/v20210811/api.json +1 -1
  35. tccli/services/btoe/v20210514/api.json +4 -4
  36. tccli/services/btoe/v20210514/examples.json +2 -2
  37. tccli/services/ca/v20230228/api.json +60 -0
  38. tccli/services/cam/v20190116/api.json +11 -11
  39. tccli/services/cat/v20180409/api.json +9 -0
  40. tccli/services/cbs/v20170312/api.json +200 -188
  41. tccli/services/cbs/v20170312/examples.json +4 -4
  42. tccli/services/ccc/v20200210/api.json +390 -323
  43. tccli/services/ccc/v20200210/examples.json +15 -15
  44. tccli/services/cdb/cdb_client.py +13 -13
  45. tccli/services/cdb/v20170320/api.json +295 -270
  46. tccli/services/cdb/v20170320/examples.json +38 -38
  47. tccli/services/cdc/v20201214/api.json +283 -270
  48. tccli/services/cdc/v20201214/examples.json +26 -26
  49. tccli/services/cds/v20180420/api.json +82 -76
  50. tccli/services/cds/v20180420/examples.json +1 -1
  51. tccli/services/cdwch/v20200915/api.json +1 -1
  52. tccli/services/cdwdoris/v20211228/api.json +42 -2
  53. tccli/services/cdz/v20221123/api.json +41 -5
  54. tccli/services/cfg/v20210820/api.json +31 -0
  55. tccli/services/cfs/v20190719/api.json +89 -1
  56. tccli/services/cfs/v20190719/examples.json +1 -1
  57. tccli/services/cfw/cfw_client.py +0 -53
  58. tccli/services/cfw/v20190904/api.json +1849 -1999
  59. tccli/services/cfw/v20190904/examples.json +157 -159
  60. tccli/services/ckafka/v20190819/api.json +104 -75
  61. tccli/services/clb/v20180317/api.json +48 -26
  62. tccli/services/clb/v20180317/examples.json +1 -1
  63. tccli/services/cloudapp/v20220530/api.json +5 -1
  64. tccli/services/cloudaudit/v20190319/api.json +58 -44
  65. tccli/services/cloudaudit/v20190319/examples.json +6 -6
  66. tccli/services/cloudstudio/v20230508/api.json +38 -37
  67. tccli/services/cloudstudio/v20230508/examples.json +4 -4
  68. tccli/services/cls/cls_client.py +216 -4
  69. tccli/services/cls/v20201016/api.json +536 -47
  70. tccli/services/cls/v20201016/examples.json +34 -2
  71. tccli/services/csip/v20221121/api.json +2562 -2382
  72. tccli/services/csip/v20221121/examples.json +108 -108
  73. tccli/services/cvm/v20170312/api.json +149 -112
  74. tccli/services/cvm/v20170312/examples.json +2 -2
  75. tccli/services/cwp/cwp_client.py +4 -110
  76. tccli/services/cwp/v20180228/api.json +6338 -6146
  77. tccli/services/cwp/v20180228/examples.json +342 -370
  78. tccli/services/cynosdb/v20190107/api.json +93 -81
  79. tccli/services/cynosdb/v20190107/examples.json +70 -70
  80. tccli/services/dasb/v20191018/api.json +796 -651
  81. tccli/services/dasb/v20191018/examples.json +101 -101
  82. tccli/services/dcdb/dcdb_client.py +114 -61
  83. tccli/services/dcdb/v20180411/api.json +141 -7
  84. tccli/services/dcdb/v20180411/examples.json +32 -0
  85. tccli/services/dlc/v20210125/api.json +21 -11
  86. tccli/services/dnspod/dnspod_client.py +417 -46
  87. tccli/services/dnspod/v20210323/api.json +751 -30
  88. tccli/services/dnspod/v20210323/examples.json +62 -0
  89. tccli/services/dts/v20211206/api.json +4 -4
  90. tccli/services/ecm/v20190719/api.json +2 -2
  91. tccli/services/emr/v20190103/api.json +339 -114
  92. tccli/services/emr/v20190103/examples.json +64 -82
  93. tccli/services/es/v20180416/api.json +29 -0
  94. tccli/services/es/v20180416/examples.json +1 -1
  95. tccli/services/ess/v20201111/api.json +49 -31
  96. tccli/services/ess/v20201111/examples.json +20 -8
  97. tccli/services/essbasic/v20210526/api.json +54 -49
  98. tccli/services/essbasic/v20210526/examples.json +36 -18
  99. tccli/services/facefusion/v20181201/api.json +47 -45
  100. tccli/services/facefusion/v20181201/examples.json +2 -2
  101. tccli/services/facefusion/v20220927/api.json +54 -48
  102. tccli/services/facefusion/v20220927/examples.json +5 -5
  103. tccli/services/faceid/v20180301/api.json +497 -496
  104. tccli/services/faceid/v20180301/examples.json +219 -101
  105. tccli/services/fmu/v20191213/api.json +59 -67
  106. tccli/services/fmu/v20191213/examples.json +22 -22
  107. tccli/services/ft/v20200304/api.json +53 -57
  108. tccli/services/ft/v20200304/examples.json +14 -14
  109. tccli/services/gme/v20180711/api.json +21 -11
  110. tccli/services/gme/v20180711/examples.json +1 -1
  111. tccli/services/hai/v20230812/api.json +116 -9
  112. tccli/services/hai/v20230812/examples.json +4 -4
  113. tccli/services/hunyuan/hunyuan_client.py +436 -12
  114. tccli/services/hunyuan/v20230901/api.json +1482 -118
  115. tccli/services/hunyuan/v20230901/examples.json +82 -18
  116. tccli/services/iai/v20180301/api.json +23 -19
  117. tccli/services/iai/v20180301/examples.json +2 -2
  118. tccli/services/iai/v20200303/api.json +530 -511
  119. tccli/services/iai/v20200303/examples.json +116 -86
  120. tccli/services/ig/__init__.py +4 -0
  121. tccli/services/ig/ig_client.py +195 -0
  122. tccli/services/ig/v20210518/api.json +83 -0
  123. tccli/services/ig/v20210518/examples.json +13 -0
  124. tccli/services/ioa/ioa_client.py +53 -0
  125. tccli/services/ioa/v20220601/api.json +662 -413
  126. tccli/services/ioa/v20220601/examples.json +24 -10
  127. tccli/services/iotexplorer/v20190423/api.json +33 -13
  128. tccli/services/iotexplorer/v20190423/examples.json +3 -3
  129. tccli/services/iotvideo/iotvideo_client.py +106 -0
  130. tccli/services/iotvideo/v20191126/api.json +256 -24
  131. tccli/services/iotvideo/v20191126/examples.json +19 -3
  132. tccli/services/iotvideo/v20201215/api.json +1 -1
  133. tccli/services/iotvideo/v20201215/examples.json +1 -1
  134. tccli/services/iotvideo/v20211125/api.json +1 -1
  135. tccli/services/iotvideo/v20211125/examples.json +2 -2
  136. tccli/services/iss/iss_client.py +69 -122
  137. tccli/services/iss/v20230517/api.json +10 -54
  138. tccli/services/iss/v20230517/examples.json +0 -14
  139. tccli/services/kms/v20190118/api.json +301 -268
  140. tccli/services/kms/v20190118/examples.json +45 -51
  141. tccli/services/lcic/lcic_client.py +159 -0
  142. tccli/services/lcic/v20220817/api.json +273 -1
  143. tccli/services/lcic/v20220817/examples.json +24 -0
  144. tccli/services/lighthouse/v20200324/api.json +56 -0
  145. tccli/services/live/live_client.py +159 -0
  146. tccli/services/live/v20180801/api.json +244 -0
  147. tccli/services/live/v20180801/examples.json +24 -0
  148. tccli/services/lke/v20231130/api.json +17 -17
  149. tccli/services/lke/v20231130/examples.json +19 -25
  150. tccli/services/mariadb/v20170312/api.json +7 -7
  151. tccli/services/market/v20191010/api.json +3 -3
  152. tccli/services/market/v20191010/examples.json +2 -2
  153. tccli/services/mmps/v20200710/api.json +47 -47
  154. tccli/services/mmps/v20200710/examples.json +3 -3
  155. tccli/services/mongodb/v20190725/api.json +4 -4
  156. tccli/services/monitor/v20180724/api.json +46 -19
  157. tccli/services/mps/v20190612/api.json +282 -5
  158. tccli/services/mps/v20190612/examples.json +25 -1
  159. tccli/services/mqtt/v20240516/api.json +2 -2
  160. tccli/services/mrs/v20200910/api.json +72 -34
  161. tccli/services/mrs/v20200910/examples.json +2 -2
  162. tccli/services/ms/v20180408/api.json +535 -506
  163. tccli/services/ms/v20180408/examples.json +25 -25
  164. tccli/services/oceanus/v20190422/api.json +130 -0
  165. tccli/services/ocr/ocr_client.py +232 -20
  166. tccli/services/ocr/v20181119/api.json +2265 -760
  167. tccli/services/ocr/v20181119/examples.json +200 -180
  168. tccli/services/omics/v20221128/api.json +614 -553
  169. tccli/services/omics/v20221128/examples.json +9 -9
  170. tccli/services/organization/v20210331/api.json +13 -4
  171. tccli/services/organization/v20210331/examples.json +2 -2
  172. tccli/services/partners/v20180321/api.json +244 -234
  173. tccli/services/partners/v20180321/examples.json +19 -19
  174. tccli/services/privatedns/privatedns_client.py +428 -4
  175. tccli/services/privatedns/v20201028/api.json +815 -11
  176. tccli/services/privatedns/v20201028/examples.json +64 -0
  177. tccli/services/pts/v20210728/api.json +18 -0
  178. tccli/services/pts/v20210728/examples.json +1 -1
  179. tccli/services/rce/rce_client.py +53 -0
  180. tccli/services/rce/v20201103/api.json +146 -0
  181. tccli/services/rce/v20201103/examples.json +8 -0
  182. tccli/services/redis/v20180412/api.json +42 -42
  183. tccli/services/redis/v20180412/examples.json +19 -19
  184. tccli/services/rum/v20210622/api.json +9 -0
  185. tccli/services/scf/v20180416/api.json +15 -15
  186. tccli/services/scf/v20180416/examples.json +1 -1
  187. tccli/services/smop/v20201203/api.json +46 -42
  188. tccli/services/smop/v20201203/examples.json +2 -2
  189. tccli/services/soe/v20180724/api.json +10 -10
  190. tccli/services/sqlserver/v20180328/api.json +21 -8
  191. tccli/services/sqlserver/v20180328/examples.json +5 -5
  192. tccli/services/ssl/v20191205/api.json +97 -4
  193. tccli/services/ssm/v20190923/api.json +292 -231
  194. tccli/services/ssm/v20190923/examples.json +42 -42
  195. tccli/services/tat/v20201028/api.json +97 -97
  196. tccli/services/tat/v20201028/examples.json +20 -26
  197. tccli/services/tchd/v20230306/api.json +5 -5
  198. tccli/services/tchd/v20230306/examples.json +3 -3
  199. tccli/services/tcr/v20190924/api.json +1 -1
  200. tccli/services/tcr/v20190924/examples.json +1 -1
  201. tccli/services/tcss/v20201101/api.json +1973 -1426
  202. tccli/services/tcss/v20201101/examples.json +346 -364
  203. tccli/services/tdmq/v20200217/api.json +539 -401
  204. tccli/services/tdmq/v20200217/examples.json +104 -104
  205. tccli/services/tds/v20220801/api.json +4 -4
  206. tccli/services/tem/v20210701/api.json +287 -271
  207. tccli/services/tem/v20210701/examples.json +59 -59
  208. tccli/services/teo/v20220901/api.json +37 -9
  209. tccli/services/teo/v20220901/examples.json +13 -7
  210. tccli/services/thpc/v20230321/api.json +5 -5
  211. tccli/services/tke/tke_client.py +217 -58
  212. tccli/services/tke/v20180525/api.json +36 -27
  213. tccli/services/tke/v20180525/examples.json +1 -1
  214. tccli/services/tke/v20220501/api.json +176 -0
  215. tccli/services/tke/v20220501/examples.json +24 -0
  216. tccli/services/tmt/v20180321/api.json +38 -8
  217. tccli/services/trp/v20210515/api.json +86 -74
  218. tccli/services/trp/v20210515/examples.json +65 -65
  219. tccli/services/trro/v20220325/api.json +72 -71
  220. tccli/services/trro/v20220325/examples.json +8 -8
  221. tccli/services/trtc/trtc_client.py +8 -61
  222. tccli/services/trtc/v20190722/api.json +72 -30
  223. tccli/services/trtc/v20190722/examples.json +3 -11
  224. tccli/services/tse/tse_client.py +110 -4
  225. tccli/services/tse/v20201207/api.json +122 -7
  226. tccli/services/tse/v20201207/examples.json +25 -9
  227. tccli/services/vclm/v20240523/api.json +225 -82
  228. tccli/services/vclm/v20240523/examples.json +13 -19
  229. tccli/services/vod/v20180717/api.json +431 -4
  230. tccli/services/vod/v20180717/examples.json +25 -5
  231. tccli/services/vod/v20240718/api.json +11 -11
  232. tccli/services/vod/v20240718/examples.json +4 -4
  233. tccli/services/vod/vod_client.py +53 -0
  234. tccli/services/vpc/v20170312/api.json +1090 -862
  235. tccli/services/vpc/v20170312/examples.json +74 -66
  236. tccli/services/vpc/vpc_client.py +61 -8
  237. tccli/services/waf/v20180125/api.json +2540 -2177
  238. tccli/services/waf/v20180125/examples.json +216 -284
  239. tccli/services/waf/waf_client.py +172 -119
  240. tccli/services/wav/v20210129/api.json +48 -48
  241. tccli/services/wav/v20210129/examples.json +4 -4
  242. tccli/services/wedata/v20210820/api.json +909 -25
  243. tccli/services/wedata/v20210820/examples.json +28 -4
  244. tccli/services/wedata/wedata_client.py +159 -0
  245. tccli/services/weilingwith/v20230427/api.json +6 -6
  246. tccli/services/weilingwith/v20230427/examples.json +3 -3
  247. tccli/sso.py +229 -0
  248. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
  249. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
  250. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
  251. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
  252. {tccli-3.0.1216.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\": \"abc\"\n }\n}",
7
- "output": "{\n \"Response\": {\n \"Data\": {\n \"Code\": 0,\n \"Message\": \"abc\",\n \"Value\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
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\": 1,\n \"ChainList\": [\n {\n \"Code\": \"abc\",\n \"Data\": [\n {\n \"Label\": \"abc\",\n \"Type\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n }\n ]\n}",
15
- "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
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\": \"abc\",\n \"ProductId\": \"abc\",\n \"BatchType\": 1,\n \"BatchId\": \"abc\",\n \"Remark\": \"abc\",\n \"MpTpl\": \"abc\",\n \"CloneId\": \"abc\",\n \"BatchCode\": \"abc\",\n \"ValidDate\": \"abc\",\n \"ProductionDate\": \"abc\"\n}",
23
- "output": "{\n \"Response\": {\n \"BatchId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
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\": 1,\n \"RequestId\": \"xx\"\n }\n}",
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\": \"xxxx\",\n \"PackType\": 0\n}",
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\": \"xx\",\n \"MerchantId\": \"xx\",\n \"CodeParts\": [\n {\n \"Ext\": \"xx\",\n \"Type\": \"0\",\n \"Length\": 1,\n \"Value\": \"xx\",\n \"Name\": \"xx\"\n }\n ],\n \"CodeLength\": 10\n}",
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\": \"xx\",\n \"Name\": \"xx\",\n \"Specification\": \"xx\",\n \"Ext\": {},\n \"Logo\": [\n \"url1\"\n ],\n \"MerchantId\": \"xx\",\n \"MerchantName\": \"xx\"\n}",
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\": \"xx\",\n \"RequestId\": \"xx\"\n }\n}",
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\": \"xfetmgoiky2nms6nk8\",\n \"Codes\": [\n {\n \"Code\": \"https://anxin.m.qq.com/qr/eqdmnz7020bmtvi9_021351149823032923\"\n }\n ]\n}",
87
- "output": "{\n \"Response\": {\n \"BatchId\": \"abc\",\n \"ActiveCnt\": 1,\n \"CodeCnt\": 1,\n \"RequestId\": \"abc\"\n }\n}",
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\": \"eqdmnz7020bmtvi9\",\n \"FileKey\": \"anxin/filekeyname.zip\"\n}",
95
- "output": "{\n \"Response\": {\n \"BatchId\": \"eqdmnz7020bmtvi9\",\n \"RequestId\": \"384f8d0c-0c15-4dce-9b23-85ca839364ad\"\n }\n}",
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 \"Status\": 1,\n \"ChainStatus\": 1,\n \"TraceId\": \"xx\",\n \"PhaseData\": {\n \"HeadTitle\": \"xx\",\n \"AppName\": \"xx\",\n \"AppPath\": \"xx\",\n \"Key\": \"xx\",\n \"AppId\": \"xx\",\n \"HeadEnabled\": false\n },\n \"CorpId\": 1,\n \"TraceItems\": [\n {\n \"Name\": \"xx\",\n \"ReadOnly\": true,\n \"Value\": \"xx\",\n \"Ext\": \"xx\",\n \"Values\": [\n \"xx\"\n ],\n \"Key\": \"xx\",\n \"Hidden\": true,\n \"Type\": \"xx\"\n },\n {\n \"Name\": \"xx\",\n \"ReadOnly\": true,\n \"Value\": \"xx\",\n \"Ext\": \"xx\",\n \"Values\": [\n \"https://webcdn.m.qq.com/dpsw/cdn/xxx.jpg\"\n ],\n \"Key\": \"xx\",\n \"Hidden\": true,\n \"Type\": \"xx\"\n }\n ],\n \"BatchId\": \"xx\",\n \"PhaseName\": \"xx\",\n \"TaskId\": \"xx\",\n \"Phase\": 1,\n \"Type\": 1\n}",
103
- "output": "{\n \"Response\": {\n \"TraceId\": \"xx\",\n \"RequestId\": \"xx\"\n }\n}",
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\": \"xx\",\n \"RequestId\": \"xx\"\n }\n}",
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\": 0,\n \"MerchantId\": \"awai9jd37ng3de7p3t\"\n}",
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\": \"xx\",\n \"RequestId\": \"xx\"\n }\n}",
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\": \"xx\"\n }\n}",
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\": \"xfetmgoiky2nms6nk8\"\n}",
151
- "output": "{\n \"Response\": {\n \"CodeBatch\": {\n \"MpTpl\": \"xx\",\n \"Status\": 0,\n \"Remark\": \"xx\",\n \"MerchantName\": \"xx\",\n \"CorpId\": 0,\n \"UpdateTime\": \"xx\",\n \"ProductName\": \"xx\",\n \"BatchId\": \"xx\",\n \"Ext\": {},\n \"BatchCode\": \"xx\",\n \"CodeCnt\": 0,\n \"BatchType\": 0,\n \"CreateTime\": \"xx\",\n \"MerchantId\": \"xx\",\n \"ProductId\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\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\": 1000\n}",
159
- "output": "{\n \"Response\": {\n \"CodeBatches\": [\n {\n \"BatchId\": \"abc\",\n \"CorpId\": 0,\n \"BatchCode\": \"abc\",\n \"CodeCnt\": 0,\n \"MerchantId\": \"abc\",\n \"ProductId\": \"abc\",\n \"BatchType\": 0,\n \"Remark\": \"abc\",\n \"MpTpl\": \"abc\",\n \"Status\": 0,\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"MerchantName\": \"abc\",\n \"ProductName\": \"abc\",\n \"Ext\": {},\n \"TplName\": \"abc\",\n \"Job\": {\n \"JobId\": 0,\n \"Status\": \"abc\"\n },\n \"ProductionDate\": \"abc\",\n \"ValidDate\": \"abc\",\n \"Attrs\": []\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
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\": \"eqdmnz7020bmtvi9\",\n \"ProductId\": \"\",\n \"Keyword\": \"20121212000001\",\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
167
- "output": "{\n \"Response\": {\n \"CodeBatchs\": [\n {\n \"BatchId\": \"abc\",\n \"CorpId\": 0,\n \"BatchCode\": \"abc\",\n \"CodeCnt\": 0,\n \"MerchantId\": \"abc\",\n \"ProductId\": \"abc\",\n \"BatchType\": 0,\n \"Remark\": \"abc\",\n \"MpTpl\": \"abc\",\n \"Status\": 0,\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"MerchantName\": \"abc\",\n \"ProductName\": \"abc\",\n \"Ext\": {},\n \"TplName\": \"abc\",\n \"Job\": {\n \"JobId\": 0,\n \"Status\": \"abc\"\n },\n \"ProductionDate\": \"abc\",\n \"ValidDate\": \"abc\",\n \"Attrs\": []\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
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\": \"\",\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
191
- "output": "{\n \"Response\": {\n \"CodePacks\": [\n {\n \"PackId\": \"abc\",\n \"CorpId\": 0,\n \"MerchantId\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Status\": \"abc\",\n \"Log\": \"abc\",\n \"CreateUser\": \"abc\",\n \"Amount\": 0,\n \"CodeLength\": 0,\n \"CodeType\": \"abc\",\n \"Cipher\": 0,\n \"TextUrl\": \"abc\",\n \"PackUrl\": \"abc\",\n \"MerchantName\": \"abc\",\n \"RuleType\": 0,\n \"CustomId\": \"abc\",\n \"PackType\": 0,\n \"PackLevel\": 1,\n \"PackSpec\": [\n {\n \"Level\": 1,\n \"Rate\": 1,\n \"Amount\": 1,\n \"CustomId\": \"abc\",\n \"CodeParts\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Value\": \"abc\",\n \"Length\": 1,\n \"Ext\": \"abc\"\n }\n ],\n \"Unit\": \"abc\",\n \"SceneCode\": 0\n }\n ],\n \"ProductName\": \"abc\",\n \"ProductSpecification\": \"abc\",\n \"ProductId\": \"abc\",\n \"RelateType\": 0\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"abc\"\n }\n}",
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\": 1,\n \"UsageQuota\": {\n \"SaleCnt\": 0,\n \"UpdateTime\": \"xx\",\n \"CorpId\": 1,\n \"ChainCnt\": 0,\n \"FactoryCnt\": 0,\n \"RiskCnt\": 0,\n \"TrackCnt\": 0,\n \"ItemCnt\": 0\n },\n \"Quota\": {\n \"CorpId\": 1,\n \"TrackQuota\": 0,\n \"FactoryQuota\": 0,\n \"QuotaId\": 1,\n \"SaleQuota\": 0,\n \"Version\": \"xx\",\n \"ItemQuota\": 0,\n \"StartTime\": \"xx\",\n \"Services\": [\n \"xx\"\n ],\n \"RiskQuota\": 0,\n \"EndTime\": \"xx\",\n \"TrackType\": 0,\n \"ChainQuota\": 0\n },\n \"CorpName\": \"xx\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"xx\"\n }\n}",
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\": \"xx\"\n }\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\": \"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\": \"^https://anxin.mtest.qq.com/qr/eqdmnz7020bmtvi9_(.*)\"\n },\n \"RequestId\": \"55fa060c-fa0a-4704-a8b5-08ce336192a4\"\n }\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\": \"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\": \"\",\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
247
- "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Merchants\": [\n {\n \"Remark\": \"xx\",\n \"Name\": \"xx\",\n \"CorpId\": 0,\n \"UpdateTime\": \"xx\",\n \"MerchantId\": \"xx\",\n \"CodeRule\": \"xx\",\n \"CreateTime\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
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\": \"xxx\",\n \"OpenId\": \"\",\n \"ScanTime\": \"2023-10-10 00:00:00\",\n \"Ip\": \"\",\n \"Country\": \"\",\n \"Province\": \"\",\n \"City\": \"\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
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\": \"xxx\",\n \"Status\": 1\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
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-12-07T02:14:37.000Z\",\n \"Ext\": {},\n \"MerchantName\": \"demo\"\n },\n \"RequestId\": \"06356857-6961-4b9d-bf1e-df5e0311358e\"\n }\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\": \"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\": \"\",\n \"MerchantId\": \"\",\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 \"url1\"\n ],\n \"CreateTime\": \"2021-11-30T09:00:33.000Z\",\n \"UpdateTime\": \"2021-11-30T09:16:23.000Z\",\n \"Ext\": {},\n \"MerchantName\": \"demo\",\n \"CertState\": -1\n },\n {\n \"ProductId\": \"4girpwhw677zdo9c6t\",\n \"CorpId\": 10000,\n \"MerchantId\": \"0\",\n \"ProductCode\": \"4girpwhw677zdo9c6t\",\n \"Name\": \"demo\",\n \"Specification\": \"\",\n \"Remark\": \"\",\n \"Logo\": [],\n \"CreateTime\": \"2021-11-30T08:50:48.000Z\",\n \"UpdateTime\": \"2021-11-30T08:51:11.000Z\",\n \"Ext\": {},\n \"MerchantName\": \"\",\n \"CertState\": -1\n }\n ],\n \"TotalCount\": 2,\n \"RequestId\": \"fe9462f4-bded-4b52-a84a-27cf6b2b46b4\"\n }\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\": \"abc\",\n \"CreateTime\": \"2022-01-18T08:27:11.000Z\",\n \"Code\": \"abc\",\n \"CorpId\": 100,\n \"MerchantId\": \"abc\",\n \"ProductId\": \"abc\",\n \"BatchId\": \"abc\",\n \"Province\": \"广东省\",\n \"City\": \"深圳市\",\n \"District\": \"福田区\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
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\": [\n {\n \"LogId\": 0,\n \"Openid\": \"abc\",\n \"Nickname\": \"abc\",\n \"CreateTime\": \"abc\",\n \"Code\": \"abc\",\n \"CorpId\": 0,\n \"MerchantId\": \"abc\",\n \"ProductId\": \"abc\",\n \"Ip\": \"abc\",\n \"Country\": \"abc\",\n \"Province\": \"abc\",\n \"City\": \"abc\",\n \"District\": \"abc\",\n \"Unionid\": \"abc\",\n \"First\": 0,\n \"BatchId\": \"abc\",\n \"Type\": 0,\n \"MerchantName\": \"abc\",\n \"ProductName\": \"abc\",\n \"ProductLogo\": \"abc\",\n \"Status\": 0,\n \"Verify\": 0\n }\n ],\n \"TotalCount\": 0,\n \"ScanLogs\": [\n {\n \"LogId\": 0,\n \"Openid\": \"abc\",\n \"Nickname\": \"abc\",\n \"CreateTime\": \"abc\",\n \"Code\": \"abc\",\n \"CorpId\": 0,\n \"MerchantId\": \"abc\",\n \"ProductId\": \"abc\",\n \"Ip\": \"abc\",\n \"Country\": \"abc\",\n \"Province\": \"abc\",\n \"City\": \"abc\",\n \"District\": \"abc\",\n \"Unionid\": \"abc\",\n \"First\": 0,\n \"BatchId\": \"abc\",\n \"Type\": 0,\n \"MerchantName\": \"abc\",\n \"ProductName\": \"abc\",\n \"ProductLogo\": \"abc\",\n \"Status\": 0,\n \"Verify\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
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\": \"batchid\",\n \"CorpId\": 10000,\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
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\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
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\": \"abc\",\n \"CorpId\": 1,\n \"PackId\": \"abc\",\n \"BatchId\": \"abc\",\n \"MerchantId\": \"abc\",\n \"ProductId\": \"abc\",\n \"Status\": 1,\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"MerchantName\": \"abc\",\n \"ProductName\": \"abc\",\n \"AgentId\": 1,\n \"Level\": 1\n },\n \"CodePath\": [\n \"abc\"\n ],\n \"RequestId\": \"abc\"\n }\n}",
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\": \"abc\",\n \"CorpId\": 1,\n \"PackId\": \"abc\",\n \"BatchId\": \"abc\",\n \"MerchantId\": \"abc\",\n \"ProductId\": \"abc\",\n \"Status\": 1,\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"MerchantName\": \"abc\",\n \"ProductName\": \"abc\",\n \"AgentId\": 1,\n \"Level\": 1,\n \"PackSpec\": [\n {\n \"Level\": 1,\n \"Rate\": 1,\n \"Amount\": 1,\n \"CustomId\": \"abc\",\n \"CodeParts\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Value\": \"abc\",\n \"Length\": 1,\n \"Ext\": \"abc\"\n }\n ],\n \"Unit\": \"abc\",\n \"SceneCode\": 0\n }\n ]\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"abc\"\n }\n}",
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 \"Status\": 0,\n \"ChainStatus\": 1,\n \"Code\": \"xx\",\n \"PhaseData\": {\n \"HeadTitle\": \"xx\",\n \"AppName\": \"xx\",\n \"AppPath\": \"xx\",\n \"Key\": \"xx\",\n \"AppId\": \"xx\",\n \"HeadEnabled\": true\n },\n \"CorpId\": 1,\n \"TraceItems\": [\n {\n \"Name\": \"xx\",\n \"ReadOnly\": true,\n \"Value\": \"xx\",\n \"Ext\": \"xx\",\n \"Values\": [\n \"xx\"\n ],\n \"Key\": \"xx\",\n \"Hidden\": true,\n \"Type\": \"xx\"\n }\n ],\n \"Rank\": 1,\n \"CreateTime\": \"xx\",\n \"TraceId\": \"xx\",\n \"PhaseName\": \"xx\",\n \"TraceTime\": \"xx\",\n \"Phase\": 1,\n \"ChainData\": {\n \"BlockHeight\": \"xx\",\n \"BlockHash\": \"xx\",\n \"BlockTime\": \"xx\"\n },\n \"Type\": 1,\n \"ChainTime\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\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\": \"\",\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
343
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TraceDataList\": [\n {\n \"Type\": 1,\n \"ChainStatus\": 1,\n \"Code\": \"xx\",\n \"CorpId\": 1,\n \"TraceItems\": [\n {\n \"Name\": \"xx\",\n \"ReadOnly\": true,\n \"Value\": \"xx\",\n \"Ext\": \"xx\",\n \"Values\": [\n \"xx\"\n ],\n \"Hidden\": true,\n \"Type\": \"xx\"\n }\n ],\n \"Rank\": 1,\n \"TraceId\": \"xx\",\n \"PhaseName\": \"xx\",\n \"TraceTime\": \"xx\",\n \"Phase\": 1,\n \"ChainData\": {\n \"BlockHeight\": 1,\n \"BlockHash\": \"xx\"\n },\n \"ChainTime\": \"xx\",\n \"CreateTime\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\"\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\": \"abc\"\n }\n}",
351
- "output": "{\n \"Response\": {\n \"Data\": {\n \"Code\": 0,\n \"Message\": \"abc\",\n \"Value\": \"abc\"\n },\n \"RequestId\": \"abc\"\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\": \"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\": \"abc\",\n \"Status\": 1\n}",
359
- "output": "{\n \"Response\": {\n \"BatchId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
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\": \"xx\",\n \"CustomId\": \"xx\",\n \"CodeParts\": [\n {\n \"Ext\": \"xx\",\n \"Type\": \"0\",\n \"Length\": 1,\n \"Value\": \"xx\",\n \"Name\": \"xx\"\n }\n ],\n \"CodeLength\": 10\n}",
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\": \"\",\n \"Specification\": \"100ml\",\n \"Logo\": []\n}",
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\": \"xx\"\n }\n}",
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\": \"xfetmgoiky2nms6nk8\",\n \"Codes\": [\n \"https://anxin.m.qq.com/qr/3a9avhhvk4oyqb\"\n ]\n}",
407
- "output": "{\n \"Response\": {\n \"UnlinkCnt\": 1,\n \"CodeCnt\": 1,\n \"BatchId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
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\": \"abc\",\n \"BatchId\": \"abc\",\n \"TaskId\": \"abc\",\n \"TraceItems\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\",\n \"Type\": \"abc\",\n \"ReadOnly\": true,\n \"Hidden\": true,\n \"Values\": [\n \"abc\"\n ],\n \"Key\": \"abc\",\n \"Ext\": \"abc\",\n \"Attrs\": {\n \"Name\": \"abc\",\n \"Value\": \"abc\",\n \"Type\": \"abc\",\n \"ReadOnly\": true,\n \"Hidden\": true,\n \"Values\": [\n \"abc\"\n ],\n \"Key\": \"abc\",\n \"Ext\": \"abc\",\n \"Attrs\": {\n \"Name\": \"abc\",\n \"Value\": \"abc\",\n \"Type\": \"abc\",\n \"ReadOnly\": true,\n \"Hidden\": true,\n \"Values\": [\n \"abc\"\n ],\n \"Key\": \"abc\",\n \"Ext\": \"abc\"\n }\n }\n }\n ],\n \"PhaseName\": \"abc\",\n \"PhaseData\": {\n \"HeadEnabled\": true,\n \"HeadTitle\": \"abc\",\n \"Key\": \"abc\",\n \"AppId\": \"abc\",\n \"AppPath\": \"abc\",\n \"AppName\": \"abc\"\n },\n \"Status\": 1,\n \"Rank\": 1,\n \"Type\": 1,\n \"Code\": \"abc\",\n \"Phase\": 1,\n \"TraceTime\": \"abc\",\n \"CreateTime\": \"abc\",\n \"ChainStatus\": 1,\n \"ChainTime\": \"abc\",\n \"ChainData\": {\n \"BlockHash\": \"abc\",\n \"BlockHeight\": \"abc\",\n \"BlockTime\": \"abc\"\n },\n \"CorpId\": 1\n}",
415
- "output": "{\n \"Response\": {\n \"TraceId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
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\": \"xx\",\n \"TraceIds\": [\n \"xx\"\n ]\n}",
423
- "output": "{\n \"Response\": {\n \"BatchId\": \"xx\",\n \"RequestId\": \"xx\"\n }\n}",
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\": 0,\n \"EncryptMethod\": 0,\n \"EncryptMode\": 0,\n \"PaddingType\": 0,\n \"EncryptData\": \"abc\"\n }\n}",
431
- "output": "{\n \"Response\": {\n \"Data\": {\n \"Code\": 0,\n \"Message\": \"abc\",\n \"Value\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
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
  ]