更新时间:2019-11-20
企业管理员通过该接口查询企业用户详情。
请求方法 |
GET |
---|---|
请求地址 |
/rest/usg/datacenter/v1/corp/member/{account} |
传输协议 |
HTTPS |
参数 |
是否必须 |
类型 |
位置 |
描述 |
---|---|---|---|---|
Authorization |
是 |
String |
Header |
授权令牌。将执行鉴权响应的accessToken 进行Base64转码操作。 样例:Basic Base64(accessToken) |
account |
是 |
String |
URL |
企业用户帐号。 |
参数 |
类型 |
描述 |
---|---|---|
returnCode |
String |
业务返回码。 |
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