For those sellers who wish their workflow to move to 'Printed' after label printing instead of 'Ready to manifest' (refer to How do I Print and Manifest separately?), this method allows you to flag all the 'Printed' consignments within a manifest group (refer to addConsignmentsToGroup) as 'Ready to Manifest'.
This allows the manifesting processes (e.g. createManifest and createManifestForFutureDespatch) to pick them up.
Note
It is assumed that you have worked through Creating your first Request to a Service, and that you have already used addConsignmentsToGroup to assign a manifest group to the consignments.
How to submit a request
Proceed as follows:
-
If you have not already done so, open a new project using the WSDL
ManifestService.xml
. -
Create a new request under
markConsignmentGroupReadyToManifest
, -
Enter the authorisation for the request.
-
Specify the manifest group code for which 'Printed' consignments are to be set to 'Ready to Manifest'.
-
Click to submit the request.
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="urn:DeliveryManager/services">
<soapenv:Header/>
<soapenv:Body>
<ser:markManifestGroupReadyToManifest soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<manifestGroupCode xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">TRUCK1</manifestGroupCode>
</ser:markManifestGroupReadyToManifest>
</soapenv:Body>
</soapenv:Envelope>
If the input is valid, then the consignment statuses are updated, and true
is returned, as in the example below.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:markManifestGroupReadyToManifestResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:DeliveryManager/services">
<markManifestGroupReadyToManifestReturn xsi:type="xsd:boolean">true</markManifestGroupReadyToManifestReturn>
</ns1:markManifestGroupReadyToManifestResponse>
</soapenv:Body>
</soapenv:Envelope>