Versions Compared

Key

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


Warning
titleWarning

GetQuote5 returns the exact same information as GetQuote. This example includes significant Complexities, We only recommend undertaking the process of utilizing this functionality only under the requirement of calculating rates for delivery of complex dangerous goods

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

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

...

Note
titleNot Required

Header declaration is not required for SoapUI. *SoapUI does this automatically

...

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:ValidateLocation>
         <!--Optional:-->
         <cha:location>
            <!--Optional:-->
            <cha:LocationID>?</cha:LocationID>
            <!--Optional:-->
            <cha:Locality>?<Locality>North Sydney</cha:Locality>
            <!--OptionalMandatory:-->
            <cha:State>?<State>NSW</cha:State>
            <!--OptionalMandatory:-->
            <cha:Postcode>?<Postcode>2060</cha:Postcode>
            <!--OptionalMandatory:-->
            <cha:CountryCode>?<CountryCode>AU</cha:CountryCode>
            <!--Optional:- -> Will Default to AU if        <cha:SuburbStatePostcode>?</cha:SuburbStatePostcode>not provided:-->
         </cha:location>

      </cha:ValidateLocation>
   </soapenv:Body>
</soapenv:Envelope>

...

Code Block
languagexml
themeRDark
firstline1
titleSuccessful Web Service Call Response
linenumberstrue
collapsetrue
<!-- A valid response will contain a Location ID:-->
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
        <GetChargeQuote5Response<ValidateLocationResponse xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices">
            <GetChargeQuote4Result<ValidateLocationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

           <ServicePricing>                <CalculatedSUType>UnDefined</CalculatedSUType><LocationID>686</LocationID>
               <CarrierID>101956</CarrierID>                <CarrierName>TOLL IPEC PTY LTD</CarrierName><Locality>NORTH SYDNEY</Locality>
               <CarrierService>L</CarrierService>
               <ETA>16/08/2018</ETA> <State>NSW</State>
               <FeesCharge>237.1800</FeesCharge>
               <FreightCharge>1652.8100</FreightCharge>
   <Postcode>2060</Postcode>
            <ID>0</ID>                <NetCharge>1889.9900</NetCharge><CountryCode>AU</CountryCode>
               <RateID>9607039</RateID> <SuburbStatePostcode>NORTH SYDNEY              <ServiceName>IPEC Local</ServiceName>NSW 2060</SuburbStatePostcode>
               <ShipperService>IPECL</ShipperService></ValidateLocationResult>
               <TaxCharge>189.0000</TaxCharge></ValidateLocationResponse>
               <TotalCharge>2078.9900</TotalCharge>
               <WebDescription>Toll Ipec Local</WebDescription>
               <ZoneFrom>MEL1</ZoneFrom>
               <ZoneTo>IVIC</ZoneTo>
            </ServicePricing>
            <ServicePricing>
               <CalculatedSUType>UnDefined</CalculatedSUType>
               <CarrierID>101956</CarrierID>
               <CarrierName>TOLL IPEC PTY LTD</CarrierName>
               <CarrierService>X</CarrierService>
               <ETA>16/08/2018</ETA>
               <FeesCharge>261.2700</FeesCharge>
               <FreightCharge>1820.6700</FreightCharge>
               <ID>0</ID>
               <NetCharge>2081.9400</NetCharge>
    </s:Body>
</s:Envelope>


Code Block
languagexml
themeRDark
firstline1
titleFailed Web Service Call Response
linenumberstrue
collapsetrue
<!-- An Invalid response will  NOT contain a Location ID/ LocationID = 0:-->
<!-- This means your provided Location is not found within our system-->

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
          <RateID>9607176</RateID>
               <ServiceName>IPEC Road Express</ServiceName>
               <ShipperService>IPECX</ShipperService>
               <TaxCharge>208.2000</TaxCharge>
               <TotalCharge>2290.1400</TotalCharge>
               <WebDescription>Toll Ipec Road Express</WebDescription>
               <ZoneFrom>MEL1</ZoneFrom>
               <ZoneTo>IVIC</ZoneTo>
            </ServicePricing>
            <ServicePricing>
               <CalculatedSUType>UnDefined</CalculatedSUType>
               <CarrierID>102958</CarrierID>
               <CarrierName>Hi-Trans Express Pty Ltd</CarrierName>
               <CarrierService>G</CarrierService>
               <ETA/>
               <FeesCharge>327.8300</FeesCharge>
               <FreightCharge>1927.2900</FreightCharge>
               <ID>0</ID>
               <NetCharge>2255.1200</NetCharge><ValidateLocationResponse xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices">
               <RateID>10702459</RateID>
               <ServiceName>Hi Trans General Service</ServiceName>
               <ShipperService>HITRANG</ShipperService>
               <TaxCharge>225.5100</TaxCharge>
               <TotalCharge>2480.6300</TotalCharge>
               <WebDescription>Hi-Trans General</WebDescription>
               <ZoneFrom>MEL</ZoneFrom>
               <ZoneTo>VC1I</ZoneTo>
            </ServicePricing>
            <ServicePricing>
               <CalculatedSUType>UnDefined</CalculatedSUType>
               <CarrierID>102958</CarrierID>
               <CarrierName>Hi-Trans Express Pty Ltd</CarrierName>
               <CarrierService>X</CarrierService>
               <ETA/>
 <ValidateLocationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
             <FeesCharge>392.8600</FeesCharge>                <FreightCharge>2309.5900</FreightCharge>
<LocationID>0</LocationID>
              <ID>0</ID>                <NetCharge>2702.4500</NetCharge>
<Locality>North Sydney</Locality>
              <RateID>10702460</RateID>
               <ServiceName>Hi-Trans Express Service</ServiceName>
  <State>NSW</State>
              <ShipperService>HITRANX</ShipperService>                <TaxCharge>270.2500</TaxCharge>
  <Postcode>2050</Postcode>
            <TotalCharge>2972.7000</TotalCharge>                <WebDescription>Hi Trans Express</WebDescription><CountryCode>AU</CountryCode>
               <ZoneFrom>MEL</ZoneFrom> <SuburbStatePostcode>North Sydney              <ZoneTo>VC1I</ZoneTo>NSW 2050</SuburbStatePostcode>
            </ServicePricing>
            <ServicePricing>
               <CalculatedSUType>UnDefined</CalculatedSUType>
               <CarrierID>101956</CarrierID>
               <CarrierName>TOLL IPEC PTY LTD</CarrierName>
               <CarrierService>H</CarrierService>
               <ETA>16/08/2018</ETA>
               <FeesCharge>766.2200</FeesCharge>
               <FreightCharge>4895.9800</FreightCharge>
               <ID>0</ID>
               <NetCharge>5662.2000</NetCharge>
      ValidateLocationResult>
        <RateID>9606992</RateID>
               <ServiceName>IPEC Priority</ServiceName>
               <ShipperService>IPECH</ShipperService>
               <TaxCharge>566.2200</TaxCharge>
               <TotalCharge>6228.4200</TotalCharge>
               <WebDescription>Toll Ipec Priority</WebDescription>
               <ZoneFrom>MEL1</ZoneFrom>
               <ZoneTo>IVIC</ZoneTo>
            </ServicePricing>
    </ValidateLocationResponse>
    </GetChargeQuote4Result>
      </GetChargeQuote5Response>
   </s:Body>s:Body>
</s:Envelope>
</s:Envelope>


Image RemovedImage AddedImage RemovedImage RemovedImage Added

...