GET api/V3Reserve/Order/Query/AfterActivate/{username}/{orderid}
(兼容V3版本保留 )在激活订单之后,返回订单的信息和订单票的明细的信息。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| username |
代理商的用户名。 |
string |
Required |
| orderid |
订单编号 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
(兼容V3版本保留 )在激活订单之后,返回订单的信息和订单票的明细的信息。
QueryTicketList| Name | Description | Type | Additional information |
|---|---|---|---|
| orderid |
订单号,在订单下单时,产生于电子门票系统的订单号。 |
string |
None. |
| sellbillid |
售票单单号 |
string |
None. |
| stationid |
售票站点号 |
string |
None. |
| businesstype |
业务类型,string(1),“1”前台取票或自助机取票,“2”互联网远程激活 |
string |
None. |
| stationname |
售票站点名称,string(32) |
string |
None. |
| datetime |
售票或激活的日期时间,string(14),YYYYMMDDHHMMSS |
string |
None. |
| total |
订单总金额 |
decimal number |
None. |
| dealtotal |
V3.0添加。交割时成交总金额(交割成交金额+交割过总产生的手续费额的和) |
decimal number |
None. |
| dealamount |
V3.0添加。交割成交金额(激活,取票时产生的产易金额) |
decimal number |
None. |
| totalfees |
V3.0添加。交割过总产生的手续费额,注意,关闭的订单此值也可能不为零,具体产生手续费的原因请参看本文基础知识部分 |
decimal number |
None. |
| ticketcount |
成交门票总张数,INT(注意,门票张数不一定等于人数,仅在一人一票时,两者才相等) |
integer |
None. |
| personcount |
成交人数 |
integer |
None. |
| ticket |
门票列表 |
Collection of Ticket |
None. |
Response Formats
application/json, text/json
Sample:
{
"orderid": "sample string 1",
"sellbillid": "sample string 2",
"stationid": "sample string 3",
"businesstype": "sample string 4",
"stationname": "sample string 5",
"datetime": "sample string 6",
"total": 7.0,
"dealtotal": 8.0,
"dealamount": 9.0,
"totalfees": 10.0,
"ticketcount": 11,
"personcount": 12,
"ticket": [
{
"productid": "sample string 1",
"productname": "sample string 2",
"ticketcode": "sample string 3",
"personcount": 4,
"ticketdate": "sample string 5",
"freecount": 6,
"price": 7.0,
"summary": 8.0,
"servicecode": "sample string 9",
"servicename": "sample string 10",
"timespanindex": 11,
"starttime": "sample string 12",
"endtime": "sample string 13",
"status": "sample string 14",
"name": "sample string 15",
"identitycode": "sample string 16",
"checkmethod": "sample string 17",
"ticketurl": "sample string 18",
"identitytype": "sample string 19",
"mobile": "sample string 20"
},
{
"productid": "sample string 1",
"productname": "sample string 2",
"ticketcode": "sample string 3",
"personcount": 4,
"ticketdate": "sample string 5",
"freecount": 6,
"price": 7.0,
"summary": 8.0,
"servicecode": "sample string 9",
"servicename": "sample string 10",
"timespanindex": 11,
"starttime": "sample string 12",
"endtime": "sample string 13",
"status": "sample string 14",
"name": "sample string 15",
"identitycode": "sample string 16",
"checkmethod": "sample string 17",
"ticketurl": "sample string 18",
"identitytype": "sample string 19",
"mobile": "sample string 20"
}
]
}
application/xml, text/xml
Sample:
<QueryTicketList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface">
<businesstype>sample string 4</businesstype>
<datetime>sample string 6</datetime>
<dealamount>9</dealamount>
<dealtotal>8</dealtotal>
<orderid>sample string 1</orderid>
<personcount>12</personcount>
<sellbillid>sample string 2</sellbillid>
<stationid>sample string 3</stationid>
<stationname>sample string 5</stationname>
<ticket>
<Ticket>
<checkmethod>sample string 17</checkmethod>
<endtime>sample string 13</endtime>
<freecount>6</freecount>
<identitycode>sample string 16</identitycode>
<identitytype>sample string 19</identitytype>
<mobile>sample string 20</mobile>
<name>sample string 15</name>
<personcount>4</personcount>
<price>7</price>
<productid>sample string 1</productid>
<productname>sample string 2</productname>
<servicecode>sample string 9</servicecode>
<servicename>sample string 10</servicename>
<starttime>sample string 12</starttime>
<status>sample string 14</status>
<summary>8</summary>
<ticketcode>sample string 3</ticketcode>
<ticketdate>sample string 5</ticketdate>
<ticketurl>sample string 18</ticketurl>
<timespanindex>11</timespanindex>
</Ticket>
<Ticket>
<checkmethod>sample string 17</checkmethod>
<endtime>sample string 13</endtime>
<freecount>6</freecount>
<identitycode>sample string 16</identitycode>
<identitytype>sample string 19</identitytype>
<mobile>sample string 20</mobile>
<name>sample string 15</name>
<personcount>4</personcount>
<price>7</price>
<productid>sample string 1</productid>
<productname>sample string 2</productname>
<servicecode>sample string 9</servicecode>
<servicename>sample string 10</servicename>
<starttime>sample string 12</starttime>
<status>sample string 14</status>
<summary>8</summary>
<ticketcode>sample string 3</ticketcode>
<ticketdate>sample string 5</ticketdate>
<ticketurl>sample string 18</ticketurl>
<timespanindex>11</timespanindex>
</Ticket>
</ticket>
<ticketcount>11</ticketcount>
<total>7</total>
<totalfees>10</totalfees>
</QueryTicketList>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.