POST api/UnPos/Merchant/Report/Busi/Detail/Query

查询联营零售商户端营业类明细表时使用的api,以复杂类型返回数据(CommonOperationResultWithTag(V_Rpt_UnPos_Busi_DetailDataTable))

Request Information

URI Parameters

None.

Body Parameters

Rpt_UnPos_Busi_DetailParm
NameDescriptionTypeAdditional information
START_RQ

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

string

Max length: 8

END_RQ

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

string

Max length: 8

START_TIME

@START_TIME char(6),/*起始时间,可以为空,空表示不限*/

string

Max length: 6

END_TIME

@END_TIME char(6),/*截止时间,可以为空,空表示不限*/

string

Max length: 6

MerchantId

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

integer

None.

SHOPID

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

string

Max length: 4

UserCode

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

integer

None.

PRODUCTCLASSID

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

string

Max length: 6

PRODUCTID

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

integer

None.

BillNum

@BillNum char(20),/*单号,售货单或退货单号,空表示不限*/

string

Max length: 20

DYZH

@DYZH varchar(20),/*导游证号,空表示不限*/

string

Max length: 20

KHDWLX

@KHDWLX char(1),/*客户单位类型,1-地接社,2-组团社,3-协议单位 4-地接部门 5-组团部门 空表示不限*/

string

Max length: 1

KHDWID

@KHDWID varchar(36),/*客户单位ID,空表示不限*/

string

Max length: 36

BusiFromType

@BusiFromType char(1),/*交易来源,1表示前台,2表示互联网*/

string

Max length: 1

STA_AREA

@STA_AREA char(1) /*1表示仅统计售货数据,2表示仅统计退货数据,0或其他值表示全部*/

string

Max length: 1

Request Formats

application/json, text/json

Sample:
{
  "START_RQ": "sample string 1",
  "END_RQ": "sample string 2",
  "START_TIME": "sample string 3",
  "END_TIME": "sample string 4",
  "MerchantId": 5,
  "SHOPID": "sample string 6",
  "UserCode": 7,
  "PRODUCTCLASSID": "sample string 8",
  "PRODUCTID": 9,
  "BillNum": "sample string 10",
  "DYZH": "sample string 11",
  "KHDWLX": "sample string 12",
  "KHDWID": "sample string 13",
  "BusiFromType": "sample string 14",
  "STA_AREA": "sample string 15"
}

application/xml, text/xml

Sample:
<Rpt_UnPos_Busi_DetailParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms.Report">
  <BillNum>sample string 10</BillNum>
  <BusiFromType>sample string 14</BusiFromType>
  <DYZH>sample string 11</DYZH>
  <END_RQ>sample string 2</END_RQ>
  <END_TIME>sample string 4</END_TIME>
  <KHDWID>sample string 13</KHDWID>
  <KHDWLX>sample string 12</KHDWLX>
  <MerchantId>5</MerchantId>
  <PRODUCTCLASSID>sample string 8</PRODUCTCLASSID>
  <PRODUCTID>9</PRODUCTID>
  <SHOPID>sample string 6</SHOPID>
  <START_RQ>sample string 1</START_RQ>
  <START_TIME>sample string 3</START_TIME>
  <STA_AREA>sample string 15</STA_AREA>
  <UserCode>7</UserCode>
</Rpt_UnPos_Busi_DetailParm>

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

查询联营零售商户端营业类明细表时使用的api,以复杂类型返回数据(CommonOperationResultWithTag(V_Rpt_UnPos_Busi_DetailDataTable))

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.