POST api/UnPos/Merchant/Report/PaymentType/H/BillSummary/Query

查询联营分付款方式表(按单据)时使用的api,以复杂类型返回数据(CommonOperationResultWithTag(RptPaymentTypeHStyleResult(V_Rpt_UnPos_PaymentType_H_BillDataTable)))

Request Information

URI Parameters

None.

Body Parameters

Rpt_UnPos_PaymentReport_H_ConditonParm
NameDescriptionTypeAdditional information
VAR_RQ1

VAR_RQ1 char(8)/*起始日期*/,

string

Max length: 8

VAR_RQ2

VAR_RQ2 char(8)/*截止日期*/,

string

Max length: 8

VAR_TradeSource

VAR_TradeSource char(1),/*交易来源:1前台,2互联网*/

string

Max length: 1

VAR_SubTradeSource

VAR_SubTradeSource char(1),/*子交易来源*/

string

Max length: 1

VAR_OnlyClosedOrder

VAR_OnlyClosedOrder char(1) ,/*是否仅返回已结单据,1表示是,其他值表示否,当此值为‘1’时,@SellBillPayState,@RefundBillState参数没有意义*/

string

Max length: 1

VAR_SellBillState

VAR_SellBillState char(1),/*售票单收款状态*/

string

Max length: 1

VAR_RefundBillState

VAR_RefundBillState char(1),/*退款单状态*/

string

Max length: 1

VAR_StatisticalArea

VAR_StatisticalArea char(1),/*统计范围 A全部,1仅售货, 2仅退货 */

string

Max length: 1

VAR_BindingGuider

VAR_BindingGuider char(1),/*是否绑定导游,1表示是,0表示否*/

string

Max length: 1

VAR_Guider

VAR_Guider char(20),/*导游证号*/

string

Max length: 20

VAR_BindingCustomer

VAR_MemberId char(1),/*是否绑定客户单位,1表示是,0表示否*/

string

Max length: 1

VAR_CustomerType

VAR_CustomerType char(1) ,/*客户类型*/

string

Max length: 1

VAR_Customer

VAR_Customer varchar(36),/*客户ID*/

string

Max length: 36

VAR_Member

VAR_Member bigint,/*会员ID*/

integer

None.

VAR_PaymentType

VAR_PaymentType char(2) ,/*付款方式(含)*/

string

Max length: 2

VAR_Merchant

VAR_Merchant ,商户ID,主要用于在商户端或门店端使用时缩小范围。

integer

None.

VAR_Shop

VAR_Shop char(4),/*门店ID,主要用于在商户端或门店端使用时缩小范围*/

string

Max length: 4

VAR_Shops

ShopList as CT_UnPos_ShopList ReadOnly/*门店清单*/,

Collection of string

Max length: 8000

VAR_Product

ProductList as CT_UnPos_ProductList ReadOnly/*商品清单,含*/

Collection of string

Max length: 8000

VAR_ProductType

ProductClassList as CT_UnPos_ProductClassList readonly/*商品类型清单,含*/

Collection of string

Max length: 8000

VAR_ProductUser

MerchantUserList as CT_UnPos_MerchantUserList ReadOnly/*商户用户的清单*/

Collection of string

Max length: 8000

Request Formats

application/json, text/json

Sample:
{
  "VAR_RQ1": "sample string 1",
  "VAR_RQ2": "sample string 2",
  "VAR_TradeSource": "sample string 3",
  "VAR_SubTradeSource": "sample string 4",
  "VAR_OnlyClosedOrder": "sample string 5",
  "VAR_SellBillState": "sample string 6",
  "VAR_RefundBillState": "sample string 7",
  "VAR_StatisticalArea": "sample string 8",
  "VAR_BindingGuider": "sample string 9",
  "VAR_Guider": "sample string 10",
  "VAR_BindingCustomer": "sample string 11",
  "VAR_CustomerType": "sample string 12",
  "VAR_Customer": "sample string 13",
  "VAR_Member": 14,
  "VAR_PaymentType": "sample string 15",
  "VAR_Merchant": 16,
  "VAR_Shop": "sample string 17",
  "VAR_Shops": [
    "sample string 1",
    "sample string 2"
  ],
  "VAR_Product": [
    "sample string 1",
    "sample string 2"
  ],
  "VAR_ProductType": [
    "sample string 1",
    "sample string 2"
  ],
  "VAR_ProductUser": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Rpt_UnPos_PaymentReport_H_ConditonParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Report">
  <VAR_BindingCustomer>sample string 11</VAR_BindingCustomer>
  <VAR_BindingGuider>sample string 9</VAR_BindingGuider>
  <VAR_Customer>sample string 13</VAR_Customer>
  <VAR_CustomerType>sample string 12</VAR_CustomerType>
  <VAR_Guider>sample string 10</VAR_Guider>
  <VAR_Member>14</VAR_Member>
  <VAR_Merchant>16</VAR_Merchant>
  <VAR_OnlyClosedOrder>sample string 5</VAR_OnlyClosedOrder>
  <VAR_PaymentType>sample string 15</VAR_PaymentType>
  <VAR_Product xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </VAR_Product>
  <VAR_ProductType xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </VAR_ProductType>
  <VAR_ProductUser xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </VAR_ProductUser>
  <VAR_RQ1>sample string 1</VAR_RQ1>
  <VAR_RQ2>sample string 2</VAR_RQ2>
  <VAR_RefundBillState>sample string 7</VAR_RefundBillState>
  <VAR_SellBillState>sample string 6</VAR_SellBillState>
  <VAR_Shop>sample string 17</VAR_Shop>
  <VAR_Shops xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </VAR_Shops>
  <VAR_StatisticalArea>sample string 8</VAR_StatisticalArea>
  <VAR_SubTradeSource>sample string 4</VAR_SubTradeSource>
  <VAR_TradeSource>sample string 3</VAR_TradeSource>
</Rpt_UnPos_PaymentReport_H_ConditonParm>

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(RptPaymentTypeHStyleResult(V_Rpt_UnPos_PaymentType_H_BillDataTable)))

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.