短信服务使用方可以调用BulkCreateTobTrafficDrivingLink接口批量创建引流链接。
POSThttps://sms.volcengineapi.com/?Action=BulkCreateTobTrafficDrivingLink&Version=2021-01-11名称 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | BulkCreateTobTrafficDrivingLink | 要执行的操作,取值:BulkCreateTobTrafficDrivingLink |
Version | String | 是 | 2021-01-11 | API的版本,取值:2021-01-11 |
名称 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
data | Array of json | 是 | 批量创建的引流链接数据 |
名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
ResponseMetadata | ResponseMetadata | 响应公共参数。 | |
Result | String |
{ "data": [ { "useVolcLink": false, "protocol": "https", "link": "https://test-xxx.com/demo", "linkDomainIcp": "test-icp", "linkDomainIcpBody": "test-icpBody" } ] }
{ "ResponseMetadata":{ "RequestId":"2022090818181501017423503804EC****", "Action":"BulkCreateTobTrafficDrivingLink", "Version":"2021-01-11", "Service":"volcSMS", "Region":"cn-north-1" }, "Result": "" }
{ "data": [ { "useVolcLink": true, "protocol": "https", "link": "https://test-xxx.com/demo", "linkDomainIcp": "test-icp", "linkDomainIcpBody": "test-icpBody" } ] }
{ "ResponseMetadata": { "RequestId":"2022090818181501017423503804EC****", "Action":"BulkCreateTobTrafficDrivingLink", "Version":"2021-01-11", "Service":"volcSMS", "Region":"cn-north-1" "Error": { "Code": "1001", "Message": "请求参数错误" } } }
下表提供了该接口业务逻辑相关的错误码。公共错误码请参见公共错误码。
HttpCode | 错误码 | 错误信息 | 描述 |
|---|---|---|---|
200 | 1001 | 参数错误 | 参数错误 |
200 | 1999 | 系统错误 | 系统错误 |