Versions Compared

Key

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


Note
titleNot Required

GetQuote3 returns GetChargeQuote4 and GetChargeQuote5 returns the exact same information as GetQuote. This example includes a Country Code Variable, however this can also be included within the GetQuote call. 

These Calls require significantly more information and is generally only required for the most complex implementations of OneFlo catering for very unique quoting requirements


Info

In this instance I am making a call to GetChargeQuote in my uat environment through postman, Things I need to perform this call:

  1. My Session Credentials form my previous Login Call
    1. Note Session Credentials will expire If
      1. You Have generated a new "Key"
      2. You Have Passed the Expiry Date of the Session
      3. The User has been Deleted/made inactive
  2. Your package/quote information

...

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>GetChargeQuote4>
         <!--Optional:-->
         <cha:session>
            <!--Optional:-->
            <cha:AccountID>115860</cha:AccountID>
            <!--Optional:-->
            <cha:DistributorID>101605</cha:DistributorID>
            <!--Optional:-->
            <cha:Expires>2018-08-14T09:27:17.78</cha:Expires>
            <!--Optional:-->
            <cha:Key>D1F83B85-4EEE-4AD1-BC53-99E57836C246</cha:Key>
            <!--Optional:-->
            <cha:UserID>64796</cha:UserID>
         </cha:session>
         <!--Optional:-->
         <cha:shipperID>115860</cha:shipperID>
         <!--Optional:-->
         <cha:effectiveDate>15/08/2018</cha:effectiveDate>
         <!--Optional:-->
         <cha:senderLocation>Nunawading</cha:senderLocation>
         <!--Optional:-->
         <cha:senderPostcode>3131</cha:senderPostcode>
         <!--Optional:-->
         <cha:senderCountryCode>AU</cha:senderCountryCode>
         <!--Optional:-->
         <cha:senderIsResidential>0</cha:senderIsResidential>
         <!--Optional:Flags-->
for whether the address is residential. Used to pre-empt residential pick up fees.-->
         <cha:receiverAddress1>18 Sycamore  <cha:receiverAddress1>18 Sycamore Grove</cha:receiverAddress1>
         <!--Optional:-->
         <cha:receiverAddress2><receiverAddress2/cha:receiverAddress2>>
         <!--Optional:-->
         <cha:receiverLocation>MOUNT EVELYN</cha:receiverLocation>
         <!--Optional:-->
         <cha:receiverPostcode>3796</cha:receiverPostcode>
         <!--Optional:-->
         <cha:receiverCountryCode>AU</cha:receiverCountryCode>
         <!--Optional:-->
         <cha:receiverIsResidential>0</cha:receiverIsResidential>
         <!--Optional:-->
         <cha:items>4</cha:items>
         <!--Optional:-->
         <cha:weight>18</cha:weight>
         <!--Optional:-->
         <cha:volume>20</cha:volume>
         <!--Optional:-->
         <cha:time>0</cha:time>
         <!--Optional:Estimated Travel Time. Recommended not to be used as inaccuracies in time calculation greatly vary quote results.-->
         <cha:distance>0</cha:distance>
         <!--Optional:-->
         <cha:distance>0<serviceList>0</cha:distance>serviceList>
          <!--Optional:-->
Estimated Distance between sender and receiver locations. Recommended not to be used as inaccuracies in route taken greatly vary quote results.  <cha:userID>64796</cha:userID>
         <!--Optional:-->
         <cha:serviceList></cha:serviceList>itemsList>
            <!--OptionalZero or more repetitions:-->
            <cha:containsDGs>0</cha:containsDGs>ConsignmentItem>
            <!--Mandatory:Flags whether shipping items contain dangerous goods. Required for compliance and dangerous goods handling fee calculations.-->   <!--Optional:-->
               <cha:Barcode>1</cha:Barcode>
               <!--Optional:-->
            </cha:GetChargeQuote3>   <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></cha:AggrigateQuantity>
                     <!--Optional:-->
                     <cha:ConsignmentID></cha:ConsignmentID>
                     <!--Optional:-->
                     <cha:DangerousGoodsID></cha:DangerousGoodsID>
                     <!--Optional:-->
                     <cha:DgClass></cha:DgClass>
                     <!--Optional:-->
                     <cha:Exception>
                        <!--Optional:-->
                        <cha:Message></cha:Message>
                        <!--Optional:-->
                        <cha:ModuleName></cha:ModuleName>
                        <!--Optional:-->
                        <cha:ProcedureName></cha:ProcedureName>
                     </cha:Exception>
                     <!--Optional:-->
                     <cha:Group></cha:Group>
                     <!--Optional:-->
                     <cha:ID></cha:ID>
                     <!--Optional:-->
                     <cha:ItemNo></cha:ItemNo>
                     <!--Optional:-->
                     <cha:LiquidVolume></cha:LiquidVolume>
                     <!--Optional:-->
                     <cha:Liquidweight></cha:Liquidweight>
                     <!--Optional:-->
                     <cha:Name></cha:Name>
                     <!--Optional:-->
                     <cha:PSN></cha:PSN>
                     <!--Optional:-->
                     <cha:Quantity></cha:Quantity>
                     <!--Optional:-->
                     <cha:Recepticle></cha:Recepticle>
                     <!--Optional:-->
                     <cha:SubRisk></cha:SubRisk>
                     <!--Optional:-->
                     <cha:UnCode></cha:UnCode>
                     <!--Optional:-->
                     <cha:Units></cha:Units>
                     <!--Optional:-->
                     <cha:Volume></cha:Volume>
                     <!--Optional:-->
                     <cha:Weight></cha:Weight>
                  </cha:DangerousGoods>
                  <!--Optional:-->
                  <cha:DangerousGoodsID>1</cha:DangerousGoodsID>
                  <!--Optional:-->
                  <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>
      </cha:GetChargeQuote4>
   </soapenv:Body>
</soapenv:Envelope>

...