> **应用场景**: > 本地收费系统从泊链获取订单记录(最多查询时间区间为24小时的订单记录) > #### (**SDK 2.2.2.0及以上版本**安装包支持该接口) 字段信息: | 名称 | 说明 | 类型| 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | service_name| 接口名称 |String | query_blpay |是 data_target| 上传位置| String | bolink |是 begin_time| 开始时间(unix时间戳格式)|Number | 1560148785 |是 end_time |结束时间(unix时间戳格式) |Number |1560152075 |是 random_temp |随机数,保证每次的sign签名不一致| Number |1560152075| 否 page_number| 页码,不传默认为1 |Number |1 |否 > > 示例: {"service_name": "query_blpay","data_target": "bolink","begin_time": 1554048000,"end_time": 1554130800,"random_temp": 1560148785,"page_number":1} 返回: | 名称 | 说明 | 类型| 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | state |状态| Number |0失败1成功 |是 errmsg| 方法返回描述 |String | 查询成功 |否 service_name |接口名称| String |query_blpay |是 data| State为1时返回的数据, data包含如下字段 |JSON | “data”:{} |否 page_number| 页码| Number |1| 是 page_count| 总页数| Number | 2 |是 park_id |车场编号 |String |20180427 |是 count |支付笔数| Number | 0 |是 ele_pay_total |电子支付总额 单位元 |Number | 29.9 |是 ele_refund |电子退款总额 单位元 |Number |10.0 |否 order_list |订单明细 以下为数组内的详细字段 |JSONARRAY | “order_list”:[] |否 order_id |订单号| String | A1231209151123| 否 tader_no |交易流水号 |String | 20190810238131231951123 |是 pay_type| 支付类型:sweepcode(被扫),wallet(余额、无感),scancode(主扫)| String| sweepcode,wallet,scancode |是 pay_channel| 支付通道 0微信 1支付宝 2余额 3银联 4建行| Number | 0 |是 total| 订单金额 单位元| Number |1.5| 是 car_number |车牌号| String | 京A88888| 否 state |订单状态, 1已结算, 2已预付, 3 已退款, 4 退款中| Number |4| 是 pay_time| 支付时间 |Number(unix时间戳格式,长整型)|1490875218 |是 > 示例: {"service_name":"query_blpay","state":1,"errmsg":"查询成功","data":{"page_number":1,"count":6,"park_id":"20180427","ele_pay_total ":0.14,"order_list":[{"tader_no":"20190401154841102008706110","pay_time":1561033220,"total":0.03,"car_number":"桂GGGY30","pay_channel":1,"pay_type":"scancode","state":1,"order_id":"A1_2C1554104817"},{"tader_no":"2019040115225510193470545","pay_time":1561033221,"total":0.01,"car_number":"桂GGGY29","pay_channel":1,"pay_type":"scancode","state":1,"order_id":"A1_2C1554103063"},{"tader_no":"201904011522151019345044310","pay_time":1561033222,"total":0.05,"car_number":"桂GGGY29","pay_channel":1,"pay_type":"scancode","state":1,"order_id":"A1_2C1554103063"},{"tader_no":"H282JP0RROUVZOJ9TU5X","pay_time":1561033223,"total":0.02,"car_number":"临20461BA","pay_channel":0,"pay_type":"scancode","state":1,"order_id":"1554102935929"},{"tader_no":"H684UOEC4TY0JQM3ULHB","pay_time":1561033224,"total":0.01,"car_number":"桂GGGY28","pay_channel":0,"pay_type":"scancode","state":1,"order_id":"A1_2C1554101956"},{"tader_no":"H419MNDHJDWB973T13KP","pay_time":1561033225,"total":0.02,"car_number":"桂GGGY28","pay_channel":0,"pay_type":"scancode","state":1,"order_id":"A1_2C1554101956"}],"ele_refund":0,"page_count":1}"} http请求字段信息: | 名称 | 说明 | 类型| 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | service_name| 接口名称| String | query_blpay| 是 token |令牌 |String |def684dd3b1f4e37bd7b14a378847b0a |是 sign |数据签名 |String | EFB19B2ED7F78541F3AAF00432F696A5| 是 data |数据,下列字段组成的json对象| Json | {} |是 begin_time| 开始时间(unix时间戳格式) |Number | 1560148785 |是 end_time |结束时间(unix时间戳格式) |Number |1560152075| 是 random_temp |随机数,保证每次的sign签名不一致 |Number |1560152075 |否 page_number |页码 不传默认为1 |Number |1 |否 > 示列 {"service_name":"query_blpay","token":"d0cdc0f4253044e08bd43c0643e64b73","data":{"begin_time":1554048000,"end_time":1554130800,"random_temp":15},"sign":"136789DB5D4EE625336DDF8B9223C0BE"} http同步返回: | 名称 | 说明 | 类型| 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | state |状态| Number |0失败1成功| 是 errmsg| 方法返回描述| String | 查询成功 |否 service_name |接口名称| String |query_blpay |是 data| State为1时返回的数据, data包含如下字段 |JSON | “data”:{} |否 page_number |页码 |Number | 1| 是 page_count| 总页数| Number | 2 |是 park_id |车场编号| String | 20180427| 是 count |支付笔数| Number | 0| 是 ele_pay_total |电子支付总额 单位元 |Number | 29.9 |是 ele_refund| 电子退款总额 单位元 |Number | 10.0 |否 order_list |订单明细 以下为数组内的详细字段 |JSONARRAY | “order_list”:[]| 否 order_id |订单号| String | A1231209151123 |否 tader_no| 交易流水号 |String | 20190810238131231951123 |是 pay_type |支付类型:sweepcode(被扫),wallet(余额、无感),scancode(主扫)| String | sweepcode,wallet,scancode| 是 pay_channel| 支付通道 0微信 1支付宝 2余额 3银联 4建行| Number |0| 是 total |订单金额 单位元 |Number | 1.5 |是 car_number |车牌号 |String | 京A88888| 否 state |订单状态, 1已结算, 2已预付, 3 已退款, 4 退款中| Number| 4 |是 pay_time| 支付时间 |Number(unix时间戳格式,长整型)|1490875218 |是 > 示例: { "service_name": "query_blpay","state": 1,"errmsg": "查询成功","data": {"page_number": 1, "count": 6,"park_id": "20180427", "ele_pay_total ": 0.14,"order_list": [ { "tader_no": "20190401154841102008706110", "pay_time":1561033220,"total": 0.03, "car_number": "桂GGGY30", "pay_channel": 1, "pay_type": "scancode","state": 1, "order_id": "A1_2C1554104817"}, {"tader_no": "201904011522151019345044311","pay_time":1561033221,"total": 0.01,"car_number": "桂GGGY29","pay_channel": 1, "pay_type": "scancode","state": 1,"order_id": "A1_2C1554103063" },{"tader_no": "201904011522151019345044310","pay_time":1561033222,"total": 0.05,"car_number": "桂GGGY29", "pay_channel": 1, "pay_type": "scancode","state": 1,"order_id": "A1_2C1554103063"},{"tader_no": "H282JP0RROUVZOJ9TU5X","pay_time":1561033223,"total": 0.02,"car_number": "临20461BA","pay_channel": 0,"pay_type": "scancode","state": 1,"order_id": "1554102935929"}, {"tader_no": "H684UOEC4TY0JQM3ULHB","pay_time":1561033224,"total": 0.01,"car_number": "桂GGGY28","pay_channel": 0,"pay_type": "scancode","state": 1,"order_id": "A1_2C1554101956" },{ "tader_no": "H419MNDHJDWB973T13KP","pay_time":1561033225,"total": 0.02,"car_number": "桂GGGY28","pay_channel": 0,"pay_type": "scancode","state": 1,"order_id": "A1_2C1554101956" }], "ele_refund": 0, "page_count": 1 }}