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

依据商户ID和店铺ID、商品ID,查询单个的商品信息,并以复杂类型返回。

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,查询单个的商品信息,并以复杂类型返回。

CommonOperationResultWithTagOfV_UnPos_Shop_ProductListDataTable
NameDescriptionTypeAdditional 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.