POST api/UnPos/Shop/V/Query/ById
依据商户ID和店铺ID,查询单个的门店信息,并以复杂类型返回。
Request Information
URI Parameters
None.
Body Parameters
ShopQueryParm| Name | Description | Type | Additional information |
|---|---|---|---|
| MerchantId |
商户ID int FK,PK. |
integer |
Required |
| ShopId |
店铺ID char(4) PK NOT NULL. |
string |
Required Max length: 4 |
Request Formats
application/json, text/json
Sample:
{
"MerchantId": 1,
"ShopId": "sample string 2"
}
application/xml, text/xml
Sample:
<ShopQueryParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos"> <MerchantId>1</MerchantId> <ShopId>sample string 2</ShopId> </ShopQueryParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
依据商户ID和店铺ID,查询单个的门店信息,并以复杂类型返回。
CommonOperationResultWithTagOfV_UnPos_ShopDataTable| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": null
}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.