POST api/UnPos/Merchant/Shop/ProductPrice/V/Query/ById

在T_UnPos_Shop_ProductPrice查询某条商品价格记录,并以复杂类型返回。

Request Information

URI Parameters

None.

Body Parameters

MerchantShopProductPriceQueryParm
NameDescriptionTypeAdditional information
ProductId

商品ID int NOT NULL.

integer

Required

ShopId

门店ID Char(4) NOT NULL.

string

Required

Max length: 4

Unit

单位 Varchar(8) NOT NULL.

string

Required

Max length: 8

RentailPrice

零售价 Numeric(8,2) NOT NULL.

decimal number

Required

StartTime

起始时间 Char(12) NOT NULL.

string

Required

Max length: 12

ApplyToObject

适用对象 char(1) NOT NULL.

string

Required

MemberLimitLevel

限定最低会员等级 byte NOT NULL.

byte

Required

Request Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "ShopId": "sample string 2",
  "Unit": "sample string 3",
  "RentailPrice": 4.0,
  "StartTime": "sample string 5",
  "ApplyToObject": "sample string 6",
  "MemberLimitLevel": 64
}

application/xml, text/xml

Sample:
<MerchantShopProductPriceQueryParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms">
  <ApplyToObject>sample string 6</ApplyToObject>
  <MemberLimitLevel>64</MemberLimitLevel>
  <ProductId>1</ProductId>
  <RentailPrice>4</RentailPrice>
  <ShopId>sample string 2</ShopId>
  <StartTime>sample string 5</StartTime>
  <Unit>sample string 3</Unit>
</MerchantShopProductPriceQueryParm>

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

在T_UnPos_Shop_ProductPrice查询某条商品价格记录,并以复杂类型返回。

CommonOperationResultWithTagOfV_UnPos_Shop_ProductPriceDataTable
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.