GET api/SenceList?theatreid={theatreid}&startdate={startdate}&enddate={enddate}&theatricalid={theatricalid}

获取近期场次安排及各场次的空余座位情况。 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。

请求信息

URI参数

NameDescriptionTypeAdditional information
theatreid

(可选)剧场(映播厅)ID

string

Default value is

startdate

(可选)开始日期,不输入时为当天,不能检索今天以前的时间,格式YYYYMMDD。

string

Default value is

enddate

(可选),截止日期,不输入但startdate输入时,此值同startdate的值,startdate也不输入时默认为当天七天后的日期。,不能指定今天以前的日期,格式YYYYMMDD。

string

Default value is

theatricalid

(可选)剧目ID(影片ID)

integer

Default value is 0

窗体参数

None.

回复信息

资源描述

获取近期场次安排及各场次的空余座位情况。 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。

Collection of Sence
NameDescriptionTypeAdditional information
theatreid

剧场ID

string

None.

theatrename

剧场名称

string

None.

senceid

场次ID,唯一地标识每个剧目的每一次演出(放映),这个值在系统中是唯一的,假如今天和明天都有一个“第一场”,这两场的ID也是不同的。

string

None.

sencename

场次名称,如“第一场”,或“刘海砍樵第一场”。

string

None.

theatricalid

剧目(演出剧,影片)ID

string

None.

theatricalname

剧目(演出)名称,如“《集结号》”或“刘海砍樵”。

string

None.

date

当前场次所属的日期(YYYYMMDD)。

string

None.

starttime

演出或放映的开始时间(yyyyMMddHHmm)。

string

None.

endtime

演出或放映的结束时间(yyyyMMddHHmm)。

string

None.

sellendtime

当前场次售票的截止时间(yyyyMMddHhmm)。

string

None.

startchecktime

检票开始时间(入场开始时间)(yyyyMMddHHmm)。

string

None.

endchecktime

检票截止时间(入场截止时间)(YYYYMMDDHHMM)。

string

None.

freecount

截止至本次查询的时刻止,当前场次仍剩余的空座位数。

integer

None.

totalseat

总座位数

integer

None.

回复格式

Test application/json, text/json

Sample:
[
  {
    "theatreid": "sample string 1",
    "theatrename": "sample string 2",
    "senceid": "sample string 3",
    "sencename": "sample string 4",
    "theatricalid": "sample string 5",
    "theatricalname": "sample string 6",
    "date": "sample string 7",
    "starttime": "sample string 8",
    "endtime": "sample string 9",
    "sellendtime": "sample string 10",
    "startchecktime": "sample string 11",
    "endchecktime": "sample string 12",
    "freecount": 13,
    "totalseat": 14
  },
  {
    "theatreid": "sample string 1",
    "theatrename": "sample string 2",
    "senceid": "sample string 3",
    "sencename": "sample string 4",
    "theatricalid": "sample string 5",
    "theatricalname": "sample string 6",
    "date": "sample string 7",
    "starttime": "sample string 8",
    "endtime": "sample string 9",
    "sellendtime": "sample string 10",
    "startchecktime": "sample string 11",
    "endchecktime": "sample string 12",
    "freecount": 13,
    "totalseat": 14
  }
]

Test application/xml, text/xml

Sample:
<ArrayOfSence xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TourWebApi.Models.Result">
  <Sence>
    <date>sample string 7</date>
    <endchecktime>sample string 12</endchecktime>
    <endtime>sample string 9</endtime>
    <freecount>13</freecount>
    <sellendtime>sample string 10</sellendtime>
    <senceid>sample string 3</senceid>
    <sencename>sample string 4</sencename>
    <startchecktime>sample string 11</startchecktime>
    <starttime>sample string 8</starttime>
    <theatreid>sample string 1</theatreid>
    <theatrename>sample string 2</theatrename>
    <theatricalid>sample string 5</theatricalid>
    <theatricalname>sample string 6</theatricalname>
    <totalseat>14</totalseat>
  </Sence>
  <Sence>
    <date>sample string 7</date>
    <endchecktime>sample string 12</endchecktime>
    <endtime>sample string 9</endtime>
    <freecount>13</freecount>
    <sellendtime>sample string 10</sellendtime>
    <senceid>sample string 3</senceid>
    <sencename>sample string 4</sencename>
    <startchecktime>sample string 11</startchecktime>
    <starttime>sample string 8</starttime>
    <theatreid>sample string 1</theatreid>
    <theatrename>sample string 2</theatrename>
    <theatricalid>sample string 5</theatricalid>
    <theatricalname>sample string 6</theatricalname>
    <totalseat>14</totalseat>
  </Sence>
</ArrayOfSence>