POST api/WebInterface/OrderAndPay/ScenicSpot/WithValueCard/ByPassword

小程序购票时的储值卡支付

Request Information

URI Parameters

None.

Body Parameters

OrderTourTicketAndPayWithValueCardByPwdParm
NameDescriptionTypeAdditional information
BillNum

预定单号。

string

Required

Max length: 20

BillType

订单类型 1-景区系统 2-Pos系统 3-租车系统 4-环保车系统,5-装备租赁业务,6-联营零售业务 因为不同的系统回调页面不一致,保存收款的表也不一致

string

Required

Max length: 1

PayAmount

收款金额,必须大于零。 在作内部支付时,最终系统中记录的收款金额以实际发生为准。

decimal number

Required

PaymentTypeId

付款方式的ID,只能是55储值卡,57优惠券。

string

Required

Max length: 2

Min length: 2

sellstationid

售票站点ID

string

Required

Max length: 2

marketareaid

市场区划ID

string

Max length: 8

teamtypecode

团队类型代码

string

Max length: 2

settotommrowtime

设置订单转日时间。

string

Max length: 5

CardNo

储值卡号

string

Required

Max length: 20

PayPwd

支付密码

string

Max length: 64

PassByWord

是否凭密支付 1-是

string

Required

Max length: 1

Request Formats

application/json, text/json

Sample:
{
  "BillNum": "sample string 1",
  "BillType": "sample string 2",
  "PayAmount": 3.0,
  "PaymentTypeId": "sample string 4",
  "sellstationid": "sample string 5",
  "marketareaid": "sample string 6",
  "teamtypecode": "sample string 7",
  "settotommrowtime": "sample string 8",
  "CardNo": "sample string 9",
  "PayPwd": "sample string 10",
  "PassByWord": "sample string 11"
}

application/xml, text/xml

Sample:
<OrderTourTicketAndPayWithValueCardByPwdParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.WebInterface">
  <BillNum>sample string 1</BillNum>
  <BillType>sample string 2</BillType>
  <CardNo>sample string 9</CardNo>
  <PassByWord>sample string 11</PassByWord>
  <PayAmount>3</PayAmount>
  <PayPwd>sample string 10</PayPwd>
  <PaymentTypeId>sample string 4</PaymentTypeId>
  <marketareaid>sample string 6</marketareaid>
  <sellstationid>sample string 5</sellstationid>
  <settotommrowtime>sample string 8</settotommrowtime>
  <teamtypecode>sample string 7</teamtypecode>
</OrderTourTicketAndPayWithValueCardByPwdParm>

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

小程序购票时的储值卡支付

CommonOperationResult
NameDescriptionTypeAdditional information
errcode

错误代码,通常0表示成功,其他值表示错误。

integer

None.

errmsg

错误描述,当errcode不为零时,此值可以用于呈现给用户。

string

None.

tag

操作同时,服务器端需要返回的其他值。

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<CommonOperationResult 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>sample string 3</tag>
</CommonOperationResult>

application/bson

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