GET api/WebInterface/Theatre/Sence/ByTicketIdAndTicketDate?tickettypeid={tickettypeid}&ticketdate={ticketdate}
依据票型ID,门票日期,查询可以选择的场次的清单并返回。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tickettypeid |
票型的ID。 |
string |
Required |
ticketdate |
约定的出行日期,为空时表示当天。 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
依据票型ID,门票日期,查询可以选择的场次的清单并返回。
CommonOperationResultWithTagOfIEnumerableOfTheatricalSenceV5ResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of TheatricalSenceV5Result |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "theatreid": "sample string 1", "theatrename": "sample string 2", "theatricalid": "sample string 3", "theatricalname": "sample string 4", "senceid": "sample string 5", "sencename": "sample string 6", "sencedate": "sample string 7", "start_endtime": "sample string 8", "inventory": 9 }, { "theatreid": "sample string 1", "theatrename": "sample string 2", "theatricalid": "sample string 3", "theatricalname": "sample string 4", "senceid": "sample string 5", "sencename": "sample string 6", "sencedate": "sample string 7", "start_endtime": "sample string 8", "inventory": 9 } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfTheatricalSenceV5Result90Z6Xn9G 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:TheatricalSenceV5Result> <d2p1:inventory>9</d2p1:inventory> <d2p1:sencedate>sample string 7</d2p1:sencedate> <d2p1:senceid>sample string 5</d2p1:senceid> <d2p1:sencename>sample string 6</d2p1:sencename> <d2p1:start_endtime>sample string 8</d2p1:start_endtime> <d2p1:theatreid>sample string 1</d2p1:theatreid> <d2p1:theatrename>sample string 2</d2p1:theatrename> <d2p1:theatricalid>sample string 3</d2p1:theatricalid> <d2p1:theatricalname>sample string 4</d2p1:theatricalname> </d2p1:TheatricalSenceV5Result> <d2p1:TheatricalSenceV5Result> <d2p1:inventory>9</d2p1:inventory> <d2p1:sencedate>sample string 7</d2p1:sencedate> <d2p1:senceid>sample string 5</d2p1:senceid> <d2p1:sencename>sample string 6</d2p1:sencename> <d2p1:start_endtime>sample string 8</d2p1:start_endtime> <d2p1:theatreid>sample string 1</d2p1:theatreid> <d2p1:theatrename>sample string 2</d2p1:theatrename> <d2p1:theatricalid>sample string 3</d2p1:theatricalid> <d2p1:theatricalname>sample string 4</d2p1:theatricalname> </d2p1:TheatricalSenceV5Result> </tag> </CommonOperationResultWithTagOfArrayOfTheatricalSenceV5Result90Z6Xn9G>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.