该接口用于异步批量引入互动关系。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | BatchCreateAction | 要执行的操作,取值:BatchCreateAction |
Version | String | 是 | 2021-01-01 | API的版本,取值:2021-01-01 |
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
ActionList | Array of ActionDTO | 是 | 互动关系参数列表。 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Data | BatchData | 批次信息 |
{
"ActionList": [
{
"ActionType": 1,
"Category": "14d6789b",
"UniqueUserId": "debug1",
"TargetId": 7273641828505665612,
"EventTime": 1696926290,
"Status": 1
},
{
"ActionType": 1,
"Category": "14d6789b",
"UniqueUserId": "debug2",
"TargetId": 7273641828505665612,
"EventTime": 1696926290,
"Status": 1
}
]
}
{
"ResponseMetadata": {
"RequestId": "2023112916092419216800000529***",
"Action": "BatchCreateAction",
"Version": "2021-01-01",
"Service": "volc_content_api",
"Region": "cn-north-1"
},
"Data": {
"BatchId": 7306705056223592801
},
"BaseResp": {
"StatusMessage": "success",
"StatusCode": 1000
}
}
{
"ActionList": [
{
"ActionType": 1,
"Category": "14d6780b",
"UniqueUserId": "debug1",
"TargetId": 7273641828505665612,
"EventTime": 1696926290,
"Status": 1
}
]
}
{
"ResponseMetadata": {
"RequestId": "20231211111341C1B038FD2B9A203F4***",
"Action": "BatchCreateAction",
"Version": "2021-01-01",
"Service": "volc_content_api",
"Region": "cn-north-1",
"Error": {
"CodeN": 1001,
"Code": "1001",
"Message": "该互动场景不存在"
}
},
"Data": null,
"BaseResp": {
"StatusMessage": "该互动场景不存在",
"StatusCode": 1001
}
}
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 错误信息 | 说明 |
---|---|---|---|
200 | 1001 | 参数错误 | 返回具体的参数错误描述 |
200 | 1002 | 服务未知错误 | 请联系火山引擎技术人员 |