GET api/WebInterface/Theatre/SeatArea/ByTicketIdAndSceneId?tickettypeid={tickettypeid}&sceneid={sceneid}
依据票型ID,场次ID,查询各座位区域的名称及余票数。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tickettypeid |
票型ID。 |
string |
Required |
| sceneid |
场次ID。 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
依据票型ID,场次ID,查询各座位区域的名称及余票数。
CommonOperationResultWithTagOfIEnumerableOfTheatricalSeatAreaV5Result| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Collection of TheatricalSeatAreaV5Result |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": [
{
"seatareaid": "sample string 1",
"seatareaname": "sample string 2",
"inventory": 3,
"colorvalue": 4
},
{
"seatareaid": "sample string 1",
"seatareaname": "sample string 2",
"inventory": 3,
"colorvalue": 4
}
]
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfTheatricalSeatAreaV5Result90Z6Xn9G 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:TheatricalSeatAreaV5Result>
<d2p1:colorvalue>4</d2p1:colorvalue>
<d2p1:inventory>3</d2p1:inventory>
<d2p1:seatareaid>sample string 1</d2p1:seatareaid>
<d2p1:seatareaname>sample string 2</d2p1:seatareaname>
</d2p1:TheatricalSeatAreaV5Result>
<d2p1:TheatricalSeatAreaV5Result>
<d2p1:colorvalue>4</d2p1:colorvalue>
<d2p1:inventory>3</d2p1:inventory>
<d2p1:seatareaid>sample string 1</d2p1:seatareaid>
<d2p1:seatareaname>sample string 2</d2p1:seatareaname>
</d2p1:TheatricalSeatAreaV5Result>
</tag>
</CommonOperationResultWithTagOfArrayOfTheatricalSeatAreaV5Result90Z6Xn9G>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.