Notewarning |
---|
|
GetQuote3 GetQuote5 returns the exact same information as GetQuote. This example includes a Country Code Variable, however this can also be included within the GetQuote call. |
Info |
---|
In this instance I am making a call to GetChargeQuote 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 Warning |
---|
| All calls that return quoting information require a valid Australian address. Please consult the Australia Post Website to confirm your suburb information if returning a failed response. http://auspost.com.au/postcode/ |
|
Info |
---|
In this instance I am making a call to GetChargeQuote in my uat environment through postman, Things I need to perform this call: - My Session Credentials form my previous Login Call
- Note Session Credentials will expire If
- You Have generated a new "Key"
- You Have Passed the Expiry Date of the Session
- The User has been Deleted/made inactive
- Your package/quote information
*Learn how to chain this call in Creating Chained Requests |
Endpoint: https://bau-uat-ws.azurewebsites.net/Data/ChainIT/DataService.svc
...
Note |
---|
|
Header declaration is not required for SoapUI. *SoapUI does this automatically |
Body:
Code Block |
---|
language | xml |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Web Service Call |
---|
linenumbers | true |
---|
|
<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>
<soapenv:Body>
<cha:GetChargeQuote4>
<!-- 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>
<!--Mandatory:-->
<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>0</cha:serviceList> Optional: Only use if you wish to filter different services -->
<!--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>
<cha:GetChargeQuote3> <!--Optional:-->
<cha:session>:ProcedureName>1</cha:ProcedureName>
</cha:Error>
<!--Optional:-->
<cha:Height>1</cha:Height>
<cha:AccountID>115860</cha:AccountID> <!--Optional:-->
<cha:DistributorID>101605<IsActive>1</cha:DistributorID>IsActive>
<!--Optional:-->
<cha:Expires>2018-08-14T09:27:17.78<Length>1</cha:Expires>Length>
<!--Optional:-->
<cha:Key>D1F83B85-4EEE-4AD1-BC53-99E57836C246<Name>1</cha:Key>Name>
<!--Optional:-->
<cha:UserID>64796<ProductID>1</cha:UserID>ProductID>
</cha:session>
<!--Optional:-->
<cha:shipperID>115860<Volume>1</cha:shipperID>Volume>
<!--Optional:-->
<cha:effectiveDate>15Weight>1</08/2018</cha:effectiveDate>Weight>
<!--Optional:-->-->
<cha:senderLocation>Nunawading<Width>1</cha:senderLocation>Width>
<!--Optional:--> </cha:ConsignmentProduct>
<cha:senderPostcode>3131</cha:senderPostcode> <!--Optional:-->
<cha:senderCountryCode>AU<Description>Enter Description</cha:senderCountryCode>Description>
<!--Optional:-->
<cha:senderIsResidential>0</cha:senderIsResidential> <cha:ExchangeReturnable>1</cha:ExchangeReturnable>
<!--Optional:Flags for whether the address is residential. Used to pre-empt residential pick up fees. <!--Optional:-->
<cha:receiverAddress1>18 Sycamore Grove<Height>1</cha:receiverAddress1>Height>
<!--Optional:-->
<cha:receiverAddress2><ItemNo>1</cha:receiverAddress2>ItemNo>
<!--Optional:-->
<cha:receiverLocation>MOUNT EVELYN<ItemType>1</cha:receiverLocation>:ItemType>
<!--Optional:-->
<cha:receiverPostcode>3796<Length>1</cha:receiverPostcode>Length>
<!--Optional:-->
<cha:receiverCountryCode>AU<ModifiedBy>1</cha:receiverCountryCode>ModifiedBy>
<!--Optional:-->
<cha:receiverIsResidential>0<NoItems>1</cha:receiverIsResidential>NoItems>
<!--Optional:-->
<cha:items>4<ProductID>1</cha:items>ProductID>
<!--Optional:-->-->
<cha:weight>18<Reference>1</cha:weight>Reference>
<!--Optional:-->
<cha:volume>20<Returnable>1</cha:volume>Returnable>
<!--Optional:-->
<cha:time>0<Volume>1</cha:time>Volume>
<!--Optional:Estimated-->
Travel Time. Recommended not to be used as inaccuracies in time calculation greatly vary quote results.--> <cha:distance>0<Weight>1</cha:distance>Weight>
<!--Optional: Estimated Distance between sender and receiver locations. Recommended not to be used as inaccuracies in route taken greatly vary quote results. -->-->
<cha:Width>1</cha:Width>
</cha:ConsignmentItem>
<cha:serviceList><</cha:serviceList>itemsList>
<!--Optional:-->
<cha:containsDGs>0</cha:containsDGs>containsDGs>
<!--Mandatory:Flags whether shipping items contain dangerous goods. Required for compliance and dangerous goods handling fee calculations.-->
<!--
1 = Yes
0 = No
-->
</cha:GetChargeQuote3>GetChargeQuote4>
</soapenv:Body>
</soapenv:Envelope> |
...
Code Block |
---|
language | xml |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Successful Web Service Call Response |
---|
linenumbers | true |
---|
collapse | true |
---|
|
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<GetChargeQuote3Response<GetChargeQuote4Response xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices">
<GetChargeQuote3Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ServicePricing>
<CalculatedSUType>UnDefined</CalculatedSUType>
<CarrierID>101956</CarrierID>
<CarrierName>TOLL IPEC PTY LTD</CarrierName>
<CarrierService>L</CarrierService>
<ETA>16/08/2018</ETA>
<FeesCharge>237.1800</FeesCharge>
<FreightCharge>1652.8100</FreightCharge>
<ID>0</ID>
<NetCharge>1889.9900</NetCharge>
<RateID>9607039</RateID>
<ServiceName>IPEC Local</ServiceName>
<ShipperService>IPECL</ShipperService>
<TaxCharge>189.0000</TaxCharge>
<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>
<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>
<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/>
<FeesCharge>392.8600</FeesCharge>
<FreightCharge>2309.5900</FreightCharge>
<ID>0</ID>
<NetCharge>2702.4500</NetCharge>
<RateID>10702460</RateID>
<ServiceName>Hi-Trans Express Service</ServiceName>
<ShipperService>HITRANX</ShipperService>
<TaxCharge>270.2500</TaxCharge>
<TotalCharge>2972.7000</TotalCharge>
<WebDescription>Hi Trans Express</WebDescription>
<ZoneFrom>MEL</ZoneFrom>
<ZoneTo>VC1I</ZoneTo>
</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>
<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>
</GetChargeQuote3Result>GetChargeQuote4Result>
</GetChargeQuote3Response>GetChargeQuote4Response>
</s:Body>
</s:Envelope> |
...
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@20f86d |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label = "kb-how-to-article" and type = "page" and space = "FLIP" |
---|
labels | kb-how-to-article |
---|
|
...