2-2) Example Web Service Call (CancelConsignment)

In this instance I am making a call to Find All locations in my uat environment through postman, I require my Session credentials and my ConsignmentId from my previous example to continue.

*Learn how to chain this call in 5) Creating Chained Requests

Endpoint: https://bau-uat-ws.azurewebsites.net/Data/ChainIT/DataService.svc

Headers: 

Body:

Web Service Call
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cha="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices">
   <soapenv:Header/>
   <soapenv:Body>
      <cha:CancelConsignment>
  <!-- Session Credentials Available By following the "Login Web Service Call"
                            https://flipgroup.atlassian.net/wiki/spaces/FLIP/pages/703102977/2a+Example+Web+Service+Call+Login-->     
         <cha:session>
            <cha:AccountID>115860</cha:AccountID>
            <!--Mandatory:-->
            <cha:DistributorID>101605</cha:DistributorID>
            <!--Mandatory:-->
            <cha:Expires>2018-08-16T15:15:55.89</cha:Expires>
            <!--Mandatory:-->
            <cha:Key>E36D344D-DCA9-45B8-8FCD-2F049B1E73B3</cha:Key>
            <!--Mandatory:-->
            <cha:UserID>64796</cha:UserID>
            <!--Mandatory:-->
         </cha:session>

         <cha:consignmentID>80423074</cha:consignmentID>
      </cha:CancelConsignment>

   </soapenv:Body>
</soapenv:Envelope>

<cha:consignmentID> can be found 2 ways

  1. Access "Manifest Consignments" 
    1. Inspect Webpage (F12 then CTRL + F "ConsignmentId)


  2. Access "Manifest Consignments" 
    1. Open Lablel
    2. Copy Numeric Value within the URL
Successful Web Service Call Response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <CancelConsignmentResponse xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices">
         <CancelConsignmentResult>true</CancelConsignmentResult>
      </CancelConsignmentResponse>
   </s:Body>
</s:Envelope>


Successful Web Service Call Response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <CancelConsignmentResponse xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices">
         <CancelConsignmentResult>false</CancelConsignmentResult>
      </CancelConsignmentResponse>
   </s:Body>
</s:Envelope>

3) Call/Function Definition and Requirements2-1) Example Web Service Call (Login)


Filter by label

There are no items with the selected labels at this time.