主頁(yè) > 服務(wù)與支持 > 開發(fā)平臺(tái) > 服務(wù)端API參考 > 用戶管理 查詢用戶詳情
更新時(shí)間:2019-11-20
企業(yè)管理員通過該接口查詢企業(yè)用戶詳情。
請(qǐng)求方法 |
GET |
---|---|
請(qǐng)求地址 |
/rest/usg/datacenter/v1/corp/member/{account} |
傳輸協(xié)議 |
HTTPS |
參數(shù) |
是否必須 |
類型 |
位置 |
描述 |
---|---|---|---|---|
Authorization |
是 |
String |
Header |
授權(quán)令牌。將執(zhí)行鑒權(quán)響應(yīng)的accessToken 進(jìn)行Base64轉(zhuǎn)碼操作。 樣例:Basic Base64(accessToken) |
account |
是 |
String |
URL |
企業(yè)用戶帳號(hào)。 |
參數(shù) |
類型 |
描述 |
---|---|---|
returnCode |
String |
業(yè)務(wù)返回碼。 |
returnMessage |
String |
返回描述。 |
achievementTime |
String |
響應(yīng)產(chǎn)生時(shí)間。 |
requestId |
String |
請(qǐng)求唯一標(biāo)識(shí)。 |
data |
查詢用戶的返回結(jié)果。 |
GET /rest/usg/datacenter/v1/corp/member/test001 Connection: keep-alive Authorization: Basic RWVSNU5KSjlyS2w5M0p4M2pIZ21OcWhKemVkTzM2aU50 Host: api.meeting.huaweicloud.com User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_191)
HTTP/1.1 200 Date: Fri, 12 Apr 2019 09:53:56 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 646 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: 551aeb8cafbbaa7bbbdc7b1c76bba8ac { "returnCode": "000000000", "returnMessage": "Success", "achievementTime": "2019-04-12 09:52:44.624", "requestId": "551aeb8cafbbaa7bbbdc7b1c76bba8ac", "data": { "id": "ff80808169e79714016a10cdb3c900af", "userAccount": "test001", "name": "modify001", "phone": "+86133********", "country": "chinaPR", "email": null, "sipNum": "+86571900736", "vmrList": [{ "id": "ff80808169e79714016a10cdb3d000b1", "vmrId": "911876281", "vmrName": "test001's meeting room", "vmrPkgId": null, "vmrPkgName": null, "vmrPkgParties": null, "status": 0 }], "deptCode": "1", "deptName": "user002", "deptNamePath": "user002", "userType": 2, "adminType": 2, "signature": null, "corp": null, "status": 0 } }
curl -k -i -X GET -H 'Authorization: Basic VUVwVU82SWFISU0ySWlKaEdoRllRUXk0MUZnbk00Mkpk' https://api.meeting.huaweicloud.com/rest/usg/datacenter/v1/corp/member/test001