POST api/UnPos/Report/Summary/Month/Merchant/Query

Request Information

URI Parameters

None.

Body Parameters

Rpt_UnPos_Busi_Summary_DayForMerchantParm
NameDescriptionTypeAdditional information
Start_Date

@Start_Date char(8),/*交易起始日期,不可以为空*/

string

Max length: 8

End_Date

@End_Date char(8),/*交易截止日期,不可以为空*/

string

Max length: 8

MerchantId

@MerchantId int,/*商户ID,可以为空,空表示不限*/

integer

None.

ShopId

@ShopId char(4),/*门店ID,可以为空,空表示不限*/

string

Max length: 4

ProductId

@ProductId int ,/*商品ID,可以为空,空表示不限*/

integer

None.

ProductClassCode

@ProductClassCode varchar(6),/*商品类别ID,可以为空,空表示不限*/

string

Max length: 6

UserCode

@UserCode int,/*售货员,可以为空,空表示不限*/

integer

None.

IsBindToGuider

@IsBindToGuider char(1),/*是否绑定了导游,1表示是,0表示否,其他值表示不限*/

string

Max length: 1

GuiderNum

@GuiderNum varchar(20),/*绑定的导游证号,可以为空,空表示不限*/

string

Max length: 20

IsBindToCustomer

@IsBindToCustomer char(1),/*是否绑定了客户单位,1表示是,0表示否,其他值表示不限*/

string

Max length: 1

CustomerType

@CustomerType char(1),/*绑定的客户单位类型,可以为空,空表示不限*/

string

Max length: 1

CustomerId

@CustomerId varchar(36),/*绑定的客户单位ID,可以为空,空表示不限*/

string

Max length: 36

TradeFrom

@TradeFrom char(1)/*交易来源,1前台,2互联网,其他值不限*/

string

Max length: 1

Request Formats

application/json, text/json

Sample:
{
  "Start_Date": "sample string 1",
  "End_Date": "sample string 2",
  "MerchantId": 3,
  "ShopId": "sample string 4",
  "ProductId": 5,
  "ProductClassCode": "sample string 6",
  "UserCode": 7,
  "IsBindToGuider": "sample string 8",
  "GuiderNum": "sample string 9",
  "IsBindToCustomer": "sample string 10",
  "CustomerType": "sample string 11",
  "CustomerId": "sample string 12",
  "TradeFrom": "sample string 13"
}

application/xml, text/xml

Sample:
<Rpt_UnPos_Busi_Summary_DayForMerchantParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms.Report">
  <CustomerId>sample string 12</CustomerId>
  <CustomerType>sample string 11</CustomerType>
  <End_Date>sample string 2</End_Date>
  <GuiderNum>sample string 9</GuiderNum>
  <IsBindToCustomer>sample string 10</IsBindToCustomer>
  <IsBindToGuider>sample string 8</IsBindToGuider>
  <MerchantId>3</MerchantId>
  <ProductClassCode>sample string 6</ProductClassCode>
  <ProductId>5</ProductId>
  <ShopId>sample string 4</ShopId>
  <Start_Date>sample string 1</Start_Date>
  <TradeFrom>sample string 13</TradeFrom>
  <UserCode>7</UserCode>
</Rpt_UnPos_Busi_Summary_DayForMerchantParm>

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

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.