POST api/PayOrder/UseRebateAndVerifyCode
使用返款账户余额和手机验证码支付订单 向下兼容,同功能WebForms接口为。
Request Information
URI Parameters
None.
Body Parameters
支付参数。
PayOrderUseVerifyCodeParm| Name | Description | Type | Additional information |
|---|---|---|---|
| orderid |
被支付的订单的编号(电子门票系统内订单唯一编号) |
string |
Required Max length: 20 |
| verifycode |
验证码 |
string |
Required Max length: 6 |
| mobile |
手机号尾数或全号,此手机号必须是开立电子门票系统账户时,留存于供应商处的手机1或手机2的尾数。 |
string |
Required Max length: 11 |
Request Formats
application/json, text/json
Sample:
{
"orderid": "sample string 1",
"verifycode": "sample string 2",
"mobile": "sample string 3"
}
application/xml, text/xml
Sample:
<PayOrderUseVerifyCodeParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.WebInterface"> <mobile>sample string 3</mobile> <orderid>sample string 1</orderid> <verifycode>sample string 2</verifycode> </PayOrderUseVerifyCodeParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
使用返款账户余额和手机验证码支付订单 向下兼容,同功能WebForms接口为。
OrderOperatorResult| Name | Description | Type | Additional information |
|---|---|---|---|
| orderid |
操作对应(或产生)的电子门票系统订单号。 |
string |
None. |
| sendid |
操作对应的第三方系统的订单号(如同程网发送过来的订单的编号),此编号由接口方提供,在提口方系统中应为唯一值。 |
string |
None. |
| orderstatus |
订单当前所处的状态 |
string |
None. |
| resultcode |
操作返回代码,0表示成功,其他值表示错误。 |
integer |
None. |
| returnmessgage |
从接口返回的提示消息,用于告知成功的结果或出错的原因。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"orderid": "sample string 1",
"sendid": "sample string 2",
"orderstatus": "sample string 3",
"resultcode": 4,
"returnmessgage": "sample string 5"
}
application/xml, text/xml
Sample:
<OrderOperatorResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface"> <orderid>sample string 1</orderid> <orderstatus>sample string 3</orderstatus> <resultcode>4</resultcode> <returnmessgage>sample string 5</returnmessgage> <sendid>sample string 2</sendid> </OrderOperatorResult>