Skip to content

创建客户拜访记录 API

PathMethodCreated At
/api/customers/visits/{customerId}/createPOST2025-11-29 00:39:11

Request

KeyRuleDescription
customerIdstring,size:24客户不存在
titlestring,max:255标题不能为空,必须再255个字符以内
participantsarray,min:1至少有一个参与人
sourcein:CUSTOMER,BO来源字段错误
contentsrequired_if:source,CUSTOMER,string,max:2000内容不能为空,必须再2000个字符以内
expensesrequired_if:source,CUSTOMER,decimal:0,2,min:0.0000费用不能为空, 小数点保留两位
feedbackrequired_if:source,CUSTOMER,string,max:255客户反馈不能为空,必须再255个字符以内
typerequired_if:source,CUSTOMER,in:SALES,PRE_SALES,AFTER_SALES,JOINT,BUSINESS_VISIT,OTHER活动类型不能为空
bo_idstring,size:24商机不存在
outcomerequired_if:source,BO,string,max:2000成果不能为空, 不能超过 2000 个字符
problemrequired_if:source,BO,string,max:2000问题不能为空, 不能超过 2000 个字符
action_itemsrequired_if:source,BO,string,max:2000下一步共奏不能为空, 不能超过 2000 个字符
project_stagerequired_if:source,BO,string项目阶段不存在

Response

KeyTypeExampleComment