Skip to content

创建部门联系人 API

PathMethodCreated At
/api/customers/departments/create/{customerId}/{departmentId}/employeePOST2025-11-29 00:39:11

Request

KeyRuleDescription
customerIdstring,size:24trans:validate.CUSTOMER_NOT_FOUND
namestring,max:32联系人姓名不能超过32个字符
positionstring,max:32联系人职位不能超过32个字符
phoneregex:/^1[3-9]\d{9}$/联系人手机号码不正确
relationshipstring,max:32客勤关系不能超过32个字符
emailemail:rfc,dns联系人邮箱不正确
primary_indexin:1,2,3,4,5关键指数不能超过32个字符
descriptionstring,max:255联系人描述不能超过255个字符

Response

KeyTypeExampleComment