编辑会议室

编辑会议室

1. 接口描述

接口名称:

/confopenapi/room/update

发送方式:

POST

参数格式:

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

2. 输入参数

参数名 必选 类型 说明
roomId int 会议室id
status int 会议室状态 1:启用(默认) ,2:禁用
userId int 创建账号
roomName string 会议室名称(唯一,不能重复)
capacity int 会议室容量
city string 所在城市
location string 具体楼宇
floor int 楼层
logoUrl string 会议室图片
detailAddress string 详细地址
approvalType string 审批类型 0:不需要审批 1:需要审批
members object 指定使用者列表,可以是组织、用户,{”orgIds”:[1000,2000],”userIds”:[2100]}

members

参数名 必选 类型 说明
orgIds int array 组织id数组
userIds int array 账号userid数组

3. 示例

传参示例

{
    "userId":88733538,
    "roomId": 11816,
    "roomName":"会议室test7",
    "capacity":100,
    "city":"北京",
    "location":"科技大厦",
    "floor":15,
    "logoUrl":"",
    "detailAddress":"",
    "approvalType":1,
    "status":1,
    "members": {
        "orgIds": [
            123
        ]
    }
}

返回示例

{
    "status": 0,
    "result": {
        "RoomPhoneInfo": "",
        "allowBorrow": 0,
        "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": "",
        "location": "科技大厦",
        "logoUrl": "",
        "name": "会议室test7",
        "pinyin": "",
        "props": null,
        "roomId": 11816,
        "roomPhone": "",
        "roomType": 0,
        "star": 0,
        "status": 1,
        "trial": 0,
        "umsUserId": 0,
        "updateTime": 1665371050,
        "vcode": "",
        "vcode_flag": 0,
        "video_flag": false,
        "zoneCode": ""
    },
    "request_id": "roomadminserver-172.10.203.250-1665371050.704001430.797",
    "reqid": "confopenapiserver-10.1.89.6-1665371048.181527300.59",
    "timestamp": 1665371048181,
    "request_duration": "3.0111723s"
}

4. 返回参数

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

result 参数说明

参数名 类型 说明
roomId int 会议id
status int 会议室状态 1:启用(默认) ,2:禁用

备注

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