GET api/WebInterface/TourismWechatApp/Ticket/InfoAndQRCode/V52?ticketcode={ticketcode}&showcode={showcode}
获取一个门票的信息和二维码
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ticketcode |
门票卡号 |
string |
Required |
showcode |
是否返回二维码数据 1-是 其他值否 |
string |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
获取一个门票的信息和二维码
CommonOperationResultWithTagOfTicketDetailInfoV52ResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | TicketDetailInfoV52Result |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "ticketcode": "sample string 1", "productid": "sample string 2", "productname": "sample string 3", "identitycode": "sample string 4", "moblie": "sample string 5", "name": "sample string 6", "permitcount": 7, "checktype": "sample string 8", "checkmediatype": "sample string 9", "delayactivatestatus": "sample string 10", "activatestatus": "sample string 11", "lastactivatedaylimit": "sample string 12", "activatetime": "2025-01-22T01:43:58.2379852+08:00", "activatemode": "sample string 14", "validatebegin": "sample string 15", "validateend": "sample string 16", "ticketimg": "sample string 17", "ticketimgversion": "sample string 18" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfTicketDetailInfoV52ResultJzm2UCrN 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.V52"> <d2p1:activatemode>sample string 14</d2p1:activatemode> <d2p1:activatestatus>sample string 11</d2p1:activatestatus> <d2p1:activatetime>2025-01-22T01:43:58.2379852+08:00</d2p1:activatetime> <d2p1:checkmediatype>sample string 9</d2p1:checkmediatype> <d2p1:checktype>sample string 8</d2p1:checktype> <d2p1:delayactivatestatus>sample string 10</d2p1:delayactivatestatus> <d2p1:identitycode>sample string 4</d2p1:identitycode> <d2p1:lastactivatedaylimit>sample string 12</d2p1:lastactivatedaylimit> <d2p1:moblie>sample string 5</d2p1:moblie> <d2p1:name>sample string 6</d2p1:name> <d2p1:permitcount>7</d2p1:permitcount> <d2p1:productid>sample string 2</d2p1:productid> <d2p1:productname>sample string 3</d2p1:productname> <d2p1:ticketcode>sample string 1</d2p1:ticketcode> <d2p1:ticketimg>sample string 17</d2p1:ticketimg> <d2p1:ticketimgversion>sample string 18</d2p1:ticketimgversion> <d2p1:validatebegin>sample string 15</d2p1:validatebegin> <d2p1:validateend>sample string 16</d2p1:validateend> </tag> </CommonOperationResultWithTagOfTicketDetailInfoV52ResultJzm2UCrN>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.