GET api/V3Reserve/Order/Query/Single/RetOrderQueryview/{username}/{orderid}
查询一个订单的详细信息。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
username | string |
Required |
|
orderid | string |
Required |
Body Parameters
None.
Response Information
Resource Description
查询一个订单的详细信息。
OrderQueryviewName | Description | Type | Additional information |
---|---|---|---|
orderid |
订单号,在订单下单时,产生于电子门票系统的订单号。 |
string |
None. |
ordertime |
发起预订的日期时间,格式:yyyymmddHHmmss。 |
string |
None. |
customertype |
客户类型名称代码,如地接社、组团社、协议单位,地接社部门、组团社部门、协议单位部门、导游员、官方网络,对应取值为1,2,3,4,5,7,8 |
string |
None. |
customerid |
客户ID,电子门票系统中唯一地标识每一个代理商的ID号 |
string |
None. |
customername |
客户名称,如“上海万程网络科技有限公司”。 |
string |
None. |
description |
订单的简述,如“XXX票XX张,XXXB票XXXB张......” |
string |
None. |
orderstatus |
订单状态,预定中 0 已交割 3 已关闭 4 第三方付款已支付待核准 5 第三方支付退款申请中 7 第三方付款退款办理中 B 已前台现付取票 X 已交割(返款) D |
string |
None. |
paytimeout |
支付时效限制 |
integer |
None. |
summary |
合计整个订单的预订金额。 |
decimal number |
None. |
tickettypedesc |
V3.0添加。所订门票的简述,示例:散客票5张,优惠票1张 |
string |
None. |
dealtotal |
V3.0添加。订单总交割金额,含交割时的金额和手费述金额 |
decimal number |
None. |
dealamount |
V3.0添加。交割成交金额 |
decimal number |
None. |
totalfees |
V3.0添加。交割过总产生的手续费额,注意,关闭的订单此值也可能不为零,具体产生手续费的原因请参看本文基础知识部分 |
decimal number |
None. |
dealdesc |
V3.0添加。成交描述,示例,共成交散客票4张,优惠票1张 |
string |
None. |
backtotal |
V3.0添加。在交割后产生的退款总金额 |
decimal number |
None. |
backstatus |
V3.0添加。在交割后产生的退退款受理状态,示例:受理中/已受理 |
string |
None. |
paychannel |
V3.0添加。支付渠道或付款方式 |
string |
None. |
returnticketdesc |
V3.0添加。退票描述,示例:退散客票3张,合计300元,前台退现 |
string |
None. |
returncount |
V3.0添加。退票数量。 |
integer |
None. |
returntotal |
V3.0添加。退票产生的总退款金额 |
decimal number |
None. |
returnfees |
V3.0添加。退票手续费 |
decimal number |
None. |
returnpaychanneldesc |
V3.0添加。退票产生的退款的支付渠道或付款方式,注意,此处的值可能有多个,将以文字的形式进行描述,例如:支付宝,退款300,已受理;现金退款100,已受理 |
string |
None. |
spdh |
售票单号 |
string |
None. |
sxrq |
生效日期yyyyMMdd |
string |
None. |
jgrqsj |
交割日期时间yyyyMMddHHmmss |
string |
None. |
mobile |
预定时手机号码 |
string |
None. |
cardid |
预定时证件号码 |
string |
None. |
xyfp |
需要发票 0不需要 不需要 |
string |
None. |
fptt |
发票抬头 |
string |
None. |
orderviewdetail |
订单明细记录 |
Collection of OrderQueryviewDetail |
None. |
Response Formats
application/json, text/json
{ "orderid": "sample string 1", "ordertime": "sample string 2", "customertype": "sample string 3", "customerid": "sample string 4", "customername": "sample string 5", "description": "sample string 6", "orderstatus": "sample string 7", "paytimeout": 8, "summary": 9.0, "tickettypedesc": "sample string 10", "dealtotal": 11.0, "dealamount": 12.0, "totalfees": 13.0, "dealdesc": "sample string 14", "backtotal": 15.0, "backstatus": "sample string 16", "paychannel": "sample string 17", "returnticketdesc": "sample string 18", "returncount": 19, "returntotal": 20.0, "returnfees": 21.0, "returnpaychanneldesc": "sample string 22", "spdh": "sample string 23", "sxrq": "sample string 24", "jgrqsj": "sample string 25", "mobile": "sample string 26", "cardid": "sample string 27", "xyfp": "sample string 28", "fptt": "sample string 29", "orderviewdetail": [ { "productid": "sample string 1", "productname": "sample string 2", "num": 3, "unit": "sample string 4", "price": 5.0, "productstatus": "sample string 6", "timeindex": 7, "timeindexdesc": "sample string 8", "serverstationid": "sample string 9", "serverstationname": "sample string 10", "seatlistdesc": "sample string 11", "dealnum": 12.0, "dealamount": 13.0, "fees": 14.0, "returncount": 15, "returnfees": 16.0, "returntotal": 17.0, "returnpaychanneldesc": "sample string 18" }, { "productid": "sample string 1", "productname": "sample string 2", "num": 3, "unit": "sample string 4", "price": 5.0, "productstatus": "sample string 6", "timeindex": 7, "timeindexdesc": "sample string 8", "serverstationid": "sample string 9", "serverstationname": "sample string 10", "seatlistdesc": "sample string 11", "dealnum": 12.0, "dealamount": 13.0, "fees": 14.0, "returncount": 15, "returnfees": 16.0, "returntotal": 17.0, "returnpaychanneldesc": "sample string 18" } ] }
application/xml, text/xml
<OrderQueryview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface"> <backstatus>sample string 16</backstatus> <backtotal>15</backtotal> <cardid>sample string 27</cardid> <customerid>sample string 4</customerid> <customername>sample string 5</customername> <customertype>sample string 3</customertype> <dealamount>12</dealamount> <dealdesc>sample string 14</dealdesc> <dealtotal>11</dealtotal> <description>sample string 6</description> <fptt>sample string 29</fptt> <jgrqsj>sample string 25</jgrqsj> <mobile>sample string 26</mobile> <orderid>sample string 1</orderid> <orderstatus>sample string 7</orderstatus> <ordertime>sample string 2</ordertime> <orderviewdetail> <OrderQueryviewDetail> <dealamount>13</dealamount> <dealnum>12</dealnum> <fees>14</fees> <num>3</num> <price>5</price> <productid>sample string 1</productid> <productname>sample string 2</productname> <productstatus>sample string 6</productstatus> <returncount>15</returncount> <returnfees>16</returnfees> <returnpaychanneldesc>sample string 18</returnpaychanneldesc> <returntotal>17</returntotal> <seatlistdesc>sample string 11</seatlistdesc> <serverstationid>sample string 9</serverstationid> <serverstationname>sample string 10</serverstationname> <timeindex>7</timeindex> <timeindexdesc>sample string 8</timeindexdesc> <unit>sample string 4</unit> </OrderQueryviewDetail> <OrderQueryviewDetail> <dealamount>13</dealamount> <dealnum>12</dealnum> <fees>14</fees> <num>3</num> <price>5</price> <productid>sample string 1</productid> <productname>sample string 2</productname> <productstatus>sample string 6</productstatus> <returncount>15</returncount> <returnfees>16</returnfees> <returnpaychanneldesc>sample string 18</returnpaychanneldesc> <returntotal>17</returntotal> <seatlistdesc>sample string 11</seatlistdesc> <serverstationid>sample string 9</serverstationid> <serverstationname>sample string 10</serverstationname> <timeindex>7</timeindex> <timeindexdesc>sample string 8</timeindexdesc> <unit>sample string 4</unit> </OrderQueryviewDetail> </orderviewdetail> <paychannel>sample string 17</paychannel> <paytimeout>8</paytimeout> <returncount>19</returncount> <returnfees>21</returnfees> <returnpaychanneldesc>sample string 22</returnpaychanneldesc> <returnticketdesc>sample string 18</returnticketdesc> <returntotal>20</returntotal> <spdh>sample string 23</spdh> <summary>9</summary> <sxrq>sample string 24</sxrq> <tickettypedesc>sample string 10</tickettypedesc> <totalfees>13</totalfees> <xyfp>sample string 28</xyfp> </OrderQueryview>
application/bson
Binary JSON content. See http://bsonspec.org for details.