In this Request, a list of TrackingMBE can be provided, together with at least one between Proforma, CourierWaybill, MBEWaybill or ProofOfDelivery set to true. These three fields are used to return the presigned link of the respective documents for the shipments related to the TrackingMBE provided.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.onlinembe.eu/ws/">
<soapenv:Header/>
<soapenv:Body>
<ws:ShipmentDocumentsRequest>
<RequestContainer>
<System>?</System>
<Credentials>
<Username>?</Username>
<Passphrase>?</Passphrase>
</Credentials>
<InternalReferenceID>?</InternalReferenceID>
<!--1 or more repetitions:-->
<TrackingMBE>XXXXXXXXX</TrackingMBE>
<!--Optional:-->
<Proforma>true</Proforma>
<!--Optional:-->
<CourierWaybill>true</CourierWaybill>
<!--Optional:-->
<MBEWaybill>false</MBEWaybill>
<!--Optional:-->
<ProofOfDelivery>false</ProofOfDelivery>
</RequestContainer>
</ws:ShipmentDocumentsRequest>
</soapenv:Body>
</soapenv:Envelope>
In the Response:
if no error occurs, the response will contain the list of the shipments with information of the Tracking MBE they refer to
A blocking error will be returned if:
no TrackingMBE has been provided
or if none of the three fields related to the shipmentDocument to return are set to true.
an Error field will occur if the specific shipment has not been found, if the three fields cannot be found or too, if the MOL user used has no permissions (for example a CourierWaybill that the MOL user is not enabled to print).
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns3:ShipmentDocumentsRequestResponse xmlns:ns3="http://www.onlinembe.eu/ws/">
<RequestContainer>
<Status>OK</Status>
<InternalReferenceID>?</InternalReferenceID>
<ShipmentDocuments>
<ShipmentDocument>
<TrackingMBE>IT0001-0V-0000000N4S</TrackingMBE>
<Proforma>NOT FOUND</Proforma>
<CourierWaybill><![CDATA[https://teleport-dev-documents...]]></CourierWaybill>
</ShipmentDocument>
<ShipmentDocument>
<TrackingMBE>IT0001-0V-0000000N4P</TrackingMBE>
<Proforma><![CDATA[https://teleport-dev-documents...]]</Proforma
<CourierWaybill>Courier waybill not enabled for this shipment. Contact your Center for more information</CourierWaybill>
</ShipmentDocument>
<ShipmentDocument>
<TrackingMBE>IT0001-0B-0000000N3S</TrackingMBE>
<Proforma>NOT FOUND</Proforma>
<CourierWaybill>Courier waybill not enabled for this shipment. Contact your Center for more information</CourierWaybill>
</ShipmentDocument>
<ShipmentDocument>
<TrackingMBE>IT0001-0B-1100000N3S</TrackingMBE>
<Error>Shipment not found. Contact your Center for more information</Error>
</ShipmentDocument>
</ShipmentDocuments>
</RequestContainer>
</ns3:ShipmentDocumentsRequestResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Note: This request is used by eShip Plugins only and only for MBE Delivery Point shipments