主頁 > 服務(wù)與支持 > 開發(fā)平臺(tái) > 服務(wù)端API參考 > 會(huì)議控制 > 接口參考 查詢歷史會(huì)議列表
更新時(shí)間:2019-11-20
管理員或普通用戶可以通過該接口查詢會(huì)議,管理員可以查詢管理權(quán)限域內(nèi)所有的會(huì)議,普通用戶僅能查詢當(dāng)前帳號(hào)管理的會(huì)議。不帶查詢參數(shù)時(shí),默認(rèn)查詢權(quán)限范圍內(nèi)的歷史會(huì)議。
請(qǐng)求方法 |
GET |
---|---|
請(qǐng)求地址 |
/historyConferences |
傳輸協(xié)議 |
HTTPS |
參數(shù) |
是否必須 |
類型 |
位置 |
描述 |
---|---|---|---|---|
userUUID |
否 |
String |
URL |
待查詢的會(huì)議預(yù)定者的用戶UUID。 僅管理員有權(quán)限查詢權(quán)限范圍內(nèi)的所有帳號(hào),普通帳號(hào)僅能查詢自己的。 默認(rèn)是登錄帳號(hào)。 |
pageIndex |
否 |
Int |
URL |
指定返回的頁面索引。該值必須大于0。 默認(rèn)值為“1”。 |
pageSize |
否 |
Int |
URL |
指定返回的記錄數(shù)。默認(rèn)值由會(huì)議AS定義,默認(rèn)值為“20”,最大值為“500”。 當(dāng)pageSize大于最大值500時(shí),系統(tǒng)會(huì)默認(rèn)設(shè)置為500。 |
queryAll |
否 |
Boolean |
URL |
指定是否查詢企業(yè)下所有用戶的會(huì)議記錄。 如果登錄帳號(hào)不是企業(yè)管理員,則該字段無效。如果該字段值為“true”,則“userUUID”字段無效。默認(rèn)值為“false”。 |
condition |
否 |
String |
URL |
根據(jù)會(huì)議主題,預(yù)定人和vmr會(huì)議id關(guān)鍵詞的字符串,查詢歷史會(huì)議。 |
startDate |
是 |
Long |
URL |
查詢的起始日期毫秒數(shù)。 |
endDate |
是 |
Long |
URL |
查詢的截止日期毫秒數(shù)。 |
sortType |
否 |
枚舉 |
URL |
|
Authorization |
是 |
String |
Header |
授權(quán)令牌。將執(zhí)行鑒權(quán)響應(yīng)的accessToken 進(jìn)行Base64轉(zhuǎn)碼操作。 樣例:Basic Base64(accessToken) |
參數(shù) |
類型 |
描述 |
---|---|---|
returnCode |
Int |
返回碼。 |
returnDesc |
String |
返回描述。 |
data |
會(huì)議列表。 |
GET /historyConferences?startDate=1550701499000&endDate=1552801599000&condition=user02的會(huì)議 Connection: keep-alive Authorization: Basic WHQ2VzNRcTJSNDFCQzYxbEVMMVl2Tm9mU3E2Z1gwQ1RQ user-agent: WeLink-desktop Host: api.meeting.huaweicloud.com User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_191)
HTTP/1.1 200 Date: Sat, 09 Mar 2019 07:23:02 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 2420 Connection: keep-alive Expires: 0 Pragma: No-cache Cache-Control: no-cache http_proxy_id: 43bee1151af8115d90358994a7c14cfc Server: api-gateway X-Request-Id: 53c883710d86aebf01e92ce7bcea1984 { "returnCode": 0, "returnDesc": "Success", "data": { "pageIndex": 1, "pageSize": 2, "totalCount": 12, "countTotal": true, "totalPages": 6, "lastPage": false, "nextPage": 2, "firstPage": true, "prePage": 0, "orderBySetted": false, "offset": 0, "data": [ { "conferenceID": "914027258", "mediaTypes": "Data,Voice,HDVideo", "subject": "user02的會(huì)議", "size": 3, "startTime": "2019-03-08 02:25", "endTime": "2019-03-08 02:34", "conferenceState": "Destroyed", "accessNumber": "+8657*******", "language": "zh-CN", "passwordEntry": [ { "conferenceRole": "chair", "password": "1167" }, { "conferenceRole": "general", "password": "2222" }], "accountID": "user02", "scheduserName": "user02", "multiStreamFlag": 1, "conferenceType": 0, "isAutoMute": 0, "isAllowRecord": 0, "isAutoRecord": 0, "chairJoinUri": "https://nmeeting.huaweicloud.com:38443/portal/j/914027258?p=960fae9d0f68bbe91f577d9ae15ce67a8394fb9e2c48ffe6", "guestJoinUri": "https://nmeeting.huaweicloud.com:38443/portal/j/914027258?p=7bf4fcf88cec8d2d8d143fd3e573ef8dec41aac93743c171", "recordType": 2, "recordAuxStream": 0, "audienceFlag": 0, "vmrFlag": 1, "scheduleVmr": false, "isHasRecordFile": true, "vmrConferenceID": "911823823", "partAttendeeInfo": [ { "phone": "+8657*******", "name": "user02", "role": 0, "isMute": 0, "type": "normal" }], terminlCount": 0, "normalCount": 0, "deptName": "huawei_ffl ", "confUUID": "74747da0414911e9b6b561dd4a8487fc", "advanceStartTime": "0" }, { "conferenceID": "914026048", "mediaTypes": "Data,Voice,HDVideo", "subject": "user02的會(huì)議", "size": 3, "startTime": "2019-03-07 04:00", "endTime": "2019-03-07 04:23", "conferenceState": "Destroyed", "accessNumber": "+8657*******", "language": "zh-CN", "passwordEntry": [ { "conferenceRole": "chair", "password": "1167" }, { "conferenceRole": "general", "password": "2222" }], accountID": "user02", "scheduserName": "user02", "multiStreamFlag": 1, "conferenceType": 0, "isAutoMute": 0, "isAllowRecord": 0, "isAutoRecord": 0, "chairJoinUri": "https://nmeeting.huaweicloud.com:38443/portal/j/914026048?p=a9fde0b66d96c2a8234c9c61e660bb9bd072be60f48dc168", "guestJoinUri": "https://nmeeting.huaweicloud.com:38443/portal/j/914026048?p=677062a0057101a7b97bf111f7ea18703df56bd01743a94b", "recordType": 0, "recordAuxStream": 0, "audienceFlag": 0, "vmrFlag": 1, "scheduleVmr": false, "isHasRecordFile": false, "vmrConferenceID": "911823823", "partAttendeeInfo": [ { "phone": "+8657*******", "name": "user02", "role": 0, "isMute": 0, "type": "normal" }, { "phone": "+8657*******", "name": "test01", "role": 0, "isMute": 0, "type": "normal" }, { "phone": "+8657*******", "name": "user01", "role": 0, "isMute": 0, "type": "normal" }], terminlCount": 0, "normalCount": 0, "deptName": "huawei_ffl ", "confUUID": "8e7cf160408d11e9b6b5611477c37af9", "advanceStartTime": "0" }] } }
curl -k -i -X GET -H 'Authorization:Basic Z0dKbDlWNktHNDV4ZWw4alBkYVBjQWRNbnJNWmthRXFt' 'https://api.meeting.huaweicloud.com/historyConferences?startDate=1550937600000&endDate=1553615999000&pageIndex=1&pageSize=10'