场次及票价列表获取接口¶
获取场次票价列表¶
- ::
- GET /ticket/
请求参数说明
查询成功响应信息
- ::
- Status: 200 OK
- ::
- [
[], {
“nuomi_now_price”: “44”, “taobao_now_price”: “22”, “start_time”: “10:00”, “end_time”: “11:33”, “meituan_now_price”: “33”}, {
“nuomi_now_price”: “44”, “taobao_now_price”: “22”, “start_time”: “11:00”, “end_time”: “12:33”, “meituan_now_price”: “33”}, {
“nuomi_now_price”: “44”, “taobao_now_price”: “22”, “start_time”: “11:45”, “end_time”: “13:18”, “meituan_now_price”: “33”}, {
“nuomi_now_price”: “44”, “taobao_now_price”: “22”, “start_time”: “12:45”, “end_time”: “14:18”, “meituan_now_price”: “33”},
]
响应参数说明
| name | type | value |
|---|---|---|
| start_time | string | 开始时间 |
| end_time | string | 结束时间 |
| meituan_now_price | string | 美团现价 |
| nuomi_now_price | string | 糯米现价 |
| taobao_now_price | string | 淘宝现价 |
查询失败响应
以下HTTP状态码均应为400
1.city_id格式正确但不存在该ID
- ::
- {
- “message”: “Id dose not exist”
}
2.请求参数格式错误
- ::
- {
- “city_id”: [
- “invalid”
]
}
3.其他错误
- ::
- {
- “message”: “Unknown error”
}