Skip to content

班次座位信息

  • 接口地址: [basePath]/support/third-party/order/batch
  • 示例请求body:
json
{
  "bus_line_batch_id":"2019042519000057", //班次Id,从‘线路信息’接口所得数据中用户选中班次的id
  "appid": "[appid]",
  "sign": "[signature]"
}
  • 示例响应body
json
{
    "code": 0,
    "msg": "",
    "data": [
        {
            "bus_line_batch_id": "2019042519000057", //班次Id
            "seat_num": 1, //座位号,,2,3,4,5,6,7,8,9
            "seat_price_original": 150, //原价
            "seat_price_discount": 0.01, //优惠价
            "status": "0", //状态,0可选,1已选,-1已锁定
            "lock_source": 0,
            "order_bus_id": null, // 订单号
            "third_party_order_id": null,// 第三方订单号
            "create_date": "2019-04-23 16:54:05",
            "status_date": "2019-04-23 16:54:05",
            "remark": null
            "type":0//座位类型,0-司机位(不可选) 2 -乘客座
        },
        {
            "bus_line_batch_id": "2019042519000057",
            "seat_num": 2,
            "seat_price_original": 150,
            "seat_price_discount": 0.01,
            "status": "-1",
            "lock_source": 1,
            "order_bus_id": null,
            "third_party_order_id": "12345672",
            "create_date": "2019-04-23 16:54:05",
            "status_date": "2019-04-23 16:54:05",
            "remark": "张三:18988889990",
            "type":2
        },
        {
            "bus_line_batch_id": "2019042519000057",
            "seat_num": 3,
            "seat_price_original": 150,
            "seat_price_discount": 0.01,
            "status": "-1",
            "lock_source": 1,
            "order_bus_id": null,
            "third_party_order_id": "12345672",
            "create_date": "2019-04-23 16:54:05",
            "status_date": "2019-04-23 16:54:05",
            "remark": "李四:18988889990",
            "type":2
        },
        {
            "bus_line_batch_id": "2019042519000057",
            "seat_num": 4,
            "seat_price_original": 150,
            "seat_price_discount": 0.01,
            "status": "0",
            "lock_source": 0,
            "order_bus_id": null,
            "third_party_order_id": null,
            "create_date": "2019-04-23 16:54:05",
            "status_date": "2019-04-23 16:54:05",
            "remark": null,
            "type":2
        },
        {
            "bus_line_batch_id": "2019042519000057",
            "seat_num": 5,
            "seat_price_original": 150,
            "seat_price_discount": 0.01,
            "status": "0",
            "lock_source": 0,
            "order_bus_id": null,
            "third_party_order_id": null,
            "create_date": "2019-04-23 16:54:05",
            "status_date": "2019-04-23 16:54:05",
            "remark": null,
             "type":2
        },
        {
            "bus_line_batch_id": "2019042519000057",
            "seat_num": 6,
            "seat_price_original": 150,
            "seat_price_discount": 1.0,
            "status": "0",
            "lock_source": 0,
            "order_bus_id": null,
            "third_party_order_id": null,
            "create_date": "2019-04-23 16:54:05",
            "status_date": "2019-04-23 16:54:05",
            "remark": null,
             "type":2
        },
        {
            "bus_line_batch_id": "2019042519000057",
            "seat_num": 7,
            "seat_price_original": 150,
            "seat_price_discount": 0.01,
            "status": "0",
            "lock_source": 0,
            "order_bus_id": null,
            "third_party_order_id": null,
            "create_date": "2019-04-23 16:54:05",
            "status_date": "2019-04-23 16:54:05",
            "remark": null,
             "type":2
        }
    ]
}

Released under the MIT License.