接口说明
查找用户接口
数据权限说明
只能查询登录账号已有权限公司的用户数据
请求示例
https://v7.cmsv8.com/StandardApiAction_findUserAccount.action?jsession=66d754dd7f41473dbd2&id=1&name=cmsv6
请求参数
| 参数名 | 参数类型 | 是否必须 | 示例 | 描述 |
|---|---|---|---|---|
| jsession | string | 是 | 66d754dd7f41473dbd2 | 会话号 |
| name | string | 否 | cmsv6 | 用户姓名(默认账号名称) |
| id | number | 否 | 1 | 用户id |
| # 返回参数 |
| 参数名称 | 参数类型 | 参数含义 | |
|---|---|---|---|
| result | number | 0表示成功,其他表示失败,[错误码说明](https://help.cmsv8.com/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1321&type=1 "错误码说明") | |
| company | object | 即当前jsession登录用户所属组织,解析参考公司查询 | |
| id | number | ||
| name | string | ||
| level | number | ||
| code | string | ||
| abbreviation | string | ||
| legal | string | ||
| linkMan | string | ||
| linkPhone | string | ||
| linkEmail | string | ||
| industryType | string | ||
| industryTypeStr | string | ||
| parentId | number | ||
| businessLicenseNum | string | ||
| registeredCapital | string | ||
| address | string | ||
| introduction | string | ||
| remark | string | ||
| updateUserId | string | ||
| updateTime | number | ||
| parentName | string | ||
| isMine | string | ||
| isChild | string | ||
| companyId | number | ||
| customerID | string | ||
| accountID | string | ||
| accountName | string | ||
| actName | string | ||
| password | string | ||
| validity | string | ||
| moreId | string | ||
| markerId | string | ||
| platformId | string | ||
| encryptPwd | string | ||
| dispatchGroup | string | ||
| isAdd | string | ||
| area | string | ||
| nuclearAuthority | string | ||
| legalPhone | string | ||
| legalAddress | string | ||
| gbCode | string | ||
| regionId | string | ||
| regionCode | string | ||
| regionName | string | ||
| navTitle | string | ||
| navImage | string | ||
| website | string | ||
| vehiAddDel | number | ||
| dispatcher | string | ||
| inspectReply | number | ||
| inspectAccount | string | ||
| inspectAccountStr | string | ||
| function | string | ||
| maxVehicleNum | string | ||
| configuration | string | ||
| motorcadeName | string | ||
| parentFunction | string | ||
| strongPass | boolean | ||
| monitor | string | ||
| monitorSupervisor | string | ||
| supervisorPhone | string | ||
| operatorCompanyId | string | ||
| operatorName | string | ||
| companyType | number | ||
| updateUserAccount | string | ||
| quasiTransport | number | ||
| motorcade | boolean | ||
| user | object | 用户信息 | |
| id | number | 用户id | |
| nm | string | 用户姓名(默认账号名称 ) | |
| act | string | 用户账号 | |
| vld | string | 账号有效期[格式:2019-04-02](毫秒) | |
| pid | number | 所属组织id | |
| pnm | string | 组织名称 | |
| role | string | ||
| stu | number | 账号有效期[格式:2019-04-02](毫秒) | |
| ctm | number | ||
| utm | number | ||
| ism | string | ||
| pms | string | ||
| at | number | 是否主账户 0-否,1-是 | |
| isSingleLogin | number | 单点登录:0-否 1-是;默认0 | |
| cps | number | 是否禁止修改密码 0-否 1-是;默认0 | |
| lv | number | 用户级别:0-4[对应 I-V];默认0 | |
| rid | string | ||
| rnm | string | 角色名称,多个和角色id顺序对应 | |
| mtl | string | ||
| mtl2 | string | ||
| img | string | ||
| dis | number | 用户类型:0-普通用户 1-调度用户;默认0 | |
| string | |||
| phone | string | ||
| depart | string | ||
| driId | string | ||
| driver | string | ||
| identity | string | ||
| industry | string | ||
| post | string | ||
| departmentEx | string | ||
| phoneEx | string | ||
| maxLoginNumber | string | ||
| muckDepartmentId | number | ||
| accountCategory | string | ||
| isOnline | string | ||
| lup | string | ||
| openAutoAuthorize | string | ||
| wxUnionid | string | ||
| wxOpenid | string | ||
| userPosts | string | ||
| watermark | string | ||
| aesEncrypt | number | ||
| adminPermission | string | ||
| serverPermission | string | ||
| phoneVarify | string | ||
| roleStr | string | ||
返回示例
{
"result": 0,
"company": {
"id": 1,
"name": "cmsv6",
"level": 15,
"code": null,
"abbreviation": null,
"legal": null,
"linkMan": null,
"linkPhone": null,
"linkEmail": null,
"industryType": null,
"industryTypeStr": null,
"parentId": 0,
"businessLicenseNum": null,
"registeredCapital": null,
"address": null,
"introduction": null,
"remark": null,
"updateUserId": null,
"updateTime": 1685589308000,
"parentName": null,
"isMine": null,
"isChild": null,
"companyId": 0,
"customerID": null,
"accountID": null,
"accountName": null,
"actName": null,
"password": null,
"validity": null,
"moreId": null,
"markerId": null,
"platformId": null,
"encryptPwd": null,
"dispatchGroup": null,
"isAdd": null,
"area": null,
"nuclearAuthority": null,
"legalPhone": null,
"legalAddress": null,
"gbCode": "34020000002160000001",
"regionId": null,
"regionCode": "440000",
"regionName": null,
"navTitle": null,
"navImage": null,
"website": null,
"vehiAddDel": 1,
"dispatcher": null,
"inspectReply": 0,
"inspectAccount": null,
"inspectAccountStr": null,
"function": null,
"maxVehicleNum": null,
"configuration": null,
"motorcadeName": null,
"parentFunction": null,
"strongPass": false,
"monitor": null,
"monitorSupervisor": null,
"supervisorPhone": null,
"operatorCompanyId": null,
"operatorName": null,
"companyType": 0,
"updateUserAccount": null,
"quasiTransport": 0,
"motorcade": false
},
"user": {
"id": 18,
"nm": "cmsv6",
"act": "cmsv6",
"vld": null,
"pid": 1,
"pnm": "广东省",
"role": null,
"stu": 1,
"ctm": 1732843696000,
"utm": 1732843696000,
"ism": null,
"pms": null,
"at": 0,
"isSingleLogin": 0,
"cps": 0,
"lv": 0,
"rid": "6",
"rnm": "role1",
"mtl": null,
"mtl2": null,
"img": null,
"dis": 0,
"email": null,
"phone": null,
"depart": null,
"driId": null,
"driver": null,
"identity": null,
"industry": null,
"post": null,
"departmentEx": null,
"phoneEx": null,
"maxLoginNumber": null,
"muckDepartmentId": 0,
"accountCategory": null,
"isOnline": null,
"lup": null,
"openAutoAuthorize": null,
"wxUnionid": null,
"wxOpenid": null,
"userPosts": null,
"watermark": null,
"aesEncrypt": 1,
"adminPermission": null,
"serverPermission": null,
"phoneVarify": null,
"roleStr": null
}
}