- 对接说明
- 全局异常码
- 联系人合并接口迁移说明
- 一、获取访问凭据
- 二、通讯录管理
- 三、企微好友管理🚀🚀🚀
- 四、线索管理(即将废弃)
- 五、企业管理🚀🚀🚀
- 六、智能码
- 七、三方ID转换
- 八、跟进记录🚀🚀🚀
- 九、旅程动态🚀🚀🚀
- 十、商机🚀🚀🚀
- 十一、资料库
- 十二、标签管理🚀🚀🚀
- 十三、营销组件
- 十四、消息推送
- 十五、群相关
- 十六、自定义字段🚀🚀🚀
- 十七、外呼相关
- 十八、个微人脉管理
- 十九、联系人🚀🚀🚀
- 二十、活动管理
- 事件回调🚀🚀🚀
10.1 获取商机详情(即将废弃)
POST
https://openapi.weiling.cn/openapi/business/get
请求参数
Query 参数
access_token
string
必需
Body 参数application/json
business_ids
array[string]
可选
商机id列表(长度<=100)
business_name
string
商机名称
cursor
string
分页游标,初始为空
start
integer
可选
user_id
string
归属人id
示例
{
"business_ids": [
"string"
],
"business_name": "string",
"cursor": "string",
"start": 0,
"user_id": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openapi.weiling.cn/openapi/business/get?access_token' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
msg
string
必需
code
integer
必需
data
object
必需
cursor
string
分页游标
business_list
array [object {22}]
商机列表
示例
{
"msg": "success",
"code": 0,
"data": {
"business_list": [
{
"business_id": "JVjF70AGsxR4aGkD2y1g9RAwUc1ZJHH-xI6y1vt-bRI",
"business_name": "但是方法",
"company_id": "HOKTGl4htLn_mcun4QF5G0HVZA9JcVFIwZi1vFte4YU",
"company_name": "台州市格好机电有限公司",
"stage": 100,
"stage_name": "赢单",
"status": 0,
"owner_id": "wOivoLRIP1CEl_ExUVRZigumBZ9CufTl-Mx4MPkQzpY",
"except_amount": 11,
"except_date": "2022-04-26",
"create_user_id": "wOivoLRIP1CEl_ExUVRZigumBZ9CufTl-Mx4MPkQzpY",
"create_time": 1650866122000,
"winning_amount": 239525,
"winning_date": "2021-04-30",
"update_time": 1619719356000,
"staff_list": [
{
"user_id": "wOivoLRIP1CEl_ExUVRZigumBZ9CufTl-Mx4MPkQzpY",
"nick_name": "李云亮",
"avatar": "https://wework.qpic.cn/wwpic/779248_aW83zepESsuv6kP_1651967890/0",
"position": "测试侧哈啊哈发卡行就爱上咖啡"
}
]
},
{
"business_id": "TXUICgpJzzFJUrHYaIZABGpG21uNQziaAmg-V2cLx_g",
"business_name": "",
"company_id": "qKDTT29vMhNG2GmPU0A-kO6jHL8xz7zybPt0pJU5kw8",
"company_name": "上海宝冶集团有限公司",
"stage": 1,
"stage_name": "需求沟通",
"owner_id": "L0lA-twp4wnFvagNO9AAUGpG21uNQziaAmg-V2cLx_g",
"except_amount": 123,
"except_date": "2022-04-25",
"create_user_id": "L0lA-twp4wnFvagNO9AAUGpG21uNQziaAmg-V2cLx_g",
"create_time": 1650874355000,
"staff_list": [
{
"user_id": "ZiDcy2WgGA29LddvWH0ogZPu0KbOI2useAazTM_C98s",
"nick_name": "王恒",
"avatar": "http://wework.qpic.cn/bizmail/2a2eiaHTicGdlkELPhxYM4RRMIsmDib6ianQNvIZ2fjibkxnz9ofIawZTvg/0",
"position": ""
},
{
"user_id": "ZiDcy2WgGA29LddvWH0ogZE3Gm14qcu7ozajnJkHjLk",
"nick_name": "李幸运",
"avatar": "http://wework.qpic.cn/wwhead/duc2TvpEgST9hicuyypLEKL9fLxK04c9S345vDI8Icsd0EMmHeWUGYvdLSTIUVt9X35yOUkOfibeA/0",
"position": "weO<>\"?>REFERGJKWFJ6734890ui9584734ibndf\\\\\\\"\"''\\\\''\\'\\'\\'\\'\\'\\:\"{:>I\"{K?\"\"\"\"\"\"\"\"\"\"\"\"//////\\\\\\\\\\\\\"G\"|||R\\\\\\r\\gerh;w\\"
},
{
"user_id": "L0lA-twp4wnFvagNO9AAUGpG21uNQziaAmg-V2cLx_g",
"nick_name": "廖秀力",
"avatar": "https://wework.qpic.cn/wwpic/263893_SrMms92eSQGka_U_1653924755/0",
"position": ""
}
],
"customer_list": [
{
"id": "JQIucOoo4GNcpXlD6cBW_qpwwoo8D1ZGlcDyIWGIpw4",
"nick_name": "刘",
"type": 0,
"op_user_id": "ZiDcy2WgGA29LddvWH0ogZPu0KbOI2useAazTM_C98s",
"remark": ""
},
{
"id": "F5zxIQ_zJJG5P0OoBgjpxkbvkC4lVOXdwxXPSU3U-uQ",
"nick_name": "李云亮",
"type": 1,
"op_user_id": "ZiDcy2WgGA29LddvWH0ogZE3Gm14qcu7ozajnJkHjLk",
"remark": "备注"
}
]
},
{
"business_id": "2X5OeDMtX3zBPz9qg7G7-UHVZA9JcVFIwZi1vFte4YU",
"stage": 99,
"stage_name": "丢单",
"owner_id": "ZiDcy2WgGA29LddvWH0ogRjltzTI-QOMLO_nI9J3ics",
"create_user_id": "ZiDcy2WgGA29LddvWH0ogRjltzTI-QOMLO_nI9J3ics",
"create_time": 1619713441000,
"customer_list": [
{
"id": "_m7m3Sxb2TZGJd7T4QUrdygRzlT2v9M1SGABpMDsRgk",
"nick_name": "皮皮怪阿木木",
"type": 1
}
],
"update_time": 1621304572000,
"fail_reason": 99,
"fail_reason_desc": "同行调研",
"business_custom": {
"测试0927": "666",
"world": [
8,
16
],
"data": "1665417600000",
"smallnum": 1.8,
"测试092702": "555",
"hello": 8,
"ledweww__d": "333"
}
}
]
}
}
修改于 2025-01-15 05:45:05