POST api/UnPos/Shop/Product/V/Query/ById

根据商户ID和商品ID和门店ID在V_UnPos_Shop_ProductList中查询门店中的某个商品

Request Information

URI Parameters

None.

Body Parameters

ShopProductQueryParm
NameDescriptionTypeAdditional information
ProductId

商品ID int NOT NULL.

integer

Required

ShopId

门店ID Char(4) NOT NULL.

string

Required

Max length: 4

Request Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "ShopId": "sample string 2"
}

application/xml, text/xml

Sample:
<ShopProductQueryParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms">
  <ProductId>1</ProductId>
  <ShopId>sample string 2</ShopId>
</ShopProductQueryParm>

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和门店ID在V_UnPos_Shop_ProductList中查询门店中的某个商品

ComplexParm
NameDescriptionTypeAdditional information
Zipped

读取或设置一个值,指示当前缓冲区是否经过了压缩

boolean

None.

Buffer

读取或设置一个值,指明当前缓冲区的内容

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
{
  "Zipped": true,
  "Buffer": "QEA="
}

application/xml, text/xml

Sample:
<ComplexParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
  <Buffer>QEA=</Buffer>
  <Zipped>true</Zipped>
</ComplexParm>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.