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" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
   <soapenv:Header/>
   <soapenv:Body>
      <cha:GetChargeQuoteUsingXMLWithItems3>ReleaseSelectConsignments>
         <!-- 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-->  Optional:-->
         <cha:session>
            <!--Optional:-->
                 <cha:session>
            <cha:AccountID>115860<<cha:AccountID>?</cha:AccountID>
            <!--MandatoryOptional:-->
            <cha:DistributorID>101605<DistributorID>?</cha:DistributorID>
            <!--MandatoryOptional:-->
            <cha:Expires>2018-08-14T09:27:17.78<Expires>?</cha:Expires>
            <!--MandatoryOptional:-->
            <cha:Key>D1F83B85-4EEE-4AD1-BC53-99E57836C246<Key>?</cha:Key>
            <!--MandatoryOptional:-->
            <cha:UserID>64796<UserID>?</cha:UserID>
         </cha:session>
         <!--MandatoryOptional:-->
         </cha:session><cha:consignIDs>
            <cha:shipperID>115860</cha:shipperID>
  <!--Zero or more repetitions:-->
      <!--Mandatory:-->      <arr:long>?</arr:long>
         <cha:effectiveDate>15/08/2018<</cha:effectiveDate>consignIDs>
         <!--MandatoryOptional:-->
         <cha:senderLocation>Nunawading<releaseDate>?</cha:senderLocation>releaseDate>
         <!--MandatoryOptional:-->
         <cha:senderState>VIC<generateBookingRequests>?</cha:senderState>generateBookingRequests>
         <!--MandatoryOptional:-->
         <cha:senderPostcode>3131<generateManifests>?</cha:senderPostcode>generateManifests>
         <!--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>
         <!--Mandatory:-->
         <cha:receiverLocation>Narooma</cha:receiverLocation>
         <!--Mandatory:-->
        <cha:receiverState>NSW</cha:receiverState>
		<!--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>0</cha:serviceList>
         <!--Optional:-->
         <cha:userID>64796</cha:userID>
         <!--Mandatory:-->

         <cha:itemsList>
            <!--Zero or more repetitions:-->

            <cha:ConsignmentItem>
               <!--Optional:-->
               <cha:Barcode>1</cha:Barcode>
               <!--Optional:-->
               <cha:ConsignmentID>666666</cha:ConsignmentID>
               <!--Optional:-->

               <cha:ConsignmentProduct>
                  <!--Optional:-->
                  <cha:AccountID>115860</cha:AccountID>
                  <!--Optional:-->
                  <cha:Code>1</cha:Code>
                  <!--Optional:-->

                  <cha:DangerousGoods>
                     <!--Optional:-->
                     <cha:AggrigateQuantity>1</cha:AggrigateQuantity>
                     <!--Optional:-->
                     <cha:ConsignmentID>1</cha:ConsignmentID>
                     <!--Optional:-->
                     <cha:DangerousGoodsID>1</cha:DangerousGoodsID>
                     <!--Optional:-->
                     <cha:DgClass>1</cha:DgClass>
                     <!--Optional:-->

                     <cha:Exception>
                        <!--Optional:-->
                        <cha:Message>Na</cha:Message>
                        <!--Optional:-->
                        <cha:ModuleName>Peter</cha:ModuleName>
                        <!--Optional:-->
                        <cha:ProcedureName>Test</cha:ProcedureName>
                     </cha:Exception>
                     <!--Optional:-->

                     <cha:Group>1</cha:Group>
                     <!--Optional:-->
                     <cha:ID>1</cha:ID>
                     <!--Optional:-->
                     <cha:ItemNo>1</cha:ItemNo>
                     <!--Optional:-->
                     <cha:LiquidVolume>1</cha:LiquidVolume>
                     <!--Optional:-->
                     <cha:Liquidweight>1</cha:Liquidweight>
                     <!--Optional:-->
                     <cha:Name>1</cha:Name>
                     <!--Optional:-->
                     <cha:PSN>1</cha:PSN>
                     <!--Optional:-->
                     <cha:Quantity>1</cha:Quantity>
                     <!--Optional:-->
                     <cha:Recepticle>1</cha:Recepticle>
                     <!--Optional:-->
                     <cha:SubRisk>1</cha:SubRisk>
                     <!--Optional:-->
                     <cha:UnCode>1</cha:UnCode>
                     <!--Optional:-->
                     <cha:Units>1</cha:Units>
                     <!--Optional:-->
                     <cha:Volume>1</cha:Volume>
                     <!--Optional:-->
                     <cha:Weight>1</cha:Weight>
                  </cha:DangerousGoods>

                     <!--Optional:-->
                  <cha:DangerousGoodsID>1</cha:DangerousGoodsID>
                  <!--Mandatory:-->

                  <cha:Error>
                     <!--Optional:-->
                     <cha:Message>1</cha:Message>
                     <!--Optional:-->
                     <cha:ModuleName>1</cha:ModuleName>
                     <!--Optional:-->
                     <cha:ProcedureName>1</cha:ProcedureName>
                  </cha:Error>

                  <!--Optional:-->
                  <cha:Height>1</cha:Height>
                  <!--Optional:-->
                  <cha:IsActive>1</cha:IsActive>
                  <!--Optional:-->
                  <cha:Length>1</cha:Length>
                  <!--Optional:-->
                  <cha:Name>1</cha:Name>
                  <!--Optional:-->
                  <cha:ProductID>1</cha:ProductID>
                  <!--Optional:-->
                  <cha:Volume>1</cha:Volume>
                  <!--Optional:-->
                  <cha:Weight>1</cha:Weight>
                  <!--Optional:-->
                  <cha:Width>1</cha:Width>
               </cha:ConsignmentProduct>
               <!--Optional:-->

               <cha:Description>Enter Description</cha:Description>
               <!--Optional:-->
               <cha:ExchangeReturnable>1</cha:ExchangeReturnable>
               <!--Optional:-->
               <cha:Height>1</cha:Height>
               <!--Optional:-->
               <cha:ItemNo>1</cha:ItemNo>
               <!--Optional:-->
               <cha:ItemType>1</cha:ItemType>
               <!--Optional:-->
               <cha:Length>1</cha:Length>
               <!--Optional:-->
               <cha:ModifiedBy>1</cha:ModifiedBy>
               <!--Optional:-->
               <cha:NoItems>1</cha:NoItems>
               <!--Optional:-->
               <cha:ProductID>1</cha:ProductID>
               <!--Optional:-->
               <cha:Reference>1</cha:Reference>
               <!--Optional:-->
               <cha:Returnable>1</cha:Returnable>
               <!--Optional:-->
               <cha:Volume>1</cha:Volume>
               <!--Optional:-->
               <cha:Weight>1</cha:Weight>
               <!--Optional:-->
               <cha:Width>1</cha:Width>
            </cha:ConsignmentItem>

         </cha:itemsList>
         <!--Optional:-->

         <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:GetChargeQuoteUsingXMLWithItems3></cha:ReleaseSelectConsignments>
   </soapenv:Body>
</soapenv:Envelope>

...