detailList 中每个 detail 必须与 moduleType 一致,否则会报错。moduleType 指定为 Radio,则需要填写 optionId。moduleType 指定为 Attachment,则需要填写 fileId。moduleType 指定为 Location,则需要填写 lat 和 lng。content。{
"businessId": 10,
"stageId": 10,
"templateId": 10,
"templateName": "日常",
"version": 1,
"userId": 10,
"result": "finish",
"nextTime": {
"scheduleName": "日常跟进",
"nextContactTime": "2019-08-24T14:15:22Z",
"nextTimeLength": 60,
"nextRemindLength": 30
},
"actualStartTime": "2019-08-24T14:15:22Z",
"actualEndTime": "2019-08-24T14:15:22Z",
"remark": "备忘录",
"detailList": [
{
"moduleId": 20,
"moduleType": "Radio",
"moduleName": "你的问题是",
"moduleConfig": "{\"label\":\"单选\"}",
"moduleCommunicateResult": "finish",
"detail": [
{
"optionId": 20,
"content": "这是答案",
"nextTime": {
"scheduleName": "日常跟进",
"nextContactTime": "2019-08-24T14:15:22Z",
"nextTimeLength": 60,
"nextRemindLength": 30
},
"fileId": 10,
"fileName": "file.png",
"fileUrl": "https://file.png",
"fileSize": 1024,
"lat": 39.984154,
"lng": 39.984154
}
]
}
]
}curl --location --request POST '/open-api/customer/biz-submit/add-follow' \
--header 'Authorization: Bearer {{auth_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"businessId": 10,
"stageId": 10,
"templateId": 10,
"templateName": "日常",
"version": 1,
"userId": 10,
"result": "finish",
"nextTime": {
"scheduleName": "日常跟进",
"nextContactTime": "2019-08-24T14:15:22Z",
"nextTimeLength": 60,
"nextRemindLength": 30
},
"actualStartTime": "2019-08-24T14:15:22Z",
"actualEndTime": "2019-08-24T14:15:22Z",
"remark": "备忘录",
"detailList": [
{
"moduleId": 20,
"moduleType": "Radio",
"moduleName": "你的问题是",
"moduleConfig": "{\"label\":\"单选\"}",
"moduleCommunicateResult": "finish",
"detail": [
{
"optionId": 20,
"content": "这是答案",
"nextTime": {
"scheduleName": "日常跟进",
"nextContactTime": "2019-08-24T14:15:22Z",
"nextTimeLength": 60,
"nextRemindLength": 30
},
"fileId": 10,
"fileName": "file.png",
"fileUrl": "https://file.png",
"fileSize": 1024,
"lat": 39.984154,
"lng": 39.984154
}
]
}
]
}'{
"code": 0,
"msg": "string"
}