获取企微任务宝活动列表
GET
/open-api/activity_fission/mission/list获取活动列表。可以通过调整 query 参数满足不同维度的筛选需求。 列表按照任务id从小到大进行排序。 列表可根据任务创建时间进行筛选,根据企微任务宝活动类型af_type进行筛选。
因为不同的活动阶段会对应不同的客服和客户标签,返回值中的PrizeRule表示××领奖规则××,包含客服列表和客户标签列表。
调用此接口需购买营销席位。
请求参数
Query 参数
name
string
可选
活动名称,支持模糊查询
示例值:
abc
mission_status
string
可选
活动状态(end表示活动结束,ongoing表示活动进行中)
示例值:
end
start_time
string
可选
筛选活动创建的时间,时间戳格式,例如:1592576435对应2020-06-19 22:20:35
示例值:
1591945710
end_time
string
可选
筛选活动创建的时间,时间戳格式,例如:1592576435对应2020-06-19 22:20:35
示例值:
1591945710
order
string
可选
排序按照微伴系统收录活动时间升序或降序增加排序参数 order,可选值是 asc(升序) 和 desc(降序),默认值是 asc
示例值:
asc
limit
string
可选
列表返回长度。默认值为30,最大值为100
示例值:
2
offset
string
可选
列表偏移。用于迭代获取所有数据,默认值为0
示例值:
0
af_type
string
可选
企微任务宝活动类型,qywx为企业微信,mp为企微+公众号,默认值为qywx
示例值:
qywx
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
errcode
integer
必需
状态码,0为正常,非0代表错误。
errmsg
string
必需
错误信息,成功时为'ok',错误时会以中文方式显示错误原因
mission_list
$ref(#/definitions/2621007)[]
活动列表
#/definitions/2621007
可选
total
integer
活动总数
示例
{
"errcode": 0,
"errmsg": "ok",
"mission_list": [
{
"af_type": "qywx",
"created_at": 1591934057,
"id": 15,
"invited_count": 2,
"name": "测试111",
"new_user_count": 2,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 1,
"prize_staff_id_list": null
}
],
"staff_ids": [
"PanPan"
],
"status": "end",
"tags": []
},
{
"af_type": "qywx",
"created_at": 1591945710,
"id": 17,
"invited_count": 1,
"name": "abc",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 1,
"prize_staff_id_list": null
}
],
"staff_ids": [
"LuoKai"
],
"status": "end",
"tags": [
973,
1003,
1013,
1015
]
},
{
"af_type": "qywx",
"created_at": 1592294859,
"id": 32,
"invited_count": 0,
"name": "test",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 1,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang"
],
"status": "end",
"tags": []
},
{
"af_type": "qywx",
"created_at": 1592536288,
"id": 35,
"invited_count": 1,
"name": "测试219",
"new_user_count": 1,
"outflow_count": 1,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 1,
"prize_staff_id_list": null
}
],
"staff_ids": [
"LuoKai"
],
"status": "end",
"tags": [
994
]
},
{
"af_type": "qywx",
"created_at": 1592907566,
"id": 36,
"invited_count": 2,
"name": "测试",
"new_user_count": 0,
"outflow_count": 1,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 1,
"prize_staff_id_list": null
}
],
"staff_ids": [
"incompletemountain",
"YangGuang"
],
"status": "end",
"tags": [
973
]
},
{
"af_type": "qywx",
"created_at": 1593345687,
"id": 39,
"invited_count": 1,
"name": "11",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 1,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang"
],
"status": "end",
"tags": [
973
]
},
{
"af_type": "qywx",
"created_at": 1593569433,
"id": 40,
"invited_count": 2,
"name": "哈哈哈",
"new_user_count": 0,
"outflow_count": 1,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 1,
"prize_staff_id_list": null
}
],
"staff_ids": [
"SiSi"
],
"status": "end",
"tags": [
973
]
},
{
"af_type": "qywx",
"created_at": 1593609566,
"id": 41,
"invited_count": 0,
"name": "明白",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 1,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang"
],
"status": "end",
"tags": [
973
]
},
{
"af_type": "qywx",
"created_at": 1594194930,
"id": 43,
"invited_count": 2,
"name": "测试任务宝",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 2,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang"
],
"status": "end",
"tags": [
1125
]
},
{
"af_type": "qywx",
"created_at": 1594388842,
"id": 45,
"invited_count": 0,
"name": "测试任务宝",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 2,
"prize_staff_id_list": null
}
],
"staff_ids": [
"clth"
],
"status": "end",
"tags": [
974,
1021
]
},
{
"af_type": "qywx",
"created_at": 1594389407,
"id": 47,
"invited_count": 0,
"name": "任务宝测试x2",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 2,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang"
],
"status": "end",
"tags": [
1047
]
},
{
"af_type": "qywx",
"created_at": 1594389907,
"id": 49,
"invited_count": 0,
"name": "1212",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 1,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang"
],
"status": "end",
"tags": [
973,
1021
]
},
{
"af_type": "qywx",
"created_at": 1594608217,
"id": 50,
"invited_count": 0,
"name": "ssss",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 20,
"prize_staff_id_list": null
}
],
"staff_ids": [
"LuoDaDa",
"YiShiYuQiao"
],
"status": "end",
"tags": [
973,
974,
1013,
1021
]
},
{
"af_type": "qywx",
"created_at": 1594640081,
"id": 56,
"invited_count": 2,
"name": "反反复复付",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 12,
"prize_staff_id_list": null
}
],
"staff_ids": [
"LuoKai"
],
"status": "end",
"tags": [
1021,
1016
]
},
{
"af_type": "qywx",
"created_at": 1594716575,
"id": 57,
"invited_count": 0,
"name": "这是一个任务666666666",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 1,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang"
],
"status": "end",
"tags": []
},
{
"af_type": "qywx",
"created_at": 1594718521,
"id": 58,
"invited_count": 0,
"name": "333",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 2,
"prize_staff_id_list": null
}
],
"staff_ids": [
"LvDouNiuNaiBing",
"x.l",
"KeLeDanJuan",
"coooo",
"codetalks",
"charles",
"x",
"MuZiJinKou",
"YueXiaoBan",
"DuoLe",
"incompletemountain",
"a70911341cdcef126975b2149b2c8940",
"TianKong",
"YangGuang",
"ll",
"LiYan",
"ZhangXinYu01",
"KeLe",
"ShengShiYiHuiShou",
"LuoKai",
"xiaoban",
"JuZiTou",
"QunFaDaShi-YouYou",
"cheng",
"YiShiYuQiao",
"LuoDaDa",
"YeMinMin",
"YiBanZhangFenDaShi-YaoYao",
"XiaoHong",
"Shiyan",
"XingHeChangMing",
"SiSi",
"ZhangBoEn",
"5bf6dcdba3a20fd3dd4e000c92997171",
"yhjwwhm",
"TuanZi",
"c",
"ZaHuiShiEr",
"850c7c451e0c6b52ed69baa29b47b6d1",
"NiGeQiu",
"lemon",
"clth",
"PanPan",
"YuanLiDianDaoMengXiang"
],
"status": "end",
"tags": [
973,
974,
979,
994,
1256,
1013,
1021,
1049,
1065,
1063,
1067,
1219
]
},
{
"af_type": "qywx",
"created_at": 1594719818,
"id": 59,
"invited_count": 0,
"name": "这是一个大皮球66666666",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 100,
"prize_staff_id_list": null
}
],
"staff_ids": [
"LvDouNiuNaiBing",
"x.l",
"KeLeDanJuan",
"coooo",
"codetalks",
"charles",
"x",
"MuZiJinKou",
"YueXiaoBan",
"DuoLe",
"incompletemountain",
"a70911341cdcef126975b2149b2c8940",
"TianKong",
"YangGuang",
"ll",
"LiYan",
"ZhangXinYu01",
"KeLe",
"ShengShiYiHuiShou",
"LuoKai",
"xiaoban",
"JuZiTou",
"QunFaDaShi-YouYou",
"cheng",
"YiShiYuQiao",
"LuoDaDa",
"YeMinMin",
"YiBanZhangFenDaShi-YaoYao",
"XiaoHong",
"Shiyan",
"XingHeChangMing",
"SiSi",
"ZhangBoEn",
"5bf6dcdba3a20fd3dd4e000c92997171",
"yhjwwhm",
"TuanZi",
"c",
"ZaHuiShiEr",
"850c7c451e0c6b52ed69baa29b47b6d1",
"NiGeQiu",
"lemon",
"clth",
"PanPan",
"YuanLiDianDaoMengXiang"
],
"status": "end",
"tags": [
973
]
},
{
"af_type": "qywx",
"created_at": 1594725395,
"id": 60,
"invited_count": 2,
"name": "测试任务宝",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 2,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang"
],
"status": "end",
"tags": [
1015,
1016,
1047,
1048,
1063
]
},
{
"af_type": "qywx",
"created_at": 1594728281,
"id": 61,
"invited_count": 0,
"name": "tj的",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 12,
"prize_staff_id_list": null
}
],
"staff_ids": [
"PanPan"
],
"status": "end",
"tags": []
},
{
"af_type": "qywx",
"created_at": 1594728378,
"id": 62,
"invited_count": 0,
"name": "aaaac",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 12,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang"
],
"status": "end",
"tags": []
},
{
"af_type": "qywx",
"created_at": 1594728490,
"id": 63,
"invited_count": 1,
"name": "abc",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 2,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang",
"LvDouNiuNaiBing",
"Shiyan"
],
"status": "end",
"tags": [
1275,
1281,
1282
]
},
{
"af_type": "qywx",
"created_at": 1594729421,
"id": 66,
"invited_count": 0,
"name": "啊啊啊市场",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 12,
"prize_staff_id_list": null
}
],
"staff_ids": [
"PanPan"
],
"status": "end",
"tags": []
},
{
"af_type": "qywx",
"created_at": 1594729507,
"id": 68,
"invited_count": 0,
"name": "1233333",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 1,
"prize_staff_id_list": null
}
],
"staff_ids": [
"LvDouNiuNaiBing",
"x.l",
"KeLeDanJuan",
"coooo",
"codetalks",
"charles",
"x",
"MuZiJinKou",
"YueXiaoBan",
"DuoLe",
"incompletemountain",
"a70911341cdcef126975b2149b2c8940",
"TianKong",
"YangGuang",
"ll",
"LiYan",
"ZhangXinYu01",
"KeLe",
"ShengShiYiHuiShou",
"LuoKai",
"xiaoban",
"JuZiTou",
"QunFaDaShi-YouYou",
"cheng",
"YiShiYuQiao",
"LuoDaDa",
"YeMinMin",
"YiBanZhangFenDaShi-YaoYao",
"XiaoHong",
"Shiyan",
"XingHeChangMing",
"SiSi",
"ZhangBoEn",
"5bf6dcdba3a20fd3dd4e000c92997171",
"yhjwwhm",
"TuanZi",
"c",
"ZaHuiShiEr",
"850c7c451e0c6b52ed69baa29b47b6d1",
"NiGeQiu",
"lemon",
"clth",
"PanPan",
"YuanLiDianDaoMengXiang"
],
"status": "end",
"tags": []
},
{
"af_type": "qywx",
"created_at": 1594729710,
"id": 69,
"invited_count": 0,
"name": "5566",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 1,
"prize_staff_id_list": null
}
],
"staff_ids": [
"LvDouNiuNaiBing",
"x.l",
"KeLeDanJuan",
"coooo",
"codetalks",
"charles",
"x",
"MuZiJinKou",
"YueXiaoBan",
"DuoLe",
"incompletemountain",
"a70911341cdcef126975b2149b2c8940",
"TianKong",
"YangGuang",
"ll",
"LiYan",
"ZhangXinYu01",
"KeLe",
"ShengShiYiHuiShou",
"LuoKai",
"xiaoban",
"JuZiTou",
"QunFaDaShi-YouYou",
"cheng",
"YiShiYuQiao",
"LuoDaDa",
"YeMinMin",
"YiBanZhangFenDaShi-YaoYao",
"XiaoHong",
"Shiyan",
"XingHeChangMing",
"SiSi",
"ZhangBoEn",
"5bf6dcdba3a20fd3dd4e000c92997171",
"yhjwwhm",
"TuanZi",
"c",
"ZaHuiShiEr",
"850c7c451e0c6b52ed69baa29b47b6d1",
"NiGeQiu",
"lemon",
"clth",
"PanPan",
"YuanLiDianDaoMengXiang"
],
"status": "end",
"tags": []
},
{
"af_type": "qywx",
"created_at": 1594730347,
"id": 70,
"invited_count": 5,
"name": "这是一个不能删除的任务",
"new_user_count": 0,
"outflow_count": 1,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 2,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang"
],
"status": "end",
"tags": [
973,
1013,
1015
]
},
{
"af_type": "qywx",
"created_at": 1594778505,
"id": 72,
"invited_count": 2,
"name": "666",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 2,
"prize_staff_id_list": null
}
],
"staff_ids": [
"x.l",
"PanPan"
],
"status": "end",
"tags": [
973
]
},
{
"af_type": "qywx",
"created_at": 1594799117,
"id": 73,
"invited_count": 4,
"name": "66666",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 2,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang"
],
"status": "end",
"tags": [
1284,
1290
]
},
{
"af_type": "qywx",
"created_at": 1594801518,
"id": 74,
"invited_count": 4,
"name": "7777777",
"new_user_count": 0,
"outflow_count": 3,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 2,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang"
],
"status": "end",
"tags": [
1284,
1290
]
},
{
"af_type": "qywx",
"created_at": 1594802583,
"id": 75,
"invited_count": 3,
"name": "不要删除老夫的活动",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 2,
"prize_staff_id_list": null
}
],
"staff_ids": [
"PanPan"
],
"status": "end",
"tags": []
},
{
"af_type": "qywx",
"created_at": 1594806458,
"id": 76,
"invited_count": 2,
"name": "9999911",
"new_user_count": 0,
"outflow_count": 0,
"prize_rule": [
{
"finished_mark_tag": [],
"level": 1,
"notify_rule": 2,
"prize_staff_id_list": null
}
],
"staff_ids": [
"YangGuang"
],
"status": "end",
"tags": [
973
]
}
],
"total": 620
}
修改于 6 个月前