This method assigns the specified manifest group code to an array of consignments in readiness for manifesting (e.g. via createManifest or createManifestForFutureDespatch).


It is assumed that you have worked through Creating your first Request to a Service and are familiar with the Properties needed to Call or Create a Consignment.

How to submit a request

Proceed as follows:

  1. If you have not already done so, open a new project using the WSDL ConsignmentService.xml.

  2. Create a new request under addConsignmentsToGroup,

  3. Enter the authorisation for the request.

  4. Specify the following:

    1. The code(s) of the existing consignment(s).

    2. The manifest group code to be added.

  5. Click Arrow.png to submit the request.

Example Request

<soapenv:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soapenv="" xmlns:ser="urn:DeliveryManager/services">
      <ser:addConsignmentsToGroup soapenv:encodingStyle="">
        <consignmentCodes xmlns:soapenc="" xsi:type="ser:ArrayOf_soapenc_string" soapenc:arrayType="soapenc:string[]">
         <manifestGroupCode xsi:type="soapenc:string" xmlns:soapenc="">TRUCK10</manifestGroupCode>

If the input is valid, then the consignments are assigned to the newly created manifest group, and true is returned, as in the example below.

Example Response

<soapenv:Envelope xmlns:soapenv="" xmlns:xsd="" xmlns:xsi="">
      <ns1:addConsignmentsToGroupResponse soapenv:encodingStyle="" xmlns:ns1="urn:DeliveryManager/services">
         <addConsignmentsToGroupReturn xsi:type="xsd:boolean">true</addConsignmentsToGroupReturn>

Next Steps

If you wish to confirm the assignment, then, in the GUI, go to the bottom left of the Advanced tab for one of the consignments and verify that the Manifest Group Code has been added.