# 查询历史会议列表 -------------------------------------------------------- 管理员或普通用户可以通过该接口查询历史会议。管理员可以查询管理权限域内的所有会议,普通用户仅能查询当前帐号管理的会议。 > 不带查询参数时,默认查询权限范围内的历史会议。 ### 请求格式说明 ** 调试工具:** 在线调试

请求方式: GET (HTTPS)

请求地址: https://open.welink.huaweicloud.com/api/meeting/v1/queryhistoryconferences

认证方式: access_token,请参考获取access_token

请求头部:

Content-Type:application/json
x-wlk-Authorization:access_token

请求参数说明:

参数名 参数说明 类型 必选
userId 待查询的会议预定者的帐号。
仅管理员有权限查询权限范围内的所有账号;普通账号改字段无效,只能查询自己的。
String
pageIndex 指定返回的页面索引。该值必须大于0,默认为1。 Integer
pageSize 待查询的会议预定者的uuid。
指定返回的记录数。默认值由会议AS定义,默认是20,最大500条
Integer
queryAll 指定是否查询企业下所有用户的会议记录。如果登录帐号不是企业管理员,则该字段无效。如果该字段为true,则userId字段无效。默认值为False。 Boolean
status 0: 查询待召开的和已召开的
1:查询待召开的
2:查询已召开的
Int --
condition 查询用来当作关键词的字符串。长度限制为1~128个字符。 String
startDate 查询的起始日期毫秒数 Long
endDate 查询的截止日期毫秒数 Long
sortType ASC_StartTIME:按会议开始时间升序排序(默认)
DSC_StartTIME:按会议开始时间降序排序
ASC_RecordTYPE:按会议是否有录播文件排序,之后默认按照会议开始时间升序排序
DSC_RecordTYPE:按会议是否有录播文件排序,之后默认按照会议开始时间降序排序
String

请求示例:

curl -X GET \
  'https://open.welink.huaweicloud.com/api/meeting/v1/queryhistoryconferences?lang=zh_CN&pageIndex=1&pageSize=10&userId=zhangshan@example&queryAll=false&startDate=1541865600000&endDate=1544543999000 HTTP/1.1' \
  -H 'Content-Type: application/json' \
  -H 'x-wlk-Authorization: dc63dfa2-d338-47f4-84d9-c23be8c33200' \

响应格式说明

返回结果示例:

{ 
    "code":"0", 
    "message":"Success", 
    "data":{ 
                "pageIndex":1, 
                "pageSize":202, 
                "totalCount":2, 
                "countTotal":true, 
                "totalPages":1, 
                "lastPage":true, 
                "nextPage":2, 
                "firstPage":true, 
                "prePage":0, 
                "orderBySetted":false, 
                "offset":0, 
                "data":[ 
                        { 
                            "conferenceID":"914016429", 
                            "mediaTypes":"Data,Voice,HDVideo", 
                            "subject":"张三的会议", 
                            "size":1, 
                            "timeZoneID":"56", 
                            "startTime":"2019-10-29 01:42", 
                            "endTime":"2019-10-29 01:46", 
                            "conferenceState":"Destroyed", 
                            "accessNumber":"+9911110086", 
                            "language":"zh-CN", 
                            "passwordEntry":[
                                             { 
                                                 "conferenceRole":"chair", 
                                                 "password":"8054" 
                                             }, 
                                             { 
                                                 "conferenceRole":"general", 
                                                 "password":"" 
                                             } 
                                            ], 
                            "userid":"admin@autotestworkplace", 
                            "scheduserName":"张三", 
                            "multiStreamFlag":1, 
                            "conferenceType":0, 
                            "confType":"IMMEDIATELY",
                            "isAutoMute":0,
                            "isAutoRecord":0, 
                            "guestJoinUri":"https://bmeeting.huaweicloud.com:36443/#/j/914016429", 
                            "recordType":0, 
                            "recordAuxStream":0, 
                            "confConfigInfo":{ 
                                                "inviteMode":"AUTO_INVITE", 
                                                "prolongLength":15, 
                                                "dispatchMode":"AUTO_DISPATCH", 
                                                "isGuestFreePwd":true, 
                                                "isSendNotify":false, 
                                                "isSendSms":false,
                                                "isAutoMute":false 
                                              }, 
                            "vmrFlag":0, 
                            "scheduleVmr":false, 
                            "isHasRecordFile":false, 
                            "partAttendeeInfo":[ 
                                                { 
                                                    "phone":"+9911110005370", 
                                                    "name":"胡妍虹", 
                                                    "role":0, 
                                                    "isMute":0, 
                                                    "type":"normal" 
                                                } 
                                               ], 
                            "terminlCount":0, 
                            "normalCount":1, 
                            "deptName":"研发部", 
                            "confUUID":"5ba424faf9ed11e99537ff8b288f19c0" 
                        }, 
                        { 
                            "conferenceID":"914016128", 
                            "mediaTypes":"Data,Voice,HDVideo", 
                            "subject":"张三的会议", 
                            "size":1, 
                            "timeZoneID":"56", 
                            "startTime":"2019-10-30 08:20", 
                            "endTime":"2019-10-30 08:56", 
                            "conferenceState":"Destroyed", 
                            "accessNumber":"+9911110086",
                            "language":"zh-CN", 
                            "passwordEntry":[ 
                                                {
                                                     "conferenceRole":"chair", 
                                                     "password":"2917" 
                                                }, 
                                                { 
                                                    "conferenceRole":"general", 
                                                    "password":"" 
                                                } 
                                            ], 
                            "userid":"admin@autotestworkplace", 
                            "scheduserName":"胡妍虹", 
                            "multiStreamFlag":1, 
                            "conferenceType":0, 
                            "confType":"IMMEDIATELY", 
                            "isAutoMute":0, 
                            "isAutoRecord":0, 
                            "guestJoinUri":"https://bmeeting.huaweicloud.com:36443/#/j/914016128", 
                            "recordType":0, 
                            "recordAuxStream":0, 
                            "confConfigInfo":{ 
                                                "inviteMode":"AUTO_INVITE", 
                                                "prolongLength":15, 
                                                "dispatchMode":"AUTO_DISPATCH", 
                                                "isGuestFreePwd":true, 
                                                "isSendNotify":false, 
                                                "isSendSms":false, 
                                                "isAutoMute":false 
                                             }, "vmrFlag":0, 
                            "scheduleVmr":false, 
                            "isHasRecordFile":false, 
                            "partAttendeeInfo":[ 
                                                { 
                                                    "phone":"+991111xxxx", 
                                                    "name":"张三", 
                                                    "role":0, 
                                                    "isMute":0, 
                                                    "type":"normal" 
                                                },
                                                { 
                                                    "phone":"+99111xxxxx", 
                                                    "name":"李四", 
                                                    "role":0, 
                                                    "isMute":0, 
                                                    "type":"normal" 
                                                }, 
                                                { 
                                                    "phone":"+9911110007204", 
                                                    "name":"autotest004", 
                                                    "role":0, 
                                                    "isMute":0, 
                                                    "type":"normal" 
                                                } 
                                               ], 
                            "terminlCount":0, 
                            "normalCount":3, 
                            "deptName":"研发部", 
                            "confUUID":"139960f0faee11e99537d50a298793a8" 
                        } 
                    ] 
            } 
}

返回参数说明:

参数名 必选 类型 参数说明
code string 数据正常返回“0”,如果发生错误,会返回对应的错误码
message string 返回信息,包括接口请求发生错误时的详细信息
data PageConferenceInfo 会议列表,见PageConferenceInfo数据结构:

PageConferenceInfo数据结构:

参数名 必选 类型 参数说明
pageIndex Int 第几页
pageSize Int 每页的记录数
totalCount Int 总记录数
countTotal boolean 取值:“true/false”
totalPages Int 总页数
lastPage boolean 是否是最后一页,取值:“true/false”
nextPage Int 下一页是第几页
firstPage boolean 是否是第一页,取值:“true/false”
prePage Int 上一页是第几页
sort String[0..*] 排序字段
orderBySetted String 是否设置排序字段,取值:“true/false”
offset Int 记录数偏移,这一页之前共有多少条
data ConferenceInfo [0..*] 会议列表,参见ConferenceInfo数据结构:

结果。 ""

    无结果。 ""