GET api/AutoSell/Date
查询自助售票机可售的日期信息
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
查询自助售票机可售的日期信息
Collection of AutoSellDateResultName | Description | Type | Additional information |
---|---|---|---|
date |
日期 |
string |
None. |
isbuy |
当前日期是否允许购票(0 不允许 1 允许) 非时段模式下返回1 时段模式下,如果已闭馆、已约满返回0,表示不允许再预约 有预约数量返回1 |
string |
None. |
descripe |
描述 非时段模式下返回空 时段模式下返回具体的内容(如:余:300人、已约满、已闭馆等) |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "date": "sample string 1", "isbuy": "sample string 2", "descripe": "sample string 3" }, { "date": "sample string 1", "isbuy": "sample string 2", "descripe": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfAutoSellDateResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.AutoSell"> <AutoSellDateResult> <date>sample string 1</date> <descripe>sample string 3</descripe> <isbuy>sample string 2</isbuy> </AutoSellDateResult> <AutoSellDateResult> <date>sample string 1</date> <descripe>sample string 3</descripe> <isbuy>sample string 2</isbuy> </AutoSellDateResult> </ArrayOfAutoSellDateResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.