GET api/Agent/MicroApp/Me/Agent/Info
查询当前用户的运营商信息,并以简单类型返回。 此API只需要认证,不需要鉴权。
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
查询当前用户的运营商信息,并以简单类型返回。 此API只需要认证,不需要鉴权。
CommonOperationResultWithTagOfAgentInfoParmName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | AgentInfoParm |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "AgentId": 1, "AgentName": "sample string 2", "OrgCode": "sample string 3", "LegalPerson": "sample string 4", "LegalCode": "sample string 5", "LegalMobile": "sample string 6", "ContactName": "sample string 7", "ContactMobile1": "sample string 8", "ContactMobile2": "sample string 9", "Province": "sample string 10", "City": "sample string 11", "County": "sample string 12", "Address": "sample string 13", "Phone": "sample string 14", "Tax": "sample string 15", "Reserve1": "sample string 16", "Reserve2": "sample string 17" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfAgentInfoParmwlCnhfv3 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:Address>sample string 13</d2p1:Address> <d2p1:AgentId>1</d2p1:AgentId> <d2p1:AgentName>sample string 2</d2p1:AgentName> <d2p1:City>sample string 11</d2p1:City> <d2p1:ContactMobile1>sample string 8</d2p1:ContactMobile1> <d2p1:ContactMobile2>sample string 9</d2p1:ContactMobile2> <d2p1:ContactName>sample string 7</d2p1:ContactName> <d2p1:County>sample string 12</d2p1:County> <d2p1:LegalCode>sample string 5</d2p1:LegalCode> <d2p1:LegalMobile>sample string 6</d2p1:LegalMobile> <d2p1:LegalPerson>sample string 4</d2p1:LegalPerson> <d2p1:OrgCode>sample string 3</d2p1:OrgCode> <d2p1:Phone>sample string 14</d2p1:Phone> <d2p1:Province>sample string 10</d2p1:Province> <d2p1:Reserve1>sample string 16</d2p1:Reserve1> <d2p1:Reserve2>sample string 17</d2p1:Reserve2> <d2p1:Tax>sample string 15</d2p1:Tax> </tag> </CommonOperationResultWithTagOfAgentInfoParmwlCnhfv3>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.