POST api/UnPos/Merchant/ProductUnits/Query/ById
根据商户ID和商品ID和单位名在T_UnPos_Product_Units中查询某个商品的某个单位
Request Information
URI Parameters
None.
Body Parameters
MerchantProductUnitsDeleteParmName | Description | Type | Additional information |
---|---|---|---|
ProductId |
商品ID Int PK FK. |
integer |
Required |
Unit |
单位名称 Varchar(8) PK. |
string |
Required Max length: 8 |
Request Formats
application/json, text/json
Sample:
{ "ProductId": 1, "Unit": "sample string 2" }
application/xml, text/xml
Sample:
<MerchantProductUnitsDeleteParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms"> <ProductId>1</ProductId> <Unit>sample string 2</Unit> </MerchantProductUnitsDeleteParm>
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和单位名在T_UnPos_Product_Units中查询某个商品的某个单位
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.