- 测试服务
- 客户信息
- 联系人管理
- 国家省市区
- 业务参数
- 商机
- 产品
- 合同
- 员工管理
- 回款计划
- 回款管理
- 发票管理
- 礼品积分
- 文档说明GET
添加商机
POST
/businesses
请求参数
Header 参数
token
string
必需
默认值:
{{token}}
lang
string
必需
默认值:
zh_CN
Body 参数application/json
title
string
商机名称
customer_id
integer
客户ID
amount
number
商机金额
may_deal_date
string
预计成交日期
business_status_id
integer
必需
content
string
备注
create_user_id
integer
添加者ID
importance
integer
重要性,1-5
win_rate
integer
赢单率
示例
{
"title": "string",
"customer_id": 0,
"amount": 0,
"may_deal_date": "string",
"business_status_id": 0,
"content": "string",
"create_user_id": 0,
"importance": 0,
"win_rate": 0
}
示例代码
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://app.jkcrm.vip/api/v1/businesses' \
--header 'token;' \
--header 'lang;' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "string",
"customer_id": 0,
"amount": 0,
"may_deal_date": "string",
"business_status_id": 0,
"content": "string",
"create_user_id": 0,
"importance": 0,
"win_rate": 0
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2023-07-29 14:13:53