更新時間:2019-11-20
企業(yè)管理員通過該接口查詢企業(yè)用戶詳情。
請求方法 |
GET |
---|---|
請求地址 |
/rest/usg/datacenter/v1/corp/member/{account} |
傳輸協議 |
HTTPS |
參數 |
是否必須 |
類型 |
位置 |
描述 |
---|---|---|---|---|
Authorization |
是 |
String |
Header |
授權令牌。將執(zhí)行鑒權響應的accessToken 進行Base64轉碼操作。 樣例:Basic Base64(accessToken) |
account |
是 |
String |
URL |
企業(yè)用戶帳號。 |
參數 |
類型 |
描述 |
---|---|---|
returnCode |
String |
業(yè)務返回碼。 |
returnMessage |
String |
返回描述。 |
achievementTime |
String |
響應產生時間。 |
requestId |
String |
請求唯一標識。 |
data |
查詢用戶的返回結果。 |
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