dingtalk.oapi.smartdevice.focusdetail.get (获取企业的投屏数据)

企业获取自己企业的投屏数据详情

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
cursor Number 可选 0
  • 默认值:0
  • 起始游标,从0开始
    size Number 可选 20
  • 默认值:20
  • 每页大小,1-100

    响应参数

    名称 类型 示例值 描述
    result PageVO 页数据结果
    • └ next_cursor
    • Number
    • 2
    • 下一个游标
    • └ next_cursor_string
    • String
    • demo
    • 下一游标
    • └ has_more
    • Boolean
    • true
    • 是否有更多记录
    • list
    • FocusDetailVO []
    • 投屏数据列表
    • └ user_name
    • String
    • 张三
    • 用户名
    • └ dept_full_name
    • String
    • 部门一
    • 部门全称
    • └ nick_name
    • String
    • 某设备
    • 投屏设备呢称
    • └ room
    • String
    • 会议室
    • 会议室
    • └ create_date
    • Date
    • 1569372673000
    • 投屏时间,单位毫秒
    errcode Number 440011 错误码
    errmsg String 系统异常 错误信息
    success Boolean true 请求是否成功

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    DingTalkClient client = new DefaultDingTalkClient("https://oapi.dingtalk.com/topapi/smartdevice/focusdetail/get");
    OapiSmartdeviceFocusdetailGetRequest req = new OapiSmartdeviceFocusdetailGetRequest();
    req.setCursor(0L);
    req.setSize(20L);
    OapiSmartdeviceFocusdetailGetResponse rsp = client.execute(req, access_token);
    System.out.println(rsp.getBody());

    响应示例

    • JSON示例
    {
        "result":{
            "next_cursor":2,
            "next_cursor_string":"demo",
            "has_more":true,
            "list":[
                {
                        "user_name":"张三",
                        "dept_full_name":"部门一",
                        "nick_name":"某设备",
                        "room":"会议室",
                        "create_date":"1569372673000"
                }
            ]
        },
        "errcode":440011,
        "errmsg":"系统异常",
        "success":true
    }

    异常示例

    • JSON示例
    {
    	"errcode":88,
    	"errmsg":"ding talk error"
    }

    错误码解释

    错误码 错误描述 解决方案

    API工具

    如何获得此API

    FAQ

    返回
    顶部