应用类型 | 是否支持 | 权限 | API Explorer调试 |
---|---|---|---|
企业内部应用 | 支持 | 获取CRM主数据的接口访问权限 | API Explorer |
第三方企业应用 | 支持 | 获取CRM主数据的接口访问权限 | API Explorer |
第三方个人应用 | 暂不支持 | 获取CRM主数据的接口访问权限 | 暂不支持 |
HttpCode | 错误码 | 错误信息 | 说明 |
---|---|---|---|
400 | crm.not.installed | crm.not.installed | 客户管理应用未安装。 |
400 | request.too.frequent | 请求太频繁 | 请求过于频繁。 |
400 | invalid.objectType | invalid objectType | 不存在的objectType |
400 | param.error | 参数非法 | 参数非法 |
400 | org.not.exists | org not exists | 组织不存在或已解散 |
500 | system.error | 系统错误 | 系统错误 |
curl --location --request POST 'https://api.dingtalk.com/v1.0/crm/customerInstances' \
--header 'x-acs-dingtalk-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"operatorUserId" : "String",
"maxResults" : Long,
"nextToken" : "String",
"objectType" : "String"
}'
{
"result": {
"nextToken": "100",
"values": [
{
"creatorNick": "张三",
"modifyTime": "2019-12-25 15:33:12",
"creatorUserId": "ding_userid",
"instanceId": "instance_id",
"createTime": "2019-12-25 15:33:12",
"objectType": "crm_customer",
"permission": {
"participantStaffIds": [
"staff_id"
],
"ownerStaffIds": [
"staff_id"
]
},
"processOutResult": "agree",
"processInstanceStatus": "COMPLETE"
}
],
"maxResults": 100
}
}
【钉钉】API开发者 微信交流群
用微信扫右侧二维码,加入【钉钉】API开发者 交流群,互助沟通