经营任务查询活动信息
接口说明
查询经营任务活动信息
基本信息
名称 | 描述 |
---|---|
HTTP URL | https://open.douyin.com/dy_open_api/apps/v3/activity/query_info/ |
HTTP Method | POST |
Scope | open.business.task_manage |
权限要求 | 任务信息接口 |
请求参数
请求头
access-token必填String
示例:clt.943da17996fb5cebfbc70c044c3fc25a57T54DcjT6HNKGqnUdxzy1KcxFnZ
content-type必填String
固定值"application/json"
Body展开全部子属性
activity_id必填Int64
示例:@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==
创建任务之后获取的任务ID
task_id_listList
示例:[@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==]
任务ID列表
展开子属性
请求示例
curl --location --request POST '/dy_open_api/apps/v3/activity/query_info/' \ --header 'content-type: application/json' \ --header 'access-token: 0801121846735352506a356a6' \ --data '{"activity_id":5741542078555716411,"task_id_list":[8973050766500213013]}'
响应参数
Body展开全部子属性
ActivityInfo必填Struct
展开子属性
business_task_info_list必填List
任务信息列表
展开子属性
响应示例
{ "business_task_info_list": [ { "task_name": "优惠券任务", "task_event_info": { "short_video_collection_event_info": { "item_id": "@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==", "video_url": "https://v.douyin.com/i8rpmSVP/" }, "live_comment_event_info": { "aweme_id": "MyZcXhhpNH" }, "short_video_digg_event_info": { "item_id": "@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==", "video_url": "https://v.douyin.com/i8rpmSVP/" }, "posting_vide_event_info": { "num_stage": [ 4750644955413212000 ], "digg_stage": [ 8763053391313799000 ], "comment_stage": [ 5801807780880964000 ], "play_video_stage": [ 1418927234325061400 ] }, "account_follow_event_info": { "aweme_id": "od43KPg4EI" }, "short_video_finish_playing_event_info": { "video_url": "https://v.douyin.com/i8rpmSVP/", "game_id": "TSblTVJTFd", "anchor_id": "37FGqUCCXO", "item_id": "@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==" }, "short_video_comment_event_info": { "item_id": "@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==", "video_url": "https://v.douyin.com/i8rpmSVP/" }, "live_share_event_info": { "aweme_id": "r197DgCC8E" }, "live_watch_event_info": { "watch_duration": 4191095216593800700, "aweme_id": "04yezS37AR", "game_id": "y6fdMjhxQY" }, "live_digg_event_info": { "aweme_id": "umryUq5jN4" }, "short_video_share_event_info": { "item_id": "@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==", "video_url": "https://v.douyin.com/i8rpmSVP/" } }, "start_time": 1746654473495307000, "end_time": 1193533615270812400, "task_id": 7917956045875683000 } ], "ActivityInfo": { "activity_name": "活动名称", "start_time": 407647062183764300, "end_time": 4169253920096795600 } }
错误码
HTTP 状态码 | 错误码 | 错误码描述 | 排查建议 |
---|---|---|---|
200 | 28001005 | 系统内部错误,请重试 | 请求重试,若依然无解请向平台提交反馈 |
200 | 28001003 | access_token无效 | 重新请求生成access_token |
200 | 28001008 | access_token过期,请刷新或重新授权 | 重新请求生成access_token |
200 | 28001016 | 当前应用已被封禁或下线 | clientKey被封禁或者下线 |
200 | 28001006 | 网络调用错误,请重试 | 重试即可 |
200 | 28001014 | 应用未授权任何能力 | 确认应用是否授权能力 |
200 | 28001018 | 应用未获得该能力 | 开通相关能力 |
200 | 28003017 | quota已用完 | 联系平台处理 |
200 | 28001019 | 应用该能力已被封禁 | 该能力被封禁,联系平台处理 |
200 | 28001007 | 参数不合法 | 根据错误信息检查请求参数是否填写正常 |