分配企业/联系人
最后更新:2025/02/12请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/crm3/coop/distributeBusiness
Query参数:
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | string | 是 | 调用接口凭证 |
Body参数:
{
"business_ids": ["1631517114528779266"],
"business_type": 1,
"owner_id": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw",
"operator_type": 1,
"user_id": "wovvCXcAAAXio3fEwulPCVHqUnRlT5iw"
}
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
business_ids | string[] | 是 | 业务对象id,不超过200条 |
business_type | int | 是 | 业务对象类型 1 联系人,2 企业 |
user_id | string | 是 | 操作人 |
owner_id | string | 是 | 负责人ID |
operator_type | int | 是 | 操作类型:1 分配负责人 2 分配公海中的负责人 |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"total_count": 2,
"success_count": 2,
"fail_count": 0,
"msg_map": {}
}
}
参数说明:
参数 | 类型 | 说明 |
---|---|---|
code | int | 返回码 |
msg | string | 对返回码的文本描述内容 |
data | object | 对象 |
total_count | int | 总条数 |
success_count | int | 成功条数 |
fail_count | int | 失败条数 |
msg_map | Map |
失败原因:key:对象ID,value:失败原因 |