POST api/WebInterface/Order/ReNew/YearCard
发起一个互联网年卡续费
Request Information
URI Parameters
None.
Body Parameters
预订的参数。
YearCardOrderReNewTourTicketParmName | Description | Type | Additional information |
---|---|---|---|
dwid |
客户ID |
string |
Required Max length: 36 |
dwlx |
客户类型,可以是以下取值:1-地接社,2-组团社,3-协议单位,4-地接社部门,5-组团社部门,6-协议单位部门,7-导游员。 |
string |
Required Max length: 1 |
orderinfo |
预订信息 |
YearCardOrderReNewAddParm |
Required |
Request Formats
application/json, text/json
Sample:
{ "dwid": "sample string 1", "dwlx": "sample string 2", "orderinfo": { "orderid": "sample string 1", "otheruserid": 2 } }
application/xml, text/xml
Sample:
<YearCardOrderReNewTourTicketParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <dwid>sample string 1</dwid> <dwlx>sample string 2</dwlx> <orderinfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.WebInterface"> <d2p1:orderid>sample string 1</d2p1:orderid> <d2p1:otheruserid>2</d2p1:otheruserid> </orderinfo> </YearCardOrderReNewTourTicketParm>
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
发起一个互联网年卡续费
OrderOperatorResultName | 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>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.