GET api/V3Reserve/Ticket/Content?username={username}&orderid={orderid}&ticketcode={ticketcode}
获取门票的详细信息。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
Required |
|
| orderid | string |
Required |
|
| ticketcode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取门票的详细信息。
QueryTicketContext| Name | Description | Type | Additional information |
|---|---|---|---|
| productid |
产品ID。 |
string |
None. |
| productname |
产品名称 |
string |
None. |
| ticketcode |
门票内部识别号 |
string |
None. |
| personcount |
人数,一人一票时,此值总为1,多人一票时,此值表示当前门票检票时,可以通过的人数 |
integer |
None. |
| ticketdate |
门票日期,string(8),YYYYMMDD,此值表示门票的起始生效日期,取值来源于激活时指定“游览日期”或取票时售票员指定的“门票日期” |
string |
None. |
| freecount |
赠送人数,此值仅在电子门票系统系统执行“现返”时,不为零,不为零时,表示现返人数,游宝星电子门票系统仅支持N免X模式的现返,如“10免1” |
integer |
None. |
| price |
价格 |
decimal number |
None. |
| summary |
金额 |
decimal number |
None. |
| servicecode |
服务项目代码(线路代码),string(2),此值仅在电子门票系统处于“分时段售检票”模式时有意义 |
string |
None. |
| servicename |
服务项目名称(线路名称),string(32),此值仅在电子门票系统处于“分时段售检票”模式时有意义 |
string |
None. |
| timespanindex |
时段号 此值仅在电子门票系统处于“分时段售检票”模式时有意义 |
integer |
None. |
| starttime |
时段预计检票开始时间,string(5),HH:MM,此值仅在电子门票系统处于“分时段售检票”模式时有意义 |
string |
None. |
| endtime |
时段预计检票结束时间,string(5),HH:MM,此值仅在电子门票系统处于“分时段售检票”模式时有意义 |
string |
None. |
| status |
状态,string(1),“1”正常,“2”已退票 |
string |
None. |
| name |
姓名,string(32),实名制模式下,此值表示客人的姓名 |
string |
None. |
| identitycode |
身份证号,string(20),实名制模式下,此值表示客人的法定有效个人身份证件号码 |
string |
None. |
| dealtype |
成交模式,string(1),“1”前台售票,“2”远程激活 |
string |
None. |
| seatdesc |
对座位的描述,例如:几区几排几座 |
string |
None. |
| eticketimage |
JPG图片内容的BASE64编码 |
string |
None. |
Response Formats
application/json, text/json
{
"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",
"dealtype": "sample string 17",
"seatdesc": "sample string 18",
"eticketimage": "sample string 19"
}
application/xml, text/xml
<QueryTicketContext xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface"> <dealtype>sample string 17</dealtype> <endtime>sample string 13</endtime> <eticketimage>sample string 19</eticketimage> <freecount>6</freecount> <identitycode>sample string 16</identitycode> <name>sample string 15</name> <personcount>4</personcount> <price>7</price> <productid>sample string 1</productid> <productname>sample string 2</productname> <seatdesc>sample string 18</seatdesc> <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> <timespanindex>11</timespanindex> </QueryTicketContext>
application/bson
Binary JSON content. See http://bsonspec.org for details.