应用类型 | 是否支持 | 权限 | API Explorer调试 |
---|---|---|---|
企业内部应用 | 支持 | 企业百科词条读权限 | API Explorer |
第三方企业应用 | 支持 | 企业百科词条读权限 | API Explorer |
第三方个人应用 | 暂不支持 | 企业百科词条读权限 | 暂不支持 |
HttpCode | 错误码 | 错误信息 | 说明 |
---|---|---|---|
400 | requestError.wordName | 当前传递过来的词条名称信息不能为空 | 当前传递过来的词条名称信息不能为空 |
400 | paramError.uuid | 查询操作主键uuid不能为空 | 查询操作主键uuid不能为空 |
400 | paramError.corpId | 获取到的企业编号不能为空 | 获取到的企业编号不能为空 |
400 | paramError.userId | 操作员工编号userId不能为空 | 操作员工编号userId不能为空 |
400 | paramError.userId | 操作员工编号userId填写错误未找到对应员工信息 | 操作员工编号userId填写错误未找到对应员工信息 |
curl --location --request POST 'https://api.dingtalk.com/v1.0/pedia/words/query?uuid=Long&userId=String' \
--header 'x-acs-dingtalk-access-token;'
{
"data": {
"wordName": "string",
"uuid": 0,
"gmtCreate": 0,
"gmtModify": 0,
"wordAlias": [
"string"
],
"highLightWordAlias": [
"string"
],
"relatedDoc": [
{
"name": "string",
"type": "string",
"link": "string"
}
],
"relatedLink": [
{
"name": "string",
"link": "string"
}
],
"creatorName": "string",
"updaterName": "string",
"approveName": "string",
"wordParaphrase": "string",
"simpleWordParaphrase": "string",
"contacts": [
"string"
],
"tagsList": [
"string"
],
"appLink": [
{
"appName": "string",
"pcLink": "string",
"phoneLink": "string",
"iconLink": "string"
}
],
"imHighLight": true,
"simHighLight": true,
"picList": [
{
"mediaIdUrl": "string"
}
],
"contactList": [
{
"userId": "string",
"nickName": "string",
"avatarMediaId": "string"
}
],
"userId": "string",
"parentUuid": 0
},
"success": true
}
【钉钉】API开发者 微信交流群
用微信扫右侧二维码,加入【钉钉】API开发者 交流群,互助沟通