应用类型 | 是否支持 | 权限 | API Explorer调试 |
---|---|---|---|
企业内部应用 | 支持 | 维护CRM主数据的接口写入权限 | API Explorer |
第三方企业应用 | 支持 | 维护CRM主数据的接口写入权限 | API Explorer |
第三方个人应用 | 暂不支持 | 维护CRM主数据的接口写入权限 | 暂不支持 |
HttpCode | 错误码 | 错误信息 | 说明 |
---|---|---|---|
400 | request.too.frequent | request too frequent | 请求过于频繁 |
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 | non.open.customer | draw or assign is not allowed for non-open-customer | 该实例非公海客户,不允许操作 |
400 | systemError.appNotExists | %s | 应用不存在 |
400 | systemError.notPermittedAccess | %s | 无权限操作 |
400 | businessError | businessError, %s | 业务错误 |
400 | creatorUserId.not.exists | creatorUserId not exists | creatorUserId不是企业员工 |
400 | daily.call.limit | daily call limit | 单日调用数量已达上限,请择日再次调用 |
500 | systemError | system error %s %s | 系统错误 |
500 | systemError | system error, %s %s | 系统错误 |
curl --location --request POST 'https://api.dingtalk.com/v1.0/crm/personalCustomers' \
--header 'x-acs-dingtalk-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"creatorUserId" : "String",
"creatorNick" : "String",
"permission" : {
"ownerStaffIds" : [ "String" ],
"participantStaffIds" : [ "String" ]
},
"relationType" : "String",
"skipDuplicateCheck" : Boolean,
"action" : "String"
}'
{
"instanceId": "8a0d5031-xxxx-"
}
【钉钉】API开发者 微信交流群
用微信扫右侧二维码,加入【钉钉】API开发者 交流群,互助沟通