接口说明
查询SIM(分页)
数据权限说明
1.普通用户登录session:已有权限所有车辆设备的sim卡数据
2.管理员用户登录sesssion:已有权限所有车辆设备的sim卡数据
3.车牌登录session:查询当前车辆设备的sim信息
只能查询登录账号已有权限公司的SIM卡数据
请求示例
https://v7.cmsv8.com/StandardApiAction_loadSIMInfos.action?jsession=66d754dd7f41473dbd2
请求参数
| 参数名 | 参数类型 | 是否必需 | 示例 | 描述 |
|---|---|---|---|---|
| jsession | string | 是 | 66d754dd7f41473dbd2 | 会话号 |
| currentPage | number | 否 | 1 | 当前查询页码 如果为空,则不分页。 |
| pageRecords | number | 否 | 10 | 每页条数 如果为空,则不分页。 |
返回参数
| 参数名 | 参数类型 | 描述 | |
|---|---|---|---|
| result | number | 返回码 0表示成功,其他表示失败。(详情参见:[错误码说明](https://help.cmsv8.com/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1321&type=1&lang=zh "错误码说明")) | |
| infos | array | ||
| id | string | SIM ID | |
| vehiDNO | string | 车牌号 | |
| remark | string | 备注 | |
| status | number | 使用状态 0为未启用,1为已启用 默认1 | |
| registrationTime | number | 登记时间(毫秒) | |
| companyName | string | 公司名称 | |
| install | number | 绑定设备 0为未绑定,1为已绑定 | |
| devId | number | 设备ID | |
| companyID | number | 公司id(所属公司) | |
| cardNum | string | SIM卡号 | |
| devIDNO | string | 设备号 | |
| operator | string | 运营商 | |
| city | string | 发放城市 | |
| pagination | object | 分页参数 | |
| totalPages | number | 查询数据总页数 | |
| currentPage | number | 当前查询页码 | |
| pageRecords | number | 每页条数 | |
| totalRecords | number | 查询数据总条数 | |
返回示例
{
"result": 0,
"pagination": {
"sortParams": null,
"primaryKey": "id",
"hasPreviousPage": false,
"previousPage": 1,
"startRecord": 0,
"currentPage": 1,
"totalPages": 1,
"endRecord": 0,
"hasNextPage": false,
"nextPage": 1,
"directQuery": false,
"pageRecords": 10,
"totalRecords": 6
},
"infos": [
{
"id": 25,
"remark": null,
"updateTime": null,
"status": 1,
"vehiIDNO": "S66666",
"company": null,
"registrationTime": 1617868459000,
"companyName": "9889",
"simCard": null,
"install": 1,
"devId": 1,
"companyID": 38,
"cardNum": "222"
"devIDNO": "013300000001"
"operator": null,
"city": null,
"oldDevId": null
}]
}