POST api/AutoSell/Date/Serverid/Ticket
查询自助售票机指定日期或线路ID的可售的门票信息
Request Information
URI Parameters
None.
Body Parameters
AutoSellTicketParmName | Description | Type | Additional information |
---|---|---|---|
date |
日期 |
string |
None. |
servercode |
线路的ID |
string |
None. |
sellstationid |
售票站点ID |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "date": "sample string 1", "servercode": "sample string 2", "sellstationid": "sample string 3" }
application/xml, text/xml
Sample:
<AutoSellTicketParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.AutoSell"> <date>sample string 1</date> <sellstationid>sample string 3</sellstationid> <servercode>sample string 2</servercode> </AutoSellTicketParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
查询自助售票机指定日期或线路ID的可售的门票信息
Collection of AutoSellTicketResultName | Description | Type | Additional information |
---|---|---|---|
productid |
产品ID |
string |
None. |
productname |
产品名称 |
string |
None. |
productgroupname |
产品分组名称 |
string |
None. |
productmodel |
出票方式 |
string |
None. |
price |
价格 |
decimal number |
None. |
needname |
是否实名制 |
string |
None. |
minimum |
购买下限 |
decimal number |
None. |
bl2 |
保留二 自助机售票设置格式 Z99|ID|30-65|区域限制|限60-65岁老年人购买| (详情请参考文档:自助售票设置字段函义.doc) |
string |
None. |
bl4 |
保留四 互联网预定的提前时间:必须设置为6位才有效 格式:HHmmss (详情请参考文档:电子门票系统如何设置互联网门票预定的时间限制.doc) |
string |
None. |
bl5 |
保留五 出售该门票时是否必须录入指纹 这个取值暂时只仅仅针对桃花源售本地票必须录入指纹的情形。 即仅仅在售票本地人购票功能中,只会显示该值为1的门票类型,其他值或不设置将不显示。同时该字段不管是否取值在其他业务界面不受影响 |
string |
None. |
bl6 |
保留六 |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "productid": "sample string 1", "productname": "sample string 2", "productgroupname": "sample string 3", "productmodel": "sample string 4", "price": 5.0, "needname": "sample string 6", "minimum": 7.0, "bl2": "sample string 8", "bl4": "sample string 9", "bl5": "sample string 10", "bl6": "sample string 11" }, { "productid": "sample string 1", "productname": "sample string 2", "productgroupname": "sample string 3", "productmodel": "sample string 4", "price": 5.0, "needname": "sample string 6", "minimum": 7.0, "bl2": "sample string 8", "bl4": "sample string 9", "bl5": "sample string 10", "bl6": "sample string 11" } ]
application/xml, text/xml
Sample:
<ArrayOfAutoSellTicketResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.AutoSell"> <AutoSellTicketResult> <bl2>sample string 8</bl2> <bl4>sample string 9</bl4> <bl5>sample string 10</bl5> <bl6>sample string 11</bl6> <minimum>7</minimum> <needname>sample string 6</needname> <price>5</price> <productgroupname>sample string 3</productgroupname> <productid>sample string 1</productid> <productmodel>sample string 4</productmodel> <productname>sample string 2</productname> </AutoSellTicketResult> <AutoSellTicketResult> <bl2>sample string 8</bl2> <bl4>sample string 9</bl4> <bl5>sample string 10</bl5> <bl6>sample string 11</bl6> <minimum>7</minimum> <needname>sample string 6</needname> <price>5</price> <productgroupname>sample string 3</productgroupname> <productid>sample string 1</productid> <productmodel>sample string 4</productmodel> <productname>sample string 2</productname> </AutoSellTicketResult> </ArrayOfAutoSellTicketResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.