锂源

锂源换电


电池-列表

简要描述
  • 电池列表接口
请求URL
  • http://xx.com/gateway/liyuan_device/battery/info/list
请求方式
  • POST
参数
参数名 必选 类型 说明
pageNo int 当前页
pageSize int 每页个数
storeId long 所属门店
status int 状态 1-在线 2-离线 3-故障
electrifyStatus int 通电状态 1-通电中 2-断电中
gpsStatus int 定位状态 1-已定位 2-未定位
rentStatus int 出租状态 1-出租中 2-未出租
bt string 电池编号
userName string 租赁用户
remark string 备注
merchantId long 所属客户
返回示例
  {
    "code": 0,
    "list": [
        {
            "bt": "4",
            "btBrand": "犬夜叉",
            "btType": "犬系",
            "capacity": 1,
            "cost": 5.00,
            "createBy": 1,
            "createTime": 1638500550299,
            "dayMileage": "0",
            "electrifyStatus": 2,
            "gpsCode": "4",
            "gpsStatus": 2,
            "iccid": "4",
            "iccidStatus": 2,
            "id": 626582629696667648,
            "merchantId": 1000001,
            "remark": "冥道残月破",
            "rentStatus": 2,
            "status": 2,
            "storeId": 626277266137022464,
            "storeName": "门店炸鸡2",
            "totalMileage": "0",
            "userId": 0,
            "voltage": 6
        },
        {
            "bt": "2",
            "btBrand": "犬夜叉",
            "btType": "犬系",
            "capacity": 1,
            "cost": 5.00,
            "createBy": 1,
            "createTime": 1638500550299,
            "dayMileage": "0",
            "electrifyStatus": 2,
            "gpsCode": "2",
            "gpsStatus": 2,
            "iccid": "2",
            "iccidStatus": 2,
            "id": 626582629415649280,
            "merchantId": 1000001,
            "remark": "冥道残月破",
            "rentStatus": 2,
            "status": 2,
            "storeId": 626277266137022464,
            "storeName": "门店炸鸡2",
            "totalMileage": "0",
            "userId": 0,
            "voltage": 6
        },
        {
            "bt": "1",
            "btBrand": "犬夜叉",
            "btType": "犬系",
            "capacity": 1,
            "cost": 5.00,
            "createBy": 1,
            "createTime": 1638500550299,
            "dayMileage": "0",
            "electrifyStatus": 2,
            "gpsCode": "1",
            "gpsStatus": 2,
            "iccid": "1",
            "iccidStatus": 2,
            "id": 626582629138825216,
            "merchantId": 1000001,
            "remark": "冥道残月破",
            "rentStatus": 2,
            "status": 2,
            "storeId": 626277266137022464,
            "storeName": "门店炸鸡2",
            "totalMileage": "0",
            "userId": 0,
            "voltage": 6
        },
        {
            "bt": "5",
            "btBrand": "犬夜叉",
            "btType": "犬系",
            "capacity": 1,
            "cost": 5.00,
            "createBy": 1,
            "createTime": 1638500550299,
            "dayMileage": "0",
            "electrifyStatus": 2,
            "gpsCode": "5",
            "gpsStatus": 2,
            "iccid": "5",
            "iccidStatus": 2,
            "id": 626582629826691072,
            "merchantId": 1000001,
            "remark": "冥道残月破",
            "rentStatus": 2,
            "status": 2,
            "storeId": 626277266137022464,
            "storeName": "门店炸鸡2",
            "totalMileage": "0",
            "userId": 0,
            "voltage": 6
        },
        {
            "bt": "6",
            "btBrand": "犬夜叉",
            "btType": "犬系",
            "capacity": 1,
            "cost": 5.00,
            "createBy": 1,
            "createTime": 1638500550299,
            "dayMileage": "0",
            "electrifyStatus": 2,
            "gpsCode": "6",
            "gpsStatus": 2,
            "iccid": "6",
            "iccidStatus": 2,
            "id": 626582629973491712,
            "merchantId": 1000001,
            "remark": "冥道残月破",
            "rentStatus": 2,
            "status": 2,
            "storeId": 626277266137022464,
            "storeName": "门店炸鸡2",
            "totalMileage": "0",
            "userId": 0,
            "voltage": 6
        },
        {
            "bt": "7",
            "btBrand": "犬夜叉",
            "btType": "犬系",
            "capacity": 1,
            "cost": 5.00,
            "createBy": 1,
            "createTime": 1638512126905,
            "dayMileage": "0",
            "electrifyStatus": 2,
            "gpsCode": "7",
            "gpsStatus": 2,
            "iccid": "7",
            "iccidStatus": 2,
            "id": 626631185480548352,
            "merchantId": 1000001,
            "remark": "冥道残月破",
            "rentStatus": 2,
            "status": 2,
            "storeId": 626277266137022464,
            "storeName": "门店炸鸡2",
            "totalMileage": "0",
            "userId": 0,
            "voltage": 6
        },
        {
            "bt": "8",
            "btBrand": "犬夜叉",
            "btType": "犬系",
            "capacity": 1,
            "cost": 5.00,
            "createBy": 1,
            "createTime": 1638512126905,
            "dayMileage": "0",
            "electrifyStatus": 2,
            "gpsCode": "8",
            "gpsStatus": 2,
            "iccid": "8",
            "iccidStatus": 2,
            "id": 626631185988059136,
            "merchantId": 1000001,
            "remark": "冥道残月破",
            "rentStatus": 2,
            "status": 2,
            "storeId": 626277266137022464,
            "storeName": "门店炸鸡2",
            "totalMileage": "0",
            "userId": 0,
            "voltage": 6
        },
        {
            "bt": "9",
            "btBrand": "犬夜叉",
            "btType": "犬系",
            "capacity": 1,
            "cost": 5.00,
            "createBy": 1,
            "createTime": 1638512126905,
            "dayMileage": "0",
            "electrifyStatus": 2,
            "gpsCode": "9",
            "gpsStatus": 2,
            "iccid": "9",
            "iccidStatus": 2,
            "id": 626631186340380672,
            "merchantId": 1000001,
            "remark": "冥道残月破",
            "rentStatus": 2,
            "status": 2,
            "storeId": 626277266137022464,
            "storeName": "门店炸鸡2",
            "totalMileage": "0",
            "userId": 0,
            "voltage": 6
        },
        {
            "bt": "666",
            "dayMileage": "9",
            "electrifyStatus": 1,
            "iccid": "123",
            "id": 123,
            "merchantId": 1000000,
            "phone": "12345678910",
            "positionTime": 1638434045243,
            "rentStatus": 2,
            "status": 1,
            "storeId": 1,
            "storeName": "门店烧烤",
            "totalMileage": "100",
            "userId": 123,
            "userName": "张三"
        },
        {
            "bt": "1",
            "btBrand": "犬夜叉",
            "btType": "犬系",
            "capacity": 1,
            "cost": 5.00,
            "createBy": 1,
            "createTime": 1638500550299,
            "dayMileage": "0",
            "electrifyStatus": 2,
            "gpsCode": "1",
            "gpsStatus": 2,
            "iccid": "1",
            "iccidStatus": 2,
            "id": 1,
            "merchantId": 626320515929210880,
            "merchantName": "333",
            "positionTime": 1641450823000,
            "remark": "冥道残月破",
            "rentStatus": 1,
            "residueCapacity": "53.6",
            "status": 2,
            "statusTime": 1641545611158,
            "storeId": 626225398023192576,
            "storeName": "小新炸鸡11测试",
            "totalMileage": "0",
            "userId": 222,
            "voltage": 6
        }
    ],
    "pageTurn": {
        "currentPage": 1,
        "end": 10,
        "firstPage": 1,
        "nextPage": 1,
        "page": 1,
        "pageCount": 1,
        "pageSize": 20,
        "prevPage": 1,
        "rowCount": 10,
        "start": 0,
        "startIndex": 0
    },
    "tip": "请求成功"
}
返回参数说明
参数名 类型 说明
id long 主键
merchantId long 所属客户
storeId long 门店编号
bt string 电池BT编号
gpsCode string GPS编码
iccid string 物联网卡号
voltage int 额定电压 单位V
capacity int 额定容量 单位 Ah
cost BigInteger 电池成本
btType string 电池类型
btBrand string 电池品牌
totalMileage string 总里程
dayMileage string 当日里程
status int 状态 1-在线 2-离线 3-故障
lastOnlineTime date 最后上线时间
rentStatus int 出租状态 1-出租中 2-未出租
electrifyStatus int 通电状态 1-通电中 2-断电中
iccidStatus int 物联网卡激活状态 1-已激活 2-未激活
gpsStatus int 定位状态 1-已定位 2-未定位
positionTime date 最后定位时间
remark string 备注
createTime date 创建时间
createBy long 创建人ID
updateTime date 修改时间
updateBy long 修改人ID
residueCapacity string 剩余容量
statusTime date 状态更新时间
electrifyTime date 通/断电时间
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML