POST api/Busi/RefundTicketForce/Do

执行强制退票。

Request Information

URI Parameters

None.

Body Parameters

RefundTicketParm
NameDescriptionTypeAdditional information
billnum

售票单单据号。

string

Required

Max length: 20

sellstationid

售票站点的ID。

string

Required

Max length: 2

tradefrom

交易来源,1是前台,2是互联网。

string

Required

Max length: 1

RefundWhole

是否整单退票,‘1’整 单,‘0’非整单,取值为‘1’时,@RefundTickets值、@RefundRecords将被忽略。

string

Required

Max length: 1

RefundWholeUseCashForce

是否整单强制使用现金办理,'1'是,只有在RefundWhole为'1'时,此值才起作用,’1‘表示是,0表示否,强制使用现金对储值卡,优惠券是不起作用的。

string

Required

Max length: 1

Memory

备注内容

string

Max length: 100

TicketCodes

被退票的票号(LBSBH)的列表。

Collection of string

None.

RefundItems

指定的执行退款的条目。

Collection of RefundTicketRefundMoneyParm

None.

Request Formats

application/json, text/json

Sample:
{
  "billnum": "sample string 1",
  "sellstationid": "sample string 2",
  "tradefrom": "sample string 3",
  "RefundWhole": "sample string 4",
  "RefundWholeUseCashForce": "sample string 5",
  "Memory": "sample string 6",
  "TicketCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "RefundItems": [
    {
      "OrgPaymentBillNum": "sample string 1",
      "RefundAmount": 2.0,
      "UseCashForce": "sample string 3"
    },
    {
      "OrgPaymentBillNum": "sample string 1",
      "RefundAmount": 2.0,
      "UseCashForce": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<RefundTicketParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm">
  <Memory>sample string 6</Memory>
  <RefundItems>
    <RefundTicketRefundMoneyParm>
      <OrgPaymentBillNum>sample string 1</OrgPaymentBillNum>
      <RefundAmount>2</RefundAmount>
      <UseCashForce>sample string 3</UseCashForce>
    </RefundTicketRefundMoneyParm>
    <RefundTicketRefundMoneyParm>
      <OrgPaymentBillNum>sample string 1</OrgPaymentBillNum>
      <RefundAmount>2</RefundAmount>
      <UseCashForce>sample string 3</UseCashForce>
    </RefundTicketRefundMoneyParm>
  </RefundItems>
  <RefundWhole>sample string 4</RefundWhole>
  <RefundWholeUseCashForce>sample string 5</RefundWholeUseCashForce>
  <TicketCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </TicketCodes>
  <billnum>sample string 1</billnum>
  <sellstationid>sample string 2</sellstationid>
  <tradefrom>sample string 3</tradefrom>
</RefundTicketParm>

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

执行强制退票。

CommonOperationResultWithTagOfInt64
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": 3
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOflong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
  <errcode>1</errcode>
  <errmsg>sample string 2</errmsg>
  <tag>3</tag>
</CommonOperationResultWithTagOflong>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.