我正在集成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
。
我还找不到任何解决方案。
请让我知道我错过了什么?