主頁 > 服務(wù)與支持 > 開發(fā)平臺 > 服務(wù)端API參考 > 硬終端管理 獲取所有終端類型
更新時間:2019-11-20
企業(yè)管理員通過該接口獲取所有的終端類型。
請求方法 |
GET |
---|---|
請求地址 |
/rest/usg/datacenter/v1/corp/device/type |
傳輸協(xié)議 |
HTTPS |
參數(shù) |
是否必須 |
類型 |
位置 |
描述 |
---|---|---|---|---|
Authorization |
是 |
String |
Header |
授權(quán)令牌。將執(zhí)行鑒權(quán)響應(yīng)的accessToken 樣例:Basic Base64(accessToken) |
參數(shù) |
類型 |
描述 |
---|---|---|
returnCode |
String |
業(yè)務(wù)返回碼。 |
returnMessage |
String |
返回描述。 |
achievementTime |
String |
響應(yīng)產(chǎn)生時間。 |
requestId |
String |
請求唯一標(biāo)識。 |
data |
QueryDeviceTypeResultDTO[0..*] |
終端類型。 |
參數(shù) |
類型 |
描述 |
---|---|---|
type |
String |
終端類型,區(qū)分自研和第三方終端。 |
model |
String |
終端型號,枚舉類型。當(dāng)前支持TE系列硬件終端,具體的終端類型可以通過獲取所有終端類型接口查詢。 |
enableActiveCode |
Boolean |
是否支持激活碼。 |
resolution |
String |
屏幕分辨率。 |
supportProjectionCode |
Boolean |
是否支持投影碼。 |
supportSVC |
Boolean |
是否支持SVC。 |
GET /rest/usg/datacenter/v1/corp/device/type Connection: keep-alive Authorization: Basic aEF4SklzOWNQT01nYVBhNHgyUHNodVp1YlFrbkdnWUZx Host: api.meeting.huaweicloud.com User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_191)
HTTP/1.1 200 Date: Tue, 16 Apr 2019 10:31:59 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 1164 Connection: keep-alive Pragma: No-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Server: api-gateway X-Request-Id: 8f0e783fe77359870eaccf323db080b5 { "returnCode": "000000000", "returnMessage": "Success", "achievementTime": "2019-04-16 10:30:42.651", "requestId": "8f0e783fe77359870eaccf323db080b5", "data": [{ "type": "3rd", "model": "SX20", "enableActiveCode": false, "resolution": "1080P" }, { "type": "TE", "model": "DP300", "enableActiveCode": true, "resolution": "1080P" }, { "type": "TE", "model": "TE20", "enableActiveCode": true, "resolution": "1080P" }, { "type": "TE", "model": "TE30", "enableActiveCode": true, "resolution": "1080P" }, { "type": "TE", "model": "TE40", "enableActiveCode": true, "resolution": "1080P" }, { "type": "TE", "model": "TE50", "enableActiveCode": true, "resolution": "1080P" }, { "type": "TE", "model": "TE60", "enableActiveCode": true, "resolution": "1080P" }, { "type": "TE", "model": "HUAWEI Bar 500", "enableActiveCode": true, "resolution": "1080P" }, { "type": "TE", "model": "HUAWEI Box 700", "enableActiveCode": true, "resolution": "1080P" }, { "type": "TE", "model": "HUAWEI Box 900", "enableActiveCode": true, "resolution": "1080P" }, { "type": "TE", "model": "TE10", "enableActiveCode": true, "resolution": "720P" }, { "type": "TE", "model": "HUAWEI Board", "enableActiveCode": true, "resolution": "1080P" }, { "type": "TE", "model": "HUAWEI Box 500", "enableActiveCode": true, "resolution": "1080P" }] }
curl -k -i -X GET -H 'Authorization:Basic T3IxeXdMUGwzeU9Gb3JnWENNWWZldnBHM0JTQVA5N2FS' https://api.meeting.huaweicloud.com/rest/usg/datacenter/v1/corp/device/type