Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
themeRDark
firstline1
titleWeb Service Call
linenumberstrue
<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:GetChargeQuote3>
  
  <!-- 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-14T09:27:17.78</cha:Expires>
            <!--Mandatory:-->
            <cha:Key>D1F83B85-4EEE-4AD1-BC53-99E57836C246</cha:Key>
            <!--Mandatory:-->
            <cha:UserID>64796</cha:UserID>
			<!--Mandatory:-->
         </cha:session>


         <cha:shipperID>115860</cha:shipperID>
         <!--Mandatory:-->
         <cha:effectiveDate>15/08/2018</cha:effectiveDate>
         <!--Mandatory:-->
         <cha:senderLocation>Nunawading</cha:senderLocation>
         <!--Mandatory:-->
         <cha:senderPostcode>3131</cha:senderPostcode>
         <!--Mandatory:-->
         <cha:senderCountryCode>AU</cha:senderCountryCode>
         <!--Mandatory:-->
         <cha:senderIsResidential>0</cha:senderIsResidential>
         <!--Mandatory:Flags for whether the address is residential. Used to pre-empt residential pick up fees.-->
         <!--
			 1 = Yes
			 0 = No 
		 -->
         <cha:receiverAddress1>18 Sycamore Grove</cha:receiverAddress1>
         <!--Mandatory:-->
         <cha:receiverAddress2></cha:receiverAddress2>
         <!--Optional:-->
         <cha:receiverLocation>Narooma</cha:receiverLocation>
         <!--Mandatory:-->
         <cha:receiverPostcode>2546</cha:receiverPostcode>
         <!--Mandatory:-->
         <cha:receiverCountryCode>AU</cha:receiverCountryCode>
         <!--Mandatory:-->
         <cha:receiverIsResidential>0</cha:receiverIsResidential>
         <!--Mandatory:Flags for whether the address is residential. Used to pre-empt residential pick up fees.-->
         <!--
			 1 = Yes
			 0 = No 
		 -->
         <cha:items>4</cha:items>
         <!--Mandatory:-->
         <cha:weight>18</cha:weight>
         <!--Mandatory:-->
         <cha:volume>20</cha:volume>
         <!--Mandatory:-->
         <cha:time>0</cha:time>
         <!--Optional:Estimated Travel Time. Recommended not to be used as inaccuracies in time calculation greatly vary quote results.-->
         <!--
			 1 = Yes
			 0 = No 
		 -->
         <cha:distance>0</cha:distance>
          <!--Optional: Estimated Distance between sender and receiver locations. Recommended not to be used as inaccuracies in route taken greatly vary quote results. -->
         <!--
			 1 = Yes
			 0 = No 
		 -->
         <!-- <cha:serviceList></cha:serviceList> Optional: Only use if you wish to filter different services -->
		 <!--Optional: Concatenated string of active services for the current Session. Found by called GetStandardServices function. -->
         <cha:containsDGs>0</cha:containsDGs>
          <!--Mandatory:Flags whether shipping items contain dangerous goods. Required for compliance and dangerous goods handling fee calculations.-->
         <!--
			 1 = Yes
			 0 = No 
		 -->
      </cha:GetChargeQuote3>
   </soapenv:Body>
</soapenv:Envelope>

...