接口描述
描述:查询企业购买的 Rooms 资源,目前暂不支持 OAuth2.0 鉴权访问。该接口即将废弃,请使用 查询账号类型资源使用统计 接口。
请求方式:GET
接口操作者权限点:需具备会议室管理的查看权限。
接口请求域名:
https://api.meeting.qq.com/v1/rooms-inventory&operator_id={operator_id}&operator_id_type={operator_id_type}
输入参数
参数名称 | 必选 | 参数类型 | 参数描述 |
operator_id | 是 | String | 操作者 ID。 operator_id 必须与 operator_id_type 配合使用。根据 operator_id_type 的值,operator_id 代表不同类型。 |
operator_id_type | 是 | Integer | 操作者 ID 的类型: 1:userid |
输出参数
参数名称 | 必选 | 参数类型 | 参数描述 |
normal_count | 是 | Integer | 普通设备数。 |
special_count | 是 | Integer | 专款设备数。 |
normal_used_count | 是 | Integer | 普通设备使用数。 |
special_used_count | 是 | Integer | 专款设备使用数。 |
normal_expired_count | 是 | Integer | 普通设备过期数。 |
special_expired_count | 是 | Integer | 专款设备过期数。 |
错误码列表
状态码 | 错误码 | 错误描述 |
500 | 20201 | 查询会议室信息失败。 |
示例
输入示例
GEThttps://api.meeting.qq.com/v1/rooms-inventory&operator_id=14411xxxxxxxxxx002&operator_id_type=1
输出示例
{"normal_count":10,"special_count":2,"normal_used_count":2,"special_used_count":1,"normal_expired_count":0,"special_expired_count":0}