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、响应示例
{"payload": {"nlpRes": "http://damo-customs-test.oss-cn-hangzhou.aliyuncs.com/nlp%2Fres%2Fc7be0164-a2fe-47f1-9cfb-3ddfa09d4491_nlp_res_url.json","bookingHead": [{"processBitMap": "0","existCorrection": "False","sourceList": [{"attType": "bookingNote","imageId": 1,"transformValue": "CY","sepValueList": [{"endy": 311,"endx": 1220,"originalValue": "CY/CY","starty": 283,"startx": 1150}],"originalValue": "CY/CY","extractFrom": "NLP","normalizedValue": "CY/CY","processBitMap": "0","creditLevel": 0.99,"axisY": 283,"sepValue": "CY/CY","axisX": 1150,"width": 70,"attTypeCode": 501,"height": 28}],"existTranscoding": "True","parsedValue": "CY/CY","source_image": 1,"originalValue": "CY/CY","extractFrom": "NLP","normalizedValue": "CY/CY","keyDesc": "运输条款","value": "CY","key": "transitPayment"}],"resultCode": 0,"bookingContainList": [],"operateImage": [{"callOcrOpen": true,"imageWidth": "1785","originalFileName": "153dd9d1-68cc-46a2-9895-5b44e021c545.pdf","ocrFileUrl": "http://smartebao-dev-ocr.oss-cn-hangzhou.aliyuncs.com/0_153dd9d1-68cc-46a2-9895-5b44e021c545.pdf.txt","imageId": 1,"pdfDocPage": 0,"extractSource": "nlp","originalFileUrl": "http://smartebao-dev-litbucket.oss-cn-shanghai.aliyuncs.com/153dd9d1-68cc-46a2-9895-5b44e021c545.pdf","imageHeight": "2526","preAttTypeCode": 0,"originalImageWidth": "1785","parseCode": 5,"inputDocType": 1,"imageUrl": "http://smartebao-dev-ocr.oss-cn-hangzhou.aliyuncs.com/0_153dd9d1-68cc-46a2-9895-5b44e021c545.pdf.png","angle": 0,"classifySource": "nlp","originalImageHeight": "2526","attTypeCode": 501,"imageSuffix": "png"}],"preDecDoc": [{"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","attSeqNo": "1","attTypeCode": "501"}],"resultMessage": "识别成功","version": "2.174.shipping"},"header": {"signInfo": "","appModuleCode": null,"orderNo": "c7be0164-a2fe-47f1-9cfb-3ddfa09d4491","bizType": "LIT00101","receiptType": 0,"bizCode": "LIT00101","groupId": null,"resultCode": "2","msgId": "500447650","customerCode": null,"resultMessage": "当前资料不包含指定的订舱委托书(LIT00101)单据类型","env": "test","userName": null,"version": null,"userId": null,"customerName": null,"orgId": "111268645","receiveId": "EBAO0001","masterNo": null,"requestId": "123456789","appId": "ALIYUN01","bizId": "123456789","tenentId": null,"timestampStr": "2023-03-29 10:10:53"}}
