GET api/WebInterface/Ticket/Single/Complex/V5?dwlx={dwlx}&dwid={dwid}&ticketcode={ticketcode}&personaluserid={personaluserid}&guiderNumber={guiderNumber}
获取某一个特定的门票。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dwlx |
客户类型。 |
string |
Required |
| dwid |
客户的ID。 |
string |
Required |
| ticketcode |
(等于)门票的内部识别号,指定这个参数时,至多返回一条记录。 |
string |
Required |
| personaluserid |
(等于)个人会员ID。 |
integer |
Default value is 0 |
| guiderNumber |
(等于)导游证号。 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
获取某一个特定的门票。
CommonOperationResultWithTagOfTicketComplexInfoV5Result| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | TicketComplexInfoV5Result |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"checktimerules": [
{
"areaid": "sample string 1",
"areaname": "sample string 2",
"checkinstarttime": "sample string 3",
"checkinendtime": "sample string 4",
"leaveendtime": "sample string 5"
},
{
"areaid": "sample string 1",
"areaname": "sample string 2",
"checkinstarttime": "sample string 3",
"checkinendtime": "sample string 4",
"leaveendtime": "sample string 5"
}
],
"notice_of_purchase_and_use": "sample string 1",
"notice_of_refund": "sample string 2",
"providepassporttypes": [
{
"passporttypeid": "sample string 1",
"passporttypename": "sample string 2"
},
{
"passporttypeid": "sample string 1",
"passporttypename": "sample string 2"
}
],
"renegerules": [
{},
{}
],
"ticketcheckrecords": [
{
"ticketcode": "sample string 1",
"direction": "sample string 2",
"stationname": "sample string 3",
"gatenumber": "sample string 4",
"datetime": "sample string 5"
},
{
"ticketcode": "sample string 1",
"direction": "sample string 2",
"stationname": "sample string 3",
"gatenumber": "sample string 4",
"datetime": "sample string 5"
}
],
"useperiod": "sample string 3",
"customertype": "sample string 4",
"customerid": "sample string 5",
"curstomername": "sample string 6",
"productid": "sample string 7",
"productname": "sample string 8",
"ticketcode": "sample string 9",
"canrefund": "sample string 10",
"cannotrefundreason": [
"sample string 1",
"sample string 2"
],
"refundandchanging_timelimit": "sample string 11",
"mobile": "sample string 12",
"name": "sample string 13",
"identitycode": "sample string 14",
"predict_refund_fee": 15.0,
"price": 16.0,
"amount": 17,
"personcount": 18,
"freecount": 19,
"checkmethod": "sample string 20",
"needname": "sample string 21",
"valid_period_begins": "sample string 22",
"valid_period_end": "sample string 23",
"status": "sample string 24",
"orderid": "sample string 25",
"createdtime": "sample string 26",
"sellbillid": "sample string 27",
"summary": 28.0,
"paidsummary": 29.0,
"contains_the_show": "sample string 30",
"get_phyphysical_ticket": "sample string 31",
"contains_scenicspot_count": 32,
"theatre_id": "sample string 33",
"theatre_name": "sample string 34",
"theatrical_id": "sample string 35",
"theatrical_name": "sample string 36",
"scene_id": "sample string 37",
"scene_name": "sample string 38",
"scene_date": "sample string 39",
"scene_starttime": "sample string 40",
"scene_endtime": "sample string 41",
"scene_checkin_ahead": 42,
"scene_checkin_delay": 43,
"seatinfo": "sample string 44",
"has_another_segment_mode_scenicspot": "sample string 45",
"has_pre_segment_mode_scenicspot": "sample string 46",
"pre_segment_servicecode": "sample string 47",
"pre_segment_servicename": "sample string 48",
"pre_segment_code": 49,
"pre_segment_starttime": "sample string 50",
"pre_segment_endtime": "sample string 51",
"pre_segment_date": "sample string 52",
"fingerprintcount": 53,
"facecount": 54,
"barcodeindex": "sample string 55",
"barcodebuffer": "QEA=",
"checkinmediatype": "sample string 56"
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfTicketComplexInfoV5Result90Z6Xn9G xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
<errcode>1</errcode>
<errmsg>sample string 2</errmsg>
<tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface">
<d2p1:amount>17</d2p1:amount>
<d2p1:barcodebuffer>QEA=</d2p1:barcodebuffer>
<d2p1:barcodeindex>sample string 55</d2p1:barcodeindex>
<d2p1:cannotrefundreason xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</d2p1:cannotrefundreason>
<d2p1:canrefund>sample string 10</d2p1:canrefund>
<d2p1:checkinmediatype>sample string 56</d2p1:checkinmediatype>
<d2p1:checkmethod>sample string 20</d2p1:checkmethod>
<d2p1:contains_scenicspot_count>32</d2p1:contains_scenicspot_count>
<d2p1:contains_the_show>sample string 30</d2p1:contains_the_show>
<d2p1:createdtime>sample string 26</d2p1:createdtime>
<d2p1:curstomername>sample string 6</d2p1:curstomername>
<d2p1:customerid>sample string 5</d2p1:customerid>
<d2p1:customertype>sample string 4</d2p1:customertype>
<d2p1:facecount>54</d2p1:facecount>
<d2p1:fingerprintcount>53</d2p1:fingerprintcount>
<d2p1:freecount>19</d2p1:freecount>
<d2p1:get_phyphysical_ticket>sample string 31</d2p1:get_phyphysical_ticket>
<d2p1:has_another_segment_mode_scenicspot>sample string 45</d2p1:has_another_segment_mode_scenicspot>
<d2p1:has_pre_segment_mode_scenicspot>sample string 46</d2p1:has_pre_segment_mode_scenicspot>
<d2p1:identitycode>sample string 14</d2p1:identitycode>
<d2p1:mobile>sample string 12</d2p1:mobile>
<d2p1:name>sample string 13</d2p1:name>
<d2p1:needname>sample string 21</d2p1:needname>
<d2p1:orderid>sample string 25</d2p1:orderid>
<d2p1:paidsummary>29</d2p1:paidsummary>
<d2p1:personcount>18</d2p1:personcount>
<d2p1:pre_segment_code>49</d2p1:pre_segment_code>
<d2p1:pre_segment_date>sample string 52</d2p1:pre_segment_date>
<d2p1:pre_segment_endtime>sample string 51</d2p1:pre_segment_endtime>
<d2p1:pre_segment_servicecode>sample string 47</d2p1:pre_segment_servicecode>
<d2p1:pre_segment_servicename>sample string 48</d2p1:pre_segment_servicename>
<d2p1:pre_segment_starttime>sample string 50</d2p1:pre_segment_starttime>
<d2p1:predict_refund_fee>15</d2p1:predict_refund_fee>
<d2p1:price>16</d2p1:price>
<d2p1:productid>sample string 7</d2p1:productid>
<d2p1:productname>sample string 8</d2p1:productname>
<d2p1:refundandchanging_timelimit>sample string 11</d2p1:refundandchanging_timelimit>
<d2p1:scene_checkin_ahead>42</d2p1:scene_checkin_ahead>
<d2p1:scene_checkin_delay>43</d2p1:scene_checkin_delay>
<d2p1:scene_date>sample string 39</d2p1:scene_date>
<d2p1:scene_endtime>sample string 41</d2p1:scene_endtime>
<d2p1:scene_id>sample string 37</d2p1:scene_id>
<d2p1:scene_name>sample string 38</d2p1:scene_name>
<d2p1:scene_starttime>sample string 40</d2p1:scene_starttime>
<d2p1:seatinfo>sample string 44</d2p1:seatinfo>
<d2p1:sellbillid>sample string 27</d2p1:sellbillid>
<d2p1:status>sample string 24</d2p1:status>
<d2p1:summary>28</d2p1:summary>
<d2p1:theatre_id>sample string 33</d2p1:theatre_id>
<d2p1:theatre_name>sample string 34</d2p1:theatre_name>
<d2p1:theatrical_id>sample string 35</d2p1:theatrical_id>
<d2p1:theatrical_name>sample string 36</d2p1:theatrical_name>
<d2p1:ticketcode>sample string 9</d2p1:ticketcode>
<d2p1:valid_period_begins>sample string 22</d2p1:valid_period_begins>
<d2p1:valid_period_end>sample string 23</d2p1:valid_period_end>
<d2p1:checktimerules>
<d2p1:ScenicSpotProductCheckTimeResult>
<d2p1:areaid>sample string 1</d2p1:areaid>
<d2p1:areaname>sample string 2</d2p1:areaname>
<d2p1:checkinendtime>sample string 4</d2p1:checkinendtime>
<d2p1:checkinstarttime>sample string 3</d2p1:checkinstarttime>
<d2p1:leaveendtime>sample string 5</d2p1:leaveendtime>
</d2p1:ScenicSpotProductCheckTimeResult>
<d2p1:ScenicSpotProductCheckTimeResult>
<d2p1:areaid>sample string 1</d2p1:areaid>
<d2p1:areaname>sample string 2</d2p1:areaname>
<d2p1:checkinendtime>sample string 4</d2p1:checkinendtime>
<d2p1:checkinstarttime>sample string 3</d2p1:checkinstarttime>
<d2p1:leaveendtime>sample string 5</d2p1:leaveendtime>
</d2p1:ScenicSpotProductCheckTimeResult>
</d2p1:checktimerules>
<d2p1:notice_of_purchase_and_use>sample string 1</d2p1:notice_of_purchase_and_use>
<d2p1:notice_of_refund>sample string 2</d2p1:notice_of_refund>
<d2p1:providepassporttypes>
<d2p1:ScenicSpotProvidePassportTypeResult>
<d2p1:passporttypeid>sample string 1</d2p1:passporttypeid>
<d2p1:passporttypename>sample string 2</d2p1:passporttypename>
</d2p1:ScenicSpotProvidePassportTypeResult>
<d2p1:ScenicSpotProvidePassportTypeResult>
<d2p1:passporttypeid>sample string 1</d2p1:passporttypeid>
<d2p1:passporttypename>sample string 2</d2p1:passporttypename>
</d2p1:ScenicSpotProvidePassportTypeResult>
</d2p1:providepassporttypes>
<d2p1:renegerules>
<d2p1:ScenicSpotProductRenegeRuleResult />
<d2p1:ScenicSpotProductRenegeRuleResult />
</d2p1:renegerules>
<d2p1:ticketcheckrecords>
<d2p1:TicketCheckRecord>
<d2p1:datetime>sample string 5</d2p1:datetime>
<d2p1:direction>sample string 2</d2p1:direction>
<d2p1:gatenumber>sample string 4</d2p1:gatenumber>
<d2p1:stationname>sample string 3</d2p1:stationname>
<d2p1:ticketcode>sample string 1</d2p1:ticketcode>
</d2p1:TicketCheckRecord>
<d2p1:TicketCheckRecord>
<d2p1:datetime>sample string 5</d2p1:datetime>
<d2p1:direction>sample string 2</d2p1:direction>
<d2p1:gatenumber>sample string 4</d2p1:gatenumber>
<d2p1:stationname>sample string 3</d2p1:stationname>
<d2p1:ticketcode>sample string 1</d2p1:ticketcode>
</d2p1:TicketCheckRecord>
</d2p1:ticketcheckrecords>
<d2p1:useperiod>sample string 3</d2p1:useperiod>
</tag>
</CommonOperationResultWithTagOfTicketComplexInfoV5Result90Z6Xn9G>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.