主頁(yè) > 服務(wù)與支持 > 開發(fā)平臺(tái) > 服務(wù)端API參考 > 會(huì)議管理 > 接口參考 查詢會(huì)議列表
更新時(shí)間:2019-11-19
管理員或普通用戶可以通過(guò)該接口查詢會(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)求地址 |
/conferences |
傳輸協(xié)議 |
HTTPS |
參數(shù) |
是否必須 |
類型 |
位置 |
描述 |
---|---|---|---|---|
userUUID |
否 |
String |
URL |
待查詢的會(huì)議預(yù)定者的用戶UUID。
說(shuō)明:
僅管理員有權(quán)限查詢權(quán)限范圍內(nèi)的所有帳號(hào),普通帳號(hào)僅能查詢自己的。 內(nèi)置會(huì)議默認(rèn)是登錄帳號(hào)。 |
pageIndex |
否 |
Int |
URL |
指定返回的頁(yè)面索引。該值必須大于0。 默認(rèn)為“1”。 |
pageSize |
否 |
Int |
URL |
指定返回的記錄數(shù)。默認(rèn)值由會(huì)議AS定義,默認(rèn)是“20”,最大值為“500”。 |
queryAll |
否 |
Boolean |
URL |
指定是否查詢企業(yè)下所有用戶的會(huì)議記錄。 如果登錄帳號(hào)不是企業(yè)管理員,則該字段無(wú)效。 如果該字段為“true”,則“userUUID”字段無(wú)效。 |
status |
否 |
Int |
URL |
|
condition |
否 |
String |
URL |
查詢用來(lái)當(dāng)作關(guān)鍵詞的字符串。長(zhǎng)度限制為1-128個(gè)字符。 |
queryConfMode |
否 |
String |
URL |
|
sortType |
否 |
String |
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ì)議信息列表。 |
pageIndex |
Int |
第幾頁(yè)。 |
pageSize |
Int |
每頁(yè)的記錄數(shù)。 |
totalCount |
Int |
總記錄數(shù)。 |
countTotal |
Boolean |
取值:
|
totalPages |
Int |
總頁(yè)數(shù)。 |
lastPage |
Boolean |
是否是最后一頁(yè)。取值:
|
nextPage |
Int |
下一頁(yè)是第幾頁(yè)。 |
firstPage |
Boolean |
是否是第一頁(yè)。取值:
|
prePage |
Int |
上一頁(yè)是第幾頁(yè)。 |
sort |
String[0..*] |
排序字段。 |
orderBySetted |
Boolean |
是否設(shè)置排序字段。取值:
|
offset |
Int |
記錄數(shù)偏移,這一頁(yè)之前共有多少條。 |
data |
ConferenceInfo[0..*] |
會(huì)議信息列表。 |
GET /conferences?pageIndex=1&pageSize=2 Connection: keep-alive Authorization: Basic VFZQdG9tOUcwN2NMWGhMQ1phaXpRUDFsNkdlUzVvT05Q 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 06:47:01 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 2450 Connection: keep-alive Expires: 0 Pragma: No-cache Cache-Control: no-cache http_proxy_id: 6fba0eff9f832b463580fb06c5b0ff9c Server: api-gateway X-Request-Id: ac9f75ec3c97c823f128526a924532b2 { "returnCode": 0, "returnDesc": "Success", "data": { "pageIndex": 1, "pageSize": 2, "totalCount": 6, "countTotal": true, "totalPages": 3, "lastPage": false, "nextPage": 2, "firstPage": true, "prePage": 0, "orderBySetted": false, "offset": 0, "data": [ { "conferenceID": "914026152", "mediaTypes": "Data,Voice", "subject": "user01的會(huì)議", "size": 1, "startTime": "2019-03-09 06:42", "endTime": "2019-03-09 08:42", "conferenceState": "Created", "accessNumber": "+8657*******", "language": "zh-CN", "passwordEntry": [{ "conferenceRole": "chair", "password": "249410" }, { "conferenceRole": "general", "password": "125641" }], "userUUID": "ff8080816933ab4801694865840a00c2", "scheduserName": "user01", "multiStreamFlag": 0, "conferenceType": 0, "isAutoMute": 0, "isAutoRecord": 0, "chairJoinUri": "https://nmeeting.huaweicloud.com:38443/portal/j/914026152?p=f624660633647a87aa51a8adbd133668e082a56e7bd846e0", "guestJoinUri": "https://nmeeting.huaweicloud.com:38443/portal/j/914026152?p=f5d9ae64af8c306823840288df538e88c40e51aeeb8d465c", "recordType": 0, "recordAuxStream": 0, "confConfigInfo": { "inviteMode": "AUTO_INVITE", "prolongLength": 15, "dispatchMode": "AUTO_DISPATCH", "isGuestFreePwd": false, "isSendNotify": true, "isSendSms": true, "isAutoMute": true }, "vmrFlag": 0, "scheduleVmr": false, "isHasRecordFile": false, "partAttendeeInfo": [ { "phone": "+8657*******", "name": "user01", "role": 1, "isMute": 0, "type": "normal" }], "vmrFlag": 0, "scheduleVmr": false, "isHasRecordFile": false, "terminlCount": 0, "normalCount": 0, "deptName": "huawei_ffl ", "confUUID": "7ab2dc04423611e9b745f3df1cc2b59d" }, { "conferenceID": "914027377", "mediaTypes": "Data,Voice", "subject": "user01的會(huì)議", "size": 1, "startTime": "2019-03-09 09:30", "endTime": "2019-03-09 11:30", "conferenceState": "Schedule", "accessNumber": "+8657*******", "language": "zh-CN", "passwordEntry": [ { "conferenceRole": "chair", "password": "779901" }, { "conferenceRole": "general", "password": "439258" }], "userUUID": "ff8080816933ab4801694865840a00c2", "scheduserName": "user01", "multiStreamFlag": 0, "conferenceType": 0, "isAutoMute": 0, "isAutoRecord": 0, "chairJoinUri": "https://nmeeting.huaweicloud.com:38443/portal/j/914027377?p=756d678c1f0ed03985fc9828a17f47105f5bc2cef5a759c0", "guestJoinUri": "https://nmeeting.huaweicloud.com:38443/portal/j/914027377?p=df4137c7be1e1584f74c124bf25621e91181e0ad2aea8767", "recordType": 0, "recordAuxStream": 0, "confConfigInfo": { "inviteMode": "AUTO_INVITE", "prolongLength": 15, "dispatchMode": "AUTO_DISPATCH", "isGuestFreePwd": false, "isSendNotify": true, "isSendSms": true, "isAutoMute": true }, "vmrFlag": 0, "scheduleVmr": false, "isHasRecordFile": false, "partAttendeeInfo": [ { "phone": "+8657*******", "name": "user01", "role": 0, "isMute": 0, "type": "normal" }], "vmrFlag": 0, "scheduleVmr": false, "isHasRecordFile": false, "terminlCount": 0, "normalCount": 0, "deptName": "huawei_ffl ", "confUUID": "0abc19e83fe911e9b6b5c1e119aed030", }] } }
curl -k -i -X GET -H 'Authorization:Basic T2FmNUppeGxvYms0MkZ4am45ZmdPR0dBOE1EYVZtMFBP' https://api.meeting.huaweicloud.com/conferences