| 应用类型 | 是否支持 | 权限 | API Explorer调试 |
|---|---|---|---|
| 企业内部应用 | 支持 | Rooms自定义屏幕写权限 | API Explorer |
| 第三方企业应用 | 支持 | Rooms自定义屏幕写权限 | API Explorer |
| 第三方个人应用 | 暂不支持 | 暂不支持 | 暂不支持 |
| HttpCode | 错误码 | 错误信息 | 说明 |
|---|---|---|---|
| 400 | param.error | Param Error | 参数错误 |
| 400 | no.permission | No Permission | 无权限 |
| 400 | duplicate.template.name | Duplicate Template Name | 模板名称重复 |
| 400 | picture.format.error | Picture Format Error | 图片格式错误 |
| 400 | template.not.found | Template Not Found | 模板找不到 |
| 500 | system.error | System Error | 系统错误 |
curl --location --request POST 'https://api.dingtalk.com/v1.0/rooms/devices/screens/templates' \
--header 'x-acs-dingtalk-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"templateName" : "String",
"logo" : "String",
"orgName" : "String",
"customDoc" : "String",
"bgUrl" : "String",
"bgImgList" : [ "String" ],
"instruction" : Boolean,
"bgType" : Integer,
"isPicTop" : Integer,
"hideServerCodeWhenProjecting" : Boolean,
"showCalendarTitle" : Boolean,
"desensitizeUserName" : Boolean,
"picturePlayInterval" : Integer,
"showCalendarCard" : Boolean,
"showFunctionCard" : Boolean,
"deviceUnionIds" : [ "String" ],
"groupIds" : [ Long ],
"roomIds" : [ "String" ]
}'{
"templateId": 0
}
【钉钉】API开发 者 微信交流群
用微信扫右侧二维码,加入【钉钉】API开发者 交流群,互助沟通

扫码加入交流群