GET api/UnPos/Merchant/Info/ById
依据商户ID获取商户信息。
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
依据商户ID获取商户信息。
CommonOperationResultWithTagOfMerchantInfoResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | MerchantInfoResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "MerchantId": 1, "MerchantName": "sample string 2", "ContactName": "sample string 3", "ContactMobile": "sample string 4" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfMerchantInfoResultwYgrNTf1 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.UnPos.Result"> <d2p1:ContactMobile>sample string 4</d2p1:ContactMobile> <d2p1:ContactName>sample string 3</d2p1:ContactName> <d2p1:MerchantId>1</d2p1:MerchantId> <d2p1:MerchantName>sample string 2</d2p1:MerchantName> </tag> </CommonOperationResultWithTagOfMerchantInfoResultwYgrNTf1>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.