1、基本信息
(1)请求方法: http get
(2)请求地址: http://{hostname}/suptruck/plan/toadd
(3)接口描述: 获取创建人、进仓编号
2、请求参数
无
3、请求示例
无
4、响应参数
| 名称 | 数据类型 | 说明 |
|---|---|---|
| code | Integer | code |
| msg | String | 提示信息 |
| timestamp | String | 时间戳 |
| data | JSONObject | |
| - createBy | String | 创建人 |
| - warehouseInNo | String | 进仓编号 |
| - custList | Array | 客商 |
| -- accountId | String | 账号id |
| -- accountCode | String | 账号编码 |
| -- accountName | String | 账号名称 |
| -- shortName | String | 账号简称 |
| -- tspId | long | 供应商ID |
| - serviceList | Array | 加固服务商 |
| -- accountId | String | 账号id |
| -- accountCode | String | 账号编码 |
| -- accountName | String | 账号名称 |
| -- shortName | String | 账号简称 |
| -- tspId | long | 供应商ID |
| - warehourseAddrList | Array | 仓库地址 |
| -- warehouseId | long | 仓库id |
| -- warehouseCode | String | 仓库编码 |
| -- warehouseName | String | 仓库名称 |
| -- warehouseAddr | String | 仓库地址 |
5、响应示例
正确响应:
{"msg": "操作成功","code": 100,"data": {"custList": [{"accountId": "1362199730549043200","accountCode": "SHAADGJHY","accountName": "安笪全球货运代理(南京)有限公司","shortName": "南京安笪","tspId": "1"},{"accountId": "1362229144548683776","accountCode": "SHAAXGJWL","accountName": "南京傲星全球物流有限公司","shortName": "南京傲星","tspId": "1111"},{"accountId": "1363760515553308672","accountCode": "YYGJHYDL","accountName": "颖运全球货运代理(南京)有限公司","shortName": "南京颖运","tspId": "1111"}],"serviceList": [{"accountId": "1363435161873690624","accountCode": "SFSY","accountName": "顺丰速运有限公司","shortName": "顺丰速运","tspId": "1111"},{"accountId": "1370204709285146624","accountCode": "SHAHUAGYJY","accountName": "南京化工研究院有限公司","shortName": "南京化工研究院","tspId": "1111"}],"warehouseInNo": "GHTGLY2305050002","createBy": "管理员","warehourseAddrList": [{"warehouseId": "1492797773198802944","warehouseCode": "TAOWHIMP000","warehouseName": "胶东机场货运站集中监管库","warehouseAddr": "胶东机场货运站集中监管库"},{"warehouseId": "1524262436482465792","warehouseCode": "FYFH","warehouseName": "福永福海街道","warehouseAddr": "深圳市福永和景工业园17栋103"}]},"timestamp": "2023-05-05 16:38:45"}
