customerId 和 prospectId 不能同时为空, 只需要填写一个,当两者都存在时,根据 source 获取:source 为 1 时,customerId 必填;source 为 2 时,prospectId 必填;source 为 3 时,prospectId 和prospectFollowLineId 必填;nextContactTime 为空时,不会创建日程{
"lineId": 10,
"processId": 10,
"nextTime": {
"scheduleName": "xx日程",
"nextContactTime": "2024-08-08T14:00:00Z",
"nextTimeLength": 60,
"nextRemindLength": 30
},
"customerId": 100,
"prospectId": 200,
"prospectFollowLineId": 300,
"userId": 500,
"source": 1
}curl --location --request POST '/open-api/customer/biz-submit/create-business' \
--header 'Authorization: Bearer {{auth_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"lineId": 10,
"processId": 10,
"nextTime": {
"scheduleName": "xx日程",
"nextContactTime": "2024-08-08T14:00:00Z",
"nextTimeLength": 60,
"nextRemindLength": 30
},
"customerId": 100,
"prospectId": 200,
"prospectFollowLineId": 300,
"userId": 500,
"source": 1
}'{
"code": 0,
"msg": "string"
}