数字资产链 DAC-新增环节内容:请求参数

时间:2024-05-14 09:39:13

请求参数

表2 请求Header参数

参数

是否必选

参数类型

描述

X-Auth-Token

String

用户Token

最小长度:1

最大长度:65535

表3 请求Body参数

参数

是否必选

参数类型

描述

batchCode

String

批次码

最小长度:1

最大长度:100

linkName

String

环节名称

最小长度:1

最大长度:20

merchant

String

商户ID

最小长度:1

最大长度:100

batchLinkContentList

Array of BatchLinkContentSubmit objects

环节内容

表4 BatchLinkContentSubmit

参数

是否必选

参数类型

描述

contentUrl

String

对于图片、PDF等存储url

最小长度:1

最大长度:250

contentType

String

溯源内容类型(0.图片、1.PDF、2.文本)

枚举值:

  • 0

  • 1

  • 2

contentName

String

溯源内容名称

最小长度:1

最大长度:100

contentText

String

对于文本,直接存储文本内容

最小长度:1

最大长度:250

sweepCodeDisplay

String

扫码展示方式:0 不展示,1 展示

枚举值:

  • 0

  • 1

support.huaweicloud.com/api-dac/CreateLinkContent.html