GET api/SeatArea?senceid={senceid}&triplebillid={triplebillid}

获取场次的座位区域列表及座位区域的空余座位数。 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
senceid

指定的场次的ID

string

Required

triplebillid

行程单编号

string

Default value is

Body Parameters

None.

Response Information

Resource Description

获取场次的座位区域列表及座位区域的空余座位数。 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。

Collection of SeatArea
NameDescriptionTypeAdditional information
seatareaid

座位区域ID。

string

None.

seatareaname

座位区域的名称(如普通区,VIP区,特级VIP区)。

string

None.

lowestprice

当前座位区域在当前场次的最低票价

decimal number

None.

hightestprice

当前区域的最高价

decimal number

None.

recommendcolor

推荐的标识色彩

integer

None.

thumbnail

缩略图的URI(seatareaid.jpg文件),用于提供一个概览,让顾客能直观感觉当前区域在整个剧场中的位置。

string

None.

freeseatcount

至检索此数据时止,当前区域的空闲座位数

integer

None.

seatcount

座位数

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "seatareaid": "sample string 1",
    "seatareaname": "sample string 2",
    "lowestprice": 3.0,
    "hightestprice": 4.0,
    "recommendcolor": 5,
    "thumbnail": "sample string 6",
    "freeseatcount": 7,
    "seatcount": 8
  },
  {
    "seatareaid": "sample string 1",
    "seatareaname": "sample string 2",
    "lowestprice": 3.0,
    "hightestprice": 4.0,
    "recommendcolor": 5,
    "thumbnail": "sample string 6",
    "freeseatcount": 7,
    "seatcount": 8
  }
]

application/xml, text/xml

Sample:
<ArrayOfSeatArea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface">
  <SeatArea>
    <freeseatcount>7</freeseatcount>
    <hightestprice>4</hightestprice>
    <lowestprice>3</lowestprice>
    <recommendcolor>5</recommendcolor>
    <seatareaid>sample string 1</seatareaid>
    <seatareaname>sample string 2</seatareaname>
    <seatcount>8</seatcount>
    <thumbnail>sample string 6</thumbnail>
  </SeatArea>
  <SeatArea>
    <freeseatcount>7</freeseatcount>
    <hightestprice>4</hightestprice>
    <lowestprice>3</lowestprice>
    <recommendcolor>5</recommendcolor>
    <seatareaid>sample string 1</seatareaid>
    <seatareaname>sample string 2</seatareaname>
    <seatcount>8</seatcount>
    <thumbnail>sample string 6</thumbnail>
  </SeatArea>
</ArrayOfSeatArea>