应用类型 | 是否支持 | 权限 | API Explorer调 试 |
---|---|---|---|
企业内部应用 | 支持 | 维护CRM主数据的接口写入权限 | API Explorer |
第三方企业应用 | 支持 | 维护CRM主数据的接口写入权限 | API Explorer |
第三方个人应用 | 暂不支持 | 维护CRM主数据的接口写入权限 | 暂不支持 |
HttpCode | 错误码 | 错误信息 | 说明 |
---|---|---|---|
400 | request.too.frequent | request too frequent | 请求过于频繁 |
400 | noPermission.to.update | no permission to update this customer | 没有更新此数据的权限 |
400 | relationType.not.exists | relationType not exists | relationType不存在 |
400 | data.format.error | %s | 表单数据格式错误 |
400 | noPermission.to.setField | %s | 没有设置字段的权限 |
400 | count.exceeds.limit | count exceeds limit | 数量达到上限 |
400 | same.data.exists | same data exists | 已存在相同数据 |
400 | invalid.uk.parameter | invalid uk parameter | 查重字段为空 |
400 | customerCountUnderPrincipal.exceeds.limit | customer count under principal exceeds limit | 负责人名下客户数量达到上限 |
400 | sameMobileCount.exceeds.limit | same mobile count exceeds limit | 同一个手机号不能被添加超过10次 |
400 | duplicate.operation | duplicate operation | 重复操作 |
400 | data.not.exists | data not exists | 数据不存在 |
400 | non.open.customer | draw or assign is not allowed for non-open-customer | 该实例非公海客户,不允许操作 |
400 | systemError.appNotExists | %s | 应用不存在 |
400 | systemError.notPermittedAccess | %s | 无权限操作 |
400 | no.valid.parameter | no valid parameter, can not update | 没有传入有效参数,禁止更新 |
400 | modifierUserId.not.exists | modifierUserId not exists | modifierUserId不是企业员工 |
400 | mobileFormatError | mobileFormatError | 手机号格式错误 |
400 | canNotModifyOutLeadsId | can not modify outLeadsId | 不允许修改outLeadsId |
500 | systemError | system error %s %s | 系统错误 |
500 | systemError | system error, %s %s | 系统错误 |
curl --location --request PUT 'https://api.dingtalk.com/v1.0/crm/personalCustomers' \
--header 'x-acs-dingtalk-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"instanceId" : "String",
"modifierUserId" : "String",
"modifierNick" : "String",
"permission" : {
"ownerStaffIds" : [ "String" ],
"participantStaffIds" : [ "String" ]
},
"relationType" : "String",
"skipDuplicateCheck" : Boolean,
"action" : "String"
}'
{
"instanceId" : "8a0d5031-xxx-"
}
【钉钉】API开发者 微信交流群
用微信扫右侧二维码,加入【钉钉】API开发者 交流群,互助沟通