POST api/UnPos/Merchant/Report/Customer/Calculate/Detail/Query
查询联营零售业务商户端客户单位结算明细表时使用的api,以复杂类型返回数据(CommonOperationResultWithTag(V_Rpt_UnPos_Customer_CalculateDetailDataTable))
Request Information
URI Parameters
None.
Body Parameters
Rpt_UnPos_Customer_CalculateDetailParmName | Description | Type | Additional information |
---|---|---|---|
START_DATE |
@START_DATE char(8),/*结算起始日期,不可以为空*/ |
string |
Max length: 8 |
END_DATE |
@END_DATE char(8),/*结算截止日期,不可以为空*/ |
string |
Max length: 8 |
CustomerType |
@CustomerType char(1),/*客户单位类型,空表示不限*/ |
string |
Max length: 1 |
CustomerId |
@CustomerId varchar(36),/*客户单位ID,空表示不限*/ |
string |
Max length: 36 |
SellBillNum |
@SellBillNum char(20),/*售货单号 空表示不限*/ |
string |
Max length: 20 |
CalBillNum |
@CalBillNum char(20),/*结算单号 空表示不限*/ |
string |
Max length: 20 |
MerchantId |
@MerchantId int,/*商户ID,可以为空,空表示不限*/ |
integer |
None. |
ShopId |
@ShopId char(4),/*门店ID,可以为空,空表示不限*/ |
string |
Max length: 4 |
PRODUCTID |
@PRODCUTID int ,/*商品ID,可以为空,空表示不限*/ |
integer |
None. |
PRODUCTCLASSID |
@PRODUCTCLASSID varchar(6),/*商品所属的类别的ID,可以为空,空表示不限*/ |
string |
Max length: 6 |
UserLoginName |
@UserLoginName varchar(20),/*平台结算用户 空表示不限*/ |
string |
Max length: 20 |
UserCode |
@UserCode int, /*商户结算用户 空表示不限*/ |
integer |
None. |
BillStatus |
@BillStatus char(1) /*单据状态 ‘0’结算办理中,‘1’已审核。其他值表示全部*/ |
string |
Max length: 1 |
CalUserType |
@CalUserType char(1) /*核算人类型 ‘1’平台(出租人)执行返利,‘2’商户执行返利,其他值表示全部*/ |
string |
Max length: 1 |
Request Formats
application/json, text/json
{ "START_DATE": "sample string 1", "END_DATE": "sample string 2", "CustomerType": "sample string 3", "CustomerId": "sample string 4", "SellBillNum": "sample string 5", "CalBillNum": "sample string 6", "MerchantId": 7, "ShopId": "sample string 8", "PRODUCTID": 9, "PRODUCTCLASSID": "sample string 10", "UserLoginName": "sample string 11", "UserCode": 12, "BillStatus": "sample string 13", "CalUserType": "sample string 14" }
application/xml, text/xml
<Rpt_UnPos_Customer_CalculateDetailParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms.Report"> <BillStatus>sample string 13</BillStatus> <CalBillNum>sample string 6</CalBillNum> <CalUserType>sample string 14</CalUserType> <CustomerId>sample string 4</CustomerId> <CustomerType>sample string 3</CustomerType> <END_DATE>sample string 2</END_DATE> <MerchantId>7</MerchantId> <PRODUCTCLASSID>sample string 10</PRODUCTCLASSID> <PRODUCTID>9</PRODUCTID> <START_DATE>sample string 1</START_DATE> <SellBillNum>sample string 5</SellBillNum> <ShopId>sample string 8</ShopId> <UserCode>12</UserCode> <UserLoginName>sample string 11</UserLoginName> </Rpt_UnPos_Customer_CalculateDetailParm>
application/x-www-form-urlencoded
Sample not available.
application/bson
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
查询联营零售业务商户端客户单位结算明细表时使用的api,以复杂类型返回数据(CommonOperationResultWithTag(V_Rpt_UnPos_Customer_CalculateDetailDataTable))
ComplexParmName | Description | Type | Additional information |
---|---|---|---|
Zipped |
读取或设置一个值,指示当前缓冲区是否经过了压缩 |
boolean |
None. |
Buffer |
读取或设置一个值,指明当前缓冲区的内容 |
Collection of byte |
None. |
Response Formats
application/json, text/json
{ "Zipped": true, "Buffer": "QEA=" }
application/xml, text/xml
<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
Binary JSON content. See http://bsonspec.org for details.