文档
测试

9. 车辆订单记录

POST
/api/returnRecord/getReturnRecordByList

接口描述

车辆订单记录

请求头

参数名
类型
描述
必填
content-Type
string
application/json;charset=utf-8
必填

请求参数

参数名
类型
描述
必填
timestamp
long
时间戳(毫秒)
必填
noncestr
string
8位随机数
必填
sign
string
参数签名
必填
body
object
参数数据
必填
token
string
用户登录成功返回token
必填
userId
string
用户id
必填
bikeNum
string
车辆编号
必填
pager
Object
分页对象
必填
currentPage
int
当前页(初始传1)
必填
pageSize
int
页大小(可传)
必填

响应参数

参数名
类型
描述
必填
timestamp
long
时间戳(毫秒)
必填
sign
string
响应数据签名
必填
body
object
响应数据
必填
code
string
响应状态码 10000成功 其他失败
必填
msg
string
响应描述(当code不为1000返回信息)
必填
data
Object
数据(当code为1000返回数据)
必填
totalSize
string
总条数
必填
returnRecord
Object
数据对象
必填
id
string
订单id
必填
rentTime
string
租车时间
必填
bikeNum
string
车辆编号
必填
payStatusDesc
string
支付状态
必填
useTime
string
用车时长
必填
fee
string
用车费用
必填
name
string
用户姓名
必填
username
string
用户登录名
必填

说明 / 示例

## 1.请求示例 POST https://{host}:{port}/api/returnRecord/getReturnRecordByList Content-Type: application/json ```json { "sign": "19bfd998d37635814253fdd59ff43dde", "body": { "pager": { "currentPage": 1 }, "bikeNum": "000003", "userId": "b1228f74f5124dc592de23d3caec57ed", "token": "qoa64tpab1228f74f5124dc592de23d3caec57ed" }, "noncestr": "9nz0i82i", "timestamp": 1598422449643 } ``` ## 2.响应样例 Status Code: 1000 ok Content-Type: application/json ```json { "body": { "code": "10000", "data": { "totalSize": "33", "returnRecord": [ { "payStatusDesc": "已支付", "bikeNum": "000003", "fee": "0.05元", "useTime": "38秒", "id": "af72f7573ca747769f2bf36df3120706", "rentTime": "2020-08-26 11:02:46", "payStatus": "1", "name": "XXX", "username": "130xxxxx" }, { "payStatusDesc": "已支付", "bikeNum": "000003", "fee": "0.01元", "useTime": "5秒", "id": "8e126cf5bc06427297a5292dbb5161ff", "rentTime": "2020-08-26 09:45:21", "payStatus": "1", "name": "XXX", "username": "130xxxxx" } ] } }, "timestamp": 1598423166706, "sign": "53d73ef2ba67184c1d50b43f48d8974b" } ```