1、基本信息
(1)请求方法: http get
(2)请求地址: http://{hostname}/suptruck/user/accounts
(3)接口描述: 登录后需要先获取租户服务平台列表
2、请求参数
无
3、请求示例
无
4、响应参数
| 名称 | 数据类型 | 说明 |
|---|---|---|
| code | Integer | code |
| msg | String | 提示信息 |
| timestamp | String | 时间戳 |
| data | Array | Json对象 |
| - accountId | Long | 账号id |
| - accountCode | String | 账号编码 |
| - accountName | String | 账号名称 |
| - shortName | String | 账号简称 |
| - tspId | Long | tsp_id 租户平台id |
5、响应示例
{"msg": "操作成功","code": 100,"data": [{"accountId": "1362199730549043200","accountCode": "SHAADGJHY","accountName": "安笪全球货运代理(南京)有限公司","shortName": "南京安笪","tspId": "1"},{"accountId": "1370204709285146624","accountCode": "SHAHUAGYJY","accountName": "南京化工研究院有限公司","shortName": "南京化工研究院","tspId": "1111"}],"timestamp": "2023-04-27 14:54:16"}
备注
- 更多返回错误代码请看首页的错误代码描述
