1、基本信息

  (1)请求方法: http get

  (2)请求地址: http://{hostname}/suptruck/plan/vehiclesByContainers

  (3)说明:

  1. 查看集装箱信息
  2. 查看与集装箱相关的车辆信息
  3. 查看与车辆相关的文件信息

  (4)对应UI界面:3.1 装箱计划-装箱


2、请求参数

名称 数据类型 说明 是否必填
containerItemId Long 集装箱明细ID


3、请求示例

  1. http://{{req_url}}/suptruck/plan/vehiclesByContainers?containerItemId=1500281601597247488


4、响应参数

名称 数据类型 说明
code Integer code
msg String 提示信息
timestamp String 时间戳
data Object Json对象
- schemeItem Array 集装箱列表信息
 - containerItemId String 集装箱明细ID
 - loadingPlanId String 装监计划id
 - loadingSchemeId String 监装装箱方案ID
 - containerNo String 集装箱号
 - sealNo String 铅封号
 - containerType String 箱型
 - containerStatus String 集装箱状态
 - riskFlag String 风险标识
“有风险”或“”
 - riskRemark String 风险备注
 - pictureList Array 图片列表
 - vehicleInfos Array 车辆信息
  -‌- ctnrCargoId Long 集装箱工作单货物明细ID
  -‌- loadingSchemeId Long 监装装箱方案ID
  -‌- goodsName String 车辆名称
  -‌- vinCode String Vin码
  -‌- riskFlag String 风险标识
  -‌- riskRemark String 风险标识
“有风险”或“”
  -‌- pictureList Array 图片列表
   -‌- riskType String 关联类型
10车辆验收
20计划集装箱
30计划装箱
40计划封箱
   -‌- newFilename String 文件名称
   -‌- url String 文件类型名称
   -‌- thumbnail String 文件类型名称2,如:缩略图
   -‌- fileId Long 存放标识
   -‌- fileType String 文件类型代码
10文本
20视频
30音频
40图片
50可执行文件
   -‌- busiId Long 关联业务表ID
   -‌- riskFlag String 风险标识
“有风险”或“”
   -‌- riskRemark String 风险备注


5、响应示例

  1. {
  2. "msg": "操作成功",
  3. "code": 100,
  4. "data": {
  5. "warehouseInNo": null,
  6. "schemeNum": null,
  7. "encasementNum": null,
  8. "sealNum": null,
  9. "schemeList": null,
  10. "schemeItem": [
  11. {
  12. "serialNumber": null,
  13. "containerItemId": "1500281601597247488",
  14. "loadingPlanId": "1650834339107315712",
  15. "loadingSchemeId": "1655517969767342080",
  16. "containerNo": "123",
  17. "sealNo": "QFH89757",
  18. "containerType": "40GP",
  19. "containerStatus": "50",
  20. "riskFlag": null,
  21. "riskRemark": null,
  22. "pictureList": null,
  23. "vehicleInfos": [
  24. {
  25. "ctnrCargoId": "1622863110643785729",
  26. "loadingSchemeId": "4",
  27. "goodsName": "ELEVATOR PARTS",
  28. "vinCode": "123456789",
  29. "riskFlag": "有风险",
  30. "riskRemark": "车轮轴损坏",
  31. "pictureList": [
  32. {
  33. "riskType": "30",
  34. "newFilename": "照片1",
  35. "url": "https://example.com/picture1.jpg",
  36. "thumbnail": "https://example.com/picture1_thumbnail.jpg",
  37. "fileId": "1234",
  38. "fileType": "40",
  39. "busiId": "1622863110643785729",
  40. "riskFlag": null,
  41. "riskRemark": null
  42. },
  43. {
  44. "riskType": "30",
  45. "newFilename": "照片2",
  46. "url": "https://example.com/picture2.jpg",
  47. "thumbnail": "https://example.com/picture2_thumbnail.jpg",
  48. "fileId": "5678",
  49. "fileType": "40",
  50. "busiId": "1622863110643785729",
  51. "riskFlag": null,
  52. "riskRemark": null
  53. },
  54. {
  55. "riskType": "30",
  56. "newFilename": "car_picture2.jpg",
  57. "url": "http://example.com/car_picture2.jpg",
  58. "thumbnail": "http://example.com/thumb_car_picture2.jpg",
  59. "fileId": "pic004",
  60. "fileType": "40",
  61. "busiId": "123",
  62. "riskFlag": "",
  63. "riskRemark": "车辆状态良好,无风险"
  64. }
  65. ]
  66. },
  67. {
  68. "ctnrCargoId": 124,
  69. "loadingSchemeId": "LS001",
  70. "goodsName": "奥迪Q7",
  71. "vinCode": "DEF0987654321ABC",
  72. "riskFlag": "",
  73. "riskRemark": "车辆状态良好,无风险",
  74. "pictureList": [
  75. {
  76. "riskType": "30",
  77. "newFilename": "car_picture3.jpg",
  78. "url": "http://example.com/car_picture3.jpg",
  79. "thumbnail": "http://example.com/thumb_car_picture3.jpg",
  80. "fileId": "pic005",
  81. "fileType": "40",
  82. "busiId": "124",
  83. "riskFlag": "",
  84. "riskRemark": "车辆状态良好,无风险"
  85. }
  86. ]
  87. }
  88. ]
  89. }
  90. }
备注
  • 更多返回错误代码请看首页的错误代码描述