1、请求参数

字段名称 中文名称 数据类型 长度 是否必填 说明
username 起运港(代码) String 5
五子码转大写
podCode 目的港(代码) String 5
五子码转大写
delCode 卸货港(代码) String 5
五子码转大写
carrierCode 船公司代码(承运人代码) String 20
船公司代码(承运人代码)
vessel 船名 String 100
船名
voyage 航次 String 20
航次
scNo 约号 String 20
约号
etd ETD String
yyyy-MM-dd HH:mm:SS
commodity 品名 String 768
品名
goodsDescription 货物描述 String 488
货物描述
marks 唛头 String 768
唛头
pkgsType 包装code String 20
包装code
grossNum 件数 Integer 11
件数
grossWeight 毛重 bigdecimal 14
毛重
grossWeightUnit 毛重单位 String 10
毛重单位
grossMeasurement 体积 bigdecimal 14
体积
grossMeasurementUnit 体积单位 String 10
体积单位
ladingBillType 提单类型 String 20
正本:ORIGINAL
海运单:SEAWAY BILL
电放:TELEX RELEASE
ladingBillNum 提单份数(正本) Integer 11
提单份数(正本)
ladingBillNumCopy 提单份数(副本) Integer 11
提单份数(副本)
transitPayment 运输条款 String 20
对应关系:
CF CFS-CFS
CY CY-CY
DO CY-DOOR
FC FCL-FCL
FO CY-FO
FS CY-CFS
LC LCL-LCL
LO CY-LO
YF CY-CFS
CH HHUIC
freightPayment 运费条款 String 20
对应关系:
PP 预付 FREIGHT PREPAID
CC 到付 FREIGHT COLLECT
PAYABLE AT 第三地付款 FREIGHT PAYABLE ATv
PREPAID AT 第三地预付 FREIGHT PREPAID AT
COLLECT AT 第三地到付 FREIGHT COLLECT AT
orderRemark 备注 String 150
备注
shipperLine 发货人抬头 String 350
发货人抬头
consigneeLine 收货人抬头 String 350
收货人抬头
notifyLine 通知抬头 String 350
通知抬头
alsoNotifyLine 第二通知人抬头 String 350
第二通知人抬头
shipperAll 发货人 String 50
发货人
shipperName 发货人名称 String 50
发货人名称
shipperAddress 发货人地址 String 50
发货人地址
shipperCountry 发货人国家 String 50
发货人国家
shipperTel 发货人电话 String 50
发货人电话
consigneeAll 发货人 String 50
发货人
consigneeName 发货人名称 String 50
发货人名称
consigneeAddress 发货人地址 String 50
发货人地址
consigneeCountry 发货人国家 String 50
发货人国家
consigneeTel 通知人电话 String 50
通知人电话
notifyAll 通知人 String 50
通知人
notifyName 通知人名称 String 50
通知人名称
notifyAddress 通知人地址 String 50
通知人地址
notifyCountry 通知人国家 String 50
通知人国家
notifyTel 通知人电话 String 50
通知人电话

2、请求示例

3、响应参数

名称 数据类型 说明
code Integer code
msg String 提示信息

4、响应示例

  1. {
  2. "payload": {
  3. "nlpRes": "http://damo-customs-test.oss-cn-hangzhou.aliyuncs.com/nlp%2Fres%2Fc7be0164-a2fe-47f1-9cfb-3ddfa09d4491_nlp_res_url.json",
  4. "bookingHead": [
  5. {
  6. "processBitMap": "0",
  7. "existCorrection": "False",
  8. "sourceList": [
  9. {
  10. "attType": "bookingNote",
  11. "imageId": 1,
  12. "transformValue": "CY",
  13. "sepValueList": [
  14. {
  15. "endy": 311,
  16. "endx": 1220,
  17. "originalValue": "CY/CY",
  18. "starty": 283,
  19. "startx": 1150
  20. }
  21. ],
  22. "originalValue": "CY/CY",
  23. "extractFrom": "NLP",
  24. "normalizedValue": "CY/CY",
  25. "processBitMap": "0",
  26. "creditLevel": 0.99,
  27. "axisY": 283,
  28. "sepValue": "CY/CY",
  29. "axisX": 1150,
  30. "width": 70,
  31. "attTypeCode": 501,
  32. "height": 28
  33. }
  34. ],
  35. "existTranscoding": "True",
  36. "parsedValue": "CY/CY",
  37. "source_image": 1,
  38. "originalValue": "CY/CY",
  39. "extractFrom": "NLP",
  40. "normalizedValue": "CY/CY",
  41. "keyDesc": "运输条款",
  42. "value": "CY",
  43. "key": "transitPayment"
  44. }
  45. ],
  46. "resultCode": 0,
  47. "bookingContainList": [],
  48. "operateImage": [
  49. {
  50. "callOcrOpen": true,
  51. "imageWidth": "1785",
  52. "originalFileName": "153dd9d1-68cc-46a2-9895-5b44e021c545.pdf",
  53. "ocrFileUrl": "http://smartebao-dev-ocr.oss-cn-hangzhou.aliyuncs.com/0_153dd9d1-68cc-46a2-9895-5b44e021c545.pdf.txt",
  54. "imageId": 1,
  55. "pdfDocPage": 0,
  56. "extractSource": "nlp",
  57. "originalFileUrl": "http://smartebao-dev-litbucket.oss-cn-shanghai.aliyuncs.com/153dd9d1-68cc-46a2-9895-5b44e021c545.pdf",
  58. "imageHeight": "2526",
  59. "preAttTypeCode": 0,
  60. "originalImageWidth": "1785",
  61. "parseCode": 5,
  62. "inputDocType": 1,
  63. "imageUrl": "http://smartebao-dev-ocr.oss-cn-hangzhou.aliyuncs.com/0_153dd9d1-68cc-46a2-9895-5b44e021c545.pdf.png",
  64. "angle": 0,
  65. "classifySource": "nlp",
  66. "originalImageHeight": "2526",
  67. "attTypeCode": 501,
  68. "imageSuffix": "png"
  69. }
  70. ],
  71. "preDecDoc": [
  72. {
  73. "attFileUrl": "http://smartebao-dev-ocr.oss-cn-hangzhou.aliyuncs.com/ebao/input/c7be0164-a2fe-47f1-9cfb-3ddfa09d4491/c7be0164-a2fe-47f1-9cfb-3ddfa09d4491/preDecDoc_501.pdf",
  74. "attSeqNo": "1",
  75. "attTypeCode": "501"
  76. }
  77. ],
  78. "resultMessage": "识别成功",
  79. "version": "2.174.shipping"
  80. },
  81. "header": {
  82. "signInfo": "",
  83. "appModuleCode": null,
  84. "orderNo": "c7be0164-a2fe-47f1-9cfb-3ddfa09d4491",
  85. "bizType": "LIT00101",
  86. "receiptType": 0,
  87. "bizCode": "LIT00101",
  88. "groupId": null,
  89. "resultCode": "2",
  90. "msgId": "500447650",
  91. "customerCode": null,
  92. "resultMessage": "当前资料不包含指定的订舱委托书(LIT00101)单据类型",
  93. "env": "test",
  94. "userName": null,
  95. "version": null,
  96. "userId": null,
  97. "customerName": null,
  98. "orgId": "111268645",
  99. "receiveId": "EBAO0001",
  100. "masterNo": null,
  101. "requestId": "123456789",
  102. "appId": "ALIYUN01",
  103. "bizId": "123456789",
  104. "tenentId": null,
  105. "timestampStr": "2023-03-29 10:10:53"
  106. }
  107. }