查询会议室(客户端)

客户端查询会议室

1. 接口描述

接口名称:

/confopenapi/room/listByUser

发送方式:

POST

参数格式:

accept: application/json;content-type: application/json

2. 输入参数

参数名 必选 类型 说明
userId int 账号userId
roomIds int array 会议室id数组

3. 示例

传参示例

{
    "userId":88733570
}
{
    "userId":88733570,
    "roomIds":[11806]
}

返回示例

{
    "status": 0,
    "result": [
        {
            "RoomPhoneInfo": "",
            "allowBorrow": 1,
            "approvalType": 0,
            "area": null,
            "billingCode": "",
            "capacity": 100,
            "city": "北京",
            "country": "",
            "countryCode": "",
            "creator": 88733538,
            "customer_code": "154327",
            "customer_name": "",
            "deployment": "",
            "detail_address": "",
            "extNumber": "",
            "floor": 15,
            "guestPassword": "",
            "hostPassword": "",
            "initials": "hysbjkjds",
            "location": "科技大厦",
            "logoUrl": "",
            "name": "会议室test6",
            "pinyin": "huiyishitest6beijingkejidasha",
            "props": null,
            "roomId": 11815,
            "roomPhone": "",
            "roomType": 0,
            "star": 0,
            "status": 1,
            "trial": 0,
            "umsUserId": 0,
            "updateTime": 1665303986,
            "vcode": "",
            "vcode_flag": 1,
            "video_flag": false,
            "zoneCode": "",
            "devices":[
              {
                  "customer_code":"003973",
                  "customer_name":"",
                  "deviceId":67002363,
                  "name":"盒子会议室",
                  "label":"GN3399BOX0001548",
                  "type":{
                      "typeId":1,
                      "typeBrand":"",
                      "typeExtId":256,
                      "typeName":""
                  },
                  "status":1,
                  "logoUrl":"",
                  "ip":"",
                  "address":"",
                  "createTime":0,
                  "updateTime":0,
                  "room":null,
                  "umsUserId":18086470,
                  "billingCode":"38044844",
                  "hostPassword":"9829903606",
                  "guestPassword":"9829843940",
                  "deployment":"5",
                  "boxType":132,
                  "conferenceStauts":0,
                  "extCall":0,
                  "biosVersion":"20200619.152335",
                  "appVersion":"3.1.2010261.E",
                  "modelName":"rk3399-box",
                  "boxModel":2,
                  "vcode":"",
                  "info":null
              }
            ]
        },
        {
            "RoomPhoneInfo": "",
            "allowBorrow": 1,
            "approvalType": 0,
            "area": null,
            "billingCode": "",
            "capacity": 100,
            "city": "",
            "country": "",
            "countryCode": "",
            "creator": 88610849,
            "customer_code": "154327",
            "customer_name": "",
            "deployment": "",
            "detail_address": "",
            "extNumber": "",
            "floor": 10,
            "guestPassword": "",
            "hostPassword": "",
            "initials": "hys",
            "location": "",
            "logoUrl": "",
            "members": {
                "orgIds": [
                    73878890
                ]
            },
            "name": "会议室test1",
            "pinyin": "huiyishitest1",
            "props": null,
            "roomId": 11804,
            "roomPhone": "",
            "roomType": 0,
            "star": 1,
            "status": 1,
            "trial": 0,
            "umsUserId": 0,
            "updateTime": 1665297415,
            "vcode": "",
            "vcode_flag": 1,
            "video_flag": false,
            "zoneCode": ""
        },
        {
            "RoomPhoneInfo": "",
            "allowBorrow": 0,
            "approvalType": 0,
            "area": null,
            "billingCode": "",
            "capacity": 100,
            "city": "",
            "country": "",
            "countryCode": "",
            "creator": 88740121,
            "customer_code": "154327",
            "customer_name": "",
            "deployment": "",
            "detail_address": "",
            "extNumber": "",
            "floor": 10,
            "guestPassword": "",
            "hostPassword": "",
            "initials": "hys",
            "location": "",
            "logoUrl": "",
            "name": "会议室test3",
            "pinyin": "huiyishitest3",
            "props": null,
            "roomId": 11806,
            "roomPhone": "",
            "roomType": 0,
            "star": 1,
            "status": 1,
            "trial": 0,
            "umsUserId": 0,
            "updateTime": 1664502571,
            "vcode": "",
            "vcode_flag": 0,
            "video_flag": false,
            "zoneCode": ""
        }
    ],
    "request_id": "roomadminserver-172.10.203.250-1665384857.44082938.81",
    "reqid": "confopenapiserver-10.1.89.6-1665384857.88097000.425",
    "timestamp": 1665384857088,
    "request_duration": "301.0172ms"
}

4. 返回参数

参数名 类型 说明
status int 0:成功,非0失败
result json字符串 结果

result 参数说明

参数名 类型 说明
roomId int 会议id
devices json 会议室里的设备信息

备注

  • 更多返回错误代码请看首页的错误代码描述