GET api/WebInterface/Order/Query/V5?dwlx={dwlx}&dwid={dwid}&orderid={orderid}&sendid={sendid}&personalid={personalid}&guidernum={guidernum}
(这个API是V4版互联网交易接口入口的映射)。 查询一个订单的详细信息,当前API相当于调用"Order/Query/Main、Order/Query/Detail、Order/Query/Logs、Order/Query/Fees"之和。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dwlx |
类客类型 |
string |
Required |
dwid |
客户ID |
string |
Required |
orderid |
电子门票系统订单编号,可以为空,但不能同时和sendid为空 |
string |
Default value is |
sendid |
第三方系统的订单编号,只有当您在发起预订的环节指定了sendid参数,此时才可能通过这个API检索,可以为空,但不能同时和orderid为空。 |
string |
Default value is |
personalid |
个人会员ID,当个人会员通过官方渠道发起操作时这个参数必须,代理商可以不提供这个参数。 |
integer |
Default value is 0 |
guidernum |
导游证号,2020-12-13添加。 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
(这个API是V4版互联网交易接口入口的映射)。 查询一个订单的详细信息,当前API相当于调用"Order/Query/Main、Order/Query/Detail、Order/Query/Logs、Order/Query/Fees"之和。
OrderV5Name | Description | Type | Additional information |
---|---|---|---|
senderid |
被接口方的业务单据ID,示例:同程网接口调用,此值表示同程网业务系统内对应的订单的单据号,此值在接口方系统内应为唯一值。不提供此参数时,系统将不会执行回调通知。提供这个参数还可以防止订单的重复提交。 |
string |
None. |
orderdescription |
订单的简述,如“XXX票XX张,XXXB票XXXB张......” |
string |
None. |
summary |
合计整个订单的预订金额。 |
decimal number |
None. |
theatrial |
剧目名称,在演艺类供应商,影院类供应商此值有含义 |
string |
None. |
totalcount |
合计整个订单的预订数量。 |
integer |
None. |
ticketchecktimespan |
预计的检票时间,分时段售检票或演艺剧场均会返回这个值。 |
string |
None. |
timespanindex |
时段序号,此值仅在分时段景区中有含义。 |
integer |
None. |
servicename |
服务名称(线路名称),此值仅在分时段景区中有含义。如“A线票”、“B线票”。 |
string |
None. |
servicecode |
服务ID(线路ID),此值仅在分时段景区中有含义。 |
string |
None. |
customername |
客户名称,如“上海万程网络科技有限公司”。 |
string |
None. |
customerid |
客户ID,电子门票系统中唯一地标识每一个代理商的ID号 |
string |
None. |
customertypename |
客户类型名称,如地接社、组团社、协议单位,地接社部门、组团社部门、协议单位部门、导游员、官方网络,对应customertypecode的值为1,2,3,4,5,7,8 |
string |
None. |
customertypecode |
客户类型代码(1,2,3,4,5,6,7,8) |
string |
None. |
ordertime |
发起预订的日期时间,格式:yyyymmddHHmmss。 |
string |
None. |
effectdate |
生效日期,格式:yyyyMMdd,门票从此日开始起效(可以使用门票的第一日)。 |
string |
None. |
scenename |
场次名称,此值仅在演艺剧场中有效,指明当前订单订的是哪一场的门票。 |
string |
None. |
scenetime |
场次(场次演出或放映)的开始时间和结束时间,此值在演艺类供应商和影院类供应商有意义。 |
string |
None. |
paymenttype |
付款方式的名称,如“支付宝即时到账”,“预订金支付”。 |
string |
None. |
paytimeout |
支付时效限制,整型值,单位分钟. 若您的WEB账户带有”允许前台现付”属性,则不需要理会该参数,若您的WEB账户不带有”允许前台现付”属性,则系统将在预定单提交后,此值所指示的分钟数到达时,自动关闭当前定单 |
string |
None. |
invoicecode |
购货人统一社会信用代码,当需要发票为“1”,但此项为空时,则发票将开“个人”。 |
string |
None. |
invoicetitle |
发票上打印的购货人单位名称 |
string |
None. |
needinvoice |
是否需要发票,“1”表示需要,“0”表示不需要。 |
string |
None. |
sellbillid |
售票单单据号,在电子门票系统中,售票单是唯一表达成交交易的单据,当订单在支付成功之后、前台取票之后会成一个售票单,此值为对应的售票单的单据号。 |
string |
None. |
deliverytime |
交割日期时间,以字符串表示YYYYMMDDHHMMSS,指订单转换为“已交割”/“已前台现付取票”/“已交割(返款)”这三种状态时的系统时刻。 当前订单在此时刻生成的门票列表。 |
string |
None. |
seatlist |
在演艺剧场的订单中,此值有意义,返回当前订单所分配的座位表。如“B区11排1,2,3,4,5座”。 |
string |
None. |
statuscode |
订单状态,预定中 0 已交割 3 已关闭 4 第三方付款已支付待核准 5 第三方支付退款申请中 7 第三方付款退款办理中 B 已前台现付取票 X 已交割(返款) D |
string |
None. |
statusname |
状态名称 |
string |
None. |
mobile |
手机号码,如果系统有依据订单的通知(如退款完成,订单取票等),将发送到这个手机上。 |
string |
None. |
identificationnumber |
身份证号,如果订单内的门票均是非实名的且需要取票的,客人可以使用这个证件号到前台或自助机上取票。 |
string |
None. |
guestname |
预订人姓名 |
string |
None. |
orderid |
订单号,在订单下单时,产生于电子门票系统的订单号。 |
string |
None. |
orderdetail |
订单明细记录 |
Collection of OrderItemV5 |
None. |
feeitem |
订单的手续费扣除清单 |
Collection of OrderFeeItem |
None. |
logs |
订单的日志信息。 |
Collection of OrderLog |
None. |
Response Formats
application/json, text/json
{ "senderid": "sample string 1", "orderdescription": "sample string 2", "summary": 3.0, "theatrial": "sample string 4", "totalcount": 5, "ticketchecktimespan": "sample string 6", "timespanindex": 7, "servicename": "sample string 8", "servicecode": "sample string 9", "customername": "sample string 10", "customerid": "sample string 11", "customertypename": "sample string 12", "customertypecode": "sample string 13", "ordertime": "sample string 14", "effectdate": "sample string 15", "scenename": "sample string 16", "scenetime": "sample string 17", "paymenttype": "sample string 18", "paytimeout": "sample string 19", "invoicecode": "sample string 20", "invoicetitle": "sample string 21", "needinvoice": "sample string 22", "sellbillid": "sample string 23", "deliverytime": "sample string 24", "seatlist": "sample string 25", "statuscode": "sample string 26", "statusname": "sample string 27", "mobile": "sample string 28", "identificationnumber": "sample string 29", "guestname": "sample string 30", "orderid": "sample string 31", "orderdetail": [ { "checkinmediatype": "sample string 1", "autoid": 2, "productid": "sample string 3", "amount": 4, "identificationnumber": "sample string 5", "fullname": "sample string 6", "identificationtype": "sample string 7", "mobile": "sample string 8", "gateinmode": "sample string 9", "productname": "sample string 10", "price": 11.0, "ticketinnernumber": "sample string 12", "singlemode": "sample string 13", "timespanusetype": "sample string 14", "status": "sample string 15", "seatsdescription": "sample string 16" }, { "checkinmediatype": "sample string 1", "autoid": 2, "productid": "sample string 3", "amount": 4, "identificationnumber": "sample string 5", "fullname": "sample string 6", "identificationtype": "sample string 7", "mobile": "sample string 8", "gateinmode": "sample string 9", "productname": "sample string 10", "price": 11.0, "ticketinnernumber": "sample string 12", "singlemode": "sample string 13", "timespanusetype": "sample string 14", "status": "sample string 15", "seatsdescription": "sample string 16" } ], "feeitem": [ { "autoid": 1, "productid": "sample string 2", "productname": "sample string 3", "price": 4.0, "amount": 5.0, "description": "sample string 6", "calculatetype": "sample string 7", "perticketfee": 8.0, "feeamount": 9, "isautoreturn": true, "paychannelname": "sample string 11", "needrefundsummary": 12.0, "startdatetime": "sample string 13", "completedatetime": "sample string 14", "status": "sample string 15", "statusname": "sample string 16", "batchno": "sample string 17" }, { "autoid": 1, "productid": "sample string 2", "productname": "sample string 3", "price": 4.0, "amount": 5.0, "description": "sample string 6", "calculatetype": "sample string 7", "perticketfee": 8.0, "feeamount": 9, "isautoreturn": true, "paychannelname": "sample string 11", "needrefundsummary": 12.0, "startdatetime": "sample string 13", "completedatetime": "sample string 14", "status": "sample string 15", "statusname": "sample string 16", "batchno": "sample string 17" } ], "logs": [ { "serialid": 1, "eventtypecode": "sample string 2", "eventtypename": "sample string 3", "orderid": "sample string 4", "sellbillid": "sample string 5", "ticketid": "sample string 6", "datetime": "sample string 7", "content": "sample string 8", "replaytime": "sample string 9", "replayresult": "sample string 10", "replaystatuscode": "sample string 11", "replaystatus": "sample string 12" }, { "serialid": 1, "eventtypecode": "sample string 2", "eventtypename": "sample string 3", "orderid": "sample string 4", "sellbillid": "sample string 5", "ticketid": "sample string 6", "datetime": "sample string 7", "content": "sample string 8", "replaytime": "sample string 9", "replayresult": "sample string 10", "replaystatuscode": "sample string 11", "replaystatus": "sample string 12" } ] }
application/xml, text/xml
<OrderV5 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface"> <customerid>sample string 11</customerid> <customername>sample string 10</customername> <customertypecode>sample string 13</customertypecode> <customertypename>sample string 12</customertypename> <deliverytime>sample string 24</deliverytime> <effectdate>sample string 15</effectdate> <feeitem> <OrderFeeItem> <amount>5</amount> <autoid>1</autoid> <batchno>sample string 17</batchno> <calculatetype>sample string 7</calculatetype> <completedatetime>sample string 14</completedatetime> <description>sample string 6</description> <feeamount>9</feeamount> <isautoreturn>true</isautoreturn> <needrefundsummary>12</needrefundsummary> <paychannelname>sample string 11</paychannelname> <perticketfee>8</perticketfee> <price>4</price> <productid>sample string 2</productid> <productname>sample string 3</productname> <startdatetime>sample string 13</startdatetime> <status>sample string 15</status> <statusname>sample string 16</statusname> </OrderFeeItem> <OrderFeeItem> <amount>5</amount> <autoid>1</autoid> <batchno>sample string 17</batchno> <calculatetype>sample string 7</calculatetype> <completedatetime>sample string 14</completedatetime> <description>sample string 6</description> <feeamount>9</feeamount> <isautoreturn>true</isautoreturn> <needrefundsummary>12</needrefundsummary> <paychannelname>sample string 11</paychannelname> <perticketfee>8</perticketfee> <price>4</price> <productid>sample string 2</productid> <productname>sample string 3</productname> <startdatetime>sample string 13</startdatetime> <status>sample string 15</status> <statusname>sample string 16</statusname> </OrderFeeItem> </feeitem> <guestname>sample string 30</guestname> <identificationnumber>sample string 29</identificationnumber> <invoicecode>sample string 20</invoicecode> <invoicetitle>sample string 21</invoicetitle> <logs> <OrderLog> <content>sample string 8</content> <datetime>sample string 7</datetime> <eventtypecode>sample string 2</eventtypecode> <eventtypename>sample string 3</eventtypename> <orderid>sample string 4</orderid> <replayresult>sample string 10</replayresult> <replaystatus>sample string 12</replaystatus> <replaystatuscode>sample string 11</replaystatuscode> <replaytime>sample string 9</replaytime> <sellbillid>sample string 5</sellbillid> <serialid>1</serialid> <ticketid>sample string 6</ticketid> </OrderLog> <OrderLog> <content>sample string 8</content> <datetime>sample string 7</datetime> <eventtypecode>sample string 2</eventtypecode> <eventtypename>sample string 3</eventtypename> <orderid>sample string 4</orderid> <replayresult>sample string 10</replayresult> <replaystatus>sample string 12</replaystatus> <replaystatuscode>sample string 11</replaystatuscode> <replaytime>sample string 9</replaytime> <sellbillid>sample string 5</sellbillid> <serialid>1</serialid> <ticketid>sample string 6</ticketid> </OrderLog> </logs> <mobile>sample string 28</mobile> <needinvoice>sample string 22</needinvoice> <orderdescription>sample string 2</orderdescription> <orderdetail> <OrderItemV5> <amount>4</amount> <autoid>2</autoid> <fullname>sample string 6</fullname> <gateinmode>sample string 9</gateinmode> <identificationnumber>sample string 5</identificationnumber> <identificationtype>sample string 7</identificationtype> <mobile>sample string 8</mobile> <price>11</price> <productid>sample string 3</productid> <productname>sample string 10</productname> <seatsdescription>sample string 16</seatsdescription> <singlemode>sample string 13</singlemode> <status>sample string 15</status> <ticketinnernumber>sample string 12</ticketinnernumber> <timespanusetype>sample string 14</timespanusetype> <checkinmediatype>sample string 1</checkinmediatype> </OrderItemV5> <OrderItemV5> <amount>4</amount> <autoid>2</autoid> <fullname>sample string 6</fullname> <gateinmode>sample string 9</gateinmode> <identificationnumber>sample string 5</identificationnumber> <identificationtype>sample string 7</identificationtype> <mobile>sample string 8</mobile> <price>11</price> <productid>sample string 3</productid> <productname>sample string 10</productname> <seatsdescription>sample string 16</seatsdescription> <singlemode>sample string 13</singlemode> <status>sample string 15</status> <ticketinnernumber>sample string 12</ticketinnernumber> <timespanusetype>sample string 14</timespanusetype> <checkinmediatype>sample string 1</checkinmediatype> </OrderItemV5> </orderdetail> <orderid>sample string 31</orderid> <ordertime>sample string 14</ordertime> <paymenttype>sample string 18</paymenttype> <paytimeout>sample string 19</paytimeout> <scenename>sample string 16</scenename> <scenetime>sample string 17</scenetime> <seatlist>sample string 25</seatlist> <sellbillid>sample string 23</sellbillid> <senderid>sample string 1</senderid> <servicecode>sample string 9</servicecode> <servicename>sample string 8</servicename> <statuscode>sample string 26</statuscode> <statusname>sample string 27</statusname> <summary>3</summary> <theatrial>sample string 4</theatrial> <ticketchecktimespan>sample string 6</ticketchecktimespan> <timespanindex>7</timespanindex> <totalcount>5</totalcount> </OrderV5>
application/bson
Binary JSON content. See http://bsonspec.org for details.