GET api/Agent/MicroApp/Me/Agent/User/Info
查询当前用户的用户信息,并以简单类型返回。 此API只需要认证,不需要鉴权。
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
查询当前用户的用户信息,并以简单类型返回。 此API只需要认证,不需要鉴权。
CommonOperationResultWithTagOfAgentUserInfoParmName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | AgentUserInfoParm |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "AgentId": 1, "UserCode": "sample string 2", "UserAlias": "sample string 3", "Mobile": "sample string 4", "Status": "sample string 5", "Memory": "sample string 6" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfAgentUserInfoParmwlCnhfv3 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Flowmeter"> <d2p1:AgentId>1</d2p1:AgentId> <d2p1:Memory>sample string 6</d2p1:Memory> <d2p1:Mobile>sample string 4</d2p1:Mobile> <d2p1:Status>sample string 5</d2p1:Status> <d2p1:UserAlias>sample string 3</d2p1:UserAlias> <d2p1:UserCode>sample string 2</d2p1:UserCode> </tag> </CommonOperationResultWithTagOfAgentUserInfoParmwlCnhfv3>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.