我正在集成FedEx運輸API以使用Java生成標籤。一切工作正常,但除了這個問題。在爲FedEx Freight設置LabelFormatType
至COMMON2D
或LABEL_DATA_ONLY
時,我收到以下錯誤,例如FEDEX_FREIGHT_ECONOMY
和FEDEX_FREIGHT_PRIORITY
。自定義條形碼條目缺少條形碼高度
<Code>6022</Code>
<Message>Barcode Height missing from Custom Barcode Entry</Message>
我也嘗試添加條碼高度以下領域,但其沒有工作
RequestedShipment -> ShippingDocumentSpecification -> CustomShipmentDocumentDetail -> CustomContent -> BarcodeEntries -> BarHeight
RequestedShipment -> ShippingDocumentSpecification -> CustomPackageDocumentDetail -> CustomContent -> BarcodeEntries -> BarHeight
RequestedShipment -> ShippingDocumentSpecification -> FreightAddressLabelDetail -> CustomContent -> BarcodeEntries -> BarHeight
RequestedShipment -> LabelSpecification -> CustomerSpecifiedDetail -> CustomContent -> BarcodeEntries -> BarHeight
注:該代碼正在爲另外兩個LabelFormatType
即FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADING
和VICS_BILL_OF_LADING
等ServiceTypes
。
我還找不到任何解決方案。
請讓我知道我錯過了什麼?