POST api/UnPos/Shop/ProductUnits/T/Query/ById
根据商户ID 门店ID和商品ID在T_UnPos_Shop_Product_Unit中查询某个门店商品的单位清单
Request Information
URI Parameters
None.
Body Parameters
ShopProductUnitsQueryParmName | Description | Type | Additional information |
---|---|---|---|
ProductId |
商品ID Int PK FK. |
integer |
Required |
ShopId |
店铺ID char(4) |
string |
Required Max length: 4 |
Request Formats
application/json, text/json
Sample:
{ "ProductId": 1, "ShopId": "sample string 2" }
application/xml, text/xml
Sample:
<ShopProductUnitsQueryParm 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> </ShopProductUnitsQueryParm>
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在T_UnPos_Shop_Product_Unit中查询某个门店商品的单位清单
ComplexParmName | Description | Type | Additional 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.