POST api/Order/YearCard/OrderReNewYearCard
年卡续费
Request Information
URI Parameters
None.
Body Parameters
YearCardOrderReNewAddParm| Name | Description | Type | Additional information |
|---|---|---|---|
| orderid |
原预订单号 |
string |
None. |
| otheruserid |
其他用户ID号,指用户在第三方系统的用户账号,主要用于官方网站和官方微信的对接,第三方OTA不能使用。 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"orderid": "sample string 1",
"otheruserid": 2
}
application/xml, text/xml
Sample:
<YearCardOrderReNewAddParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.WebInterface"> <orderid>sample string 1</orderid> <otheruserid>2</otheruserid> </YearCardOrderReNewAddParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
年卡续费
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>