Warning |
---|
|
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: - 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 5) Creating Chained Requests |
Endpoint: https://bau-uat-ws.azurewebsites.net/Data/ChainIT/DataService.svc
...
- Key: Content-Type Value: text/xml
- Key: SoapAction Value: http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices/IChainITService/GetChargeQuoteUsingXMLWithItems3
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>
<cha:GetChargeQuoteUsingXMLWithItems3>
SavePickupRequest>
<!-- 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-14T0916T15:2715:1755.78<89</cha:Expires>
<!--Mandatory:-->
<cha:Key>D1F83B85Key>E36D344D-4EEEDCA9-4AD145B8-BC538FCD-99E57836C246<2F049B1E73B3</cha:Key>
<!--Mandatory:-->
<cha:UserID>64796</cha:UserID>
<!--Mandatory:-->
</cha:session>
<cha:shipperID>115860</cha:shipperID>pickupRequest>
<!--MandatoryOptional:-->
<cha:effectiveDate>15/08/2018</cha:effectiveDate>ActualItems>?</cha:ActualItems>
<!--MandatoryOptional:-->
<cha:senderLocation>Nunawading<ActualPalletSpaces>?</cha:senderLocation>ActualPalletSpaces>
<!--MandatoryOptional:-->
<cha:senderState>VIC<ActualVolume>?</cha:senderState>ActualVolume>
<!--MandatoryOptional:-->
<cha:senderPostcode>3131<ActualWeight>?</cha:senderPostcode>ActualWeight>
<!--MandatoryOptional:-->
<cha:senderCountryCode>AU<Cancelled>?</cha:senderCountryCode>Cancelled>
<!--MandatoryOptional:-->
<cha:senderIsResidential>0<CancelledBy>?</cha:senderIsResidential>CancelledBy>
<!--Mandatory:Flags for whether the address is residential. Used to pre-empt residential pick up fees.-->Optional:-->
<cha:CarrierID>?</cha:CarrierID>
<!--Optional:-->
1 = Yes<cha:CloseAt>?</cha:CloseAt>
0 = No<!--Optional:-->
--> <cha:receiverAddress1>18 Sycamore Grove<<cha:ConfirmationId>?</cha:receiverAddress1>ConfirmationId>
<!--MandatoryOptional:-->
<cha:receiverAddress2></cha:receiverAddress2>DetailItems>
<!--MandatoryZero or more repetitions:-->
<cha:receiverLocation>Narooma</cha:receiverLocation>PickupRequestDetail>
<!--MandatoryOptional:-->
<cha:receiverState>NSW</cha:receiverState> <!--Mandatory:-->
<cha:receiverPostcode>2546<ConsignmentID>?</cha:receiverPostcode>ConsignmentID>
<!--MandatoryOptional:-->
<cha:receiverCountryCode>AU<ConsignmentNote>?</cha:receiverCountryCode>ConsignmentNote>
<!--MandatoryOptional:-->
<cha:receiverIsResidential>0<Items>?</cha:receiverIsResidential>Items>
<!--Mandatory:Flags for whether the address is residential. Used to pre-empt residential pick up fees.--> <!--Optional:-->
<!--
<cha:PickupRequestID>?</cha:PickupRequestID>
1 = Yes <!--Optional:-->
0 = No -->
<cha:Volume>?</cha:Volume>
<cha:items>4</cha:items> <!--MandatoryOptional:-->
<cha:weight>18</cha:weight> <!--Mandatory:--><cha:Weight>?</cha:Weight>
</cha:PickupRequestDetail>
</cha:DetailItems>
<!--Optional:-->
<cha:DetailedSUs>
<!--Zero or more repetitions:-->
<cha:Sus>
<!--Optional:-->
<cha:Barcode>?</cha:Barcode>
<!--Optional:-->
<cha:Height>?</cha:Height>
<!--Optional:-->
<cha:ItemNo>?</cha:ItemNo>
<!--Optional:-->
<cha:ItemType>?</cha:ItemType>
<!--Optional:-->
<cha:Length>?</cha:Length>
<!--Optional:-->
<cha:ReceiverAddress>
<!--Optional:-->
<cha:AccountID>?</cha:AccountID>
<!--Optional:-->
<cha:AddressID>?</cha:AddressID>
<!--Optional:-->
<cha:AddressLocation>
<!--Optional:-->
<cha:LocationID>?</cha:LocationID>
<!--Optional:-->
<cha:Locality>?</cha:Locality>
<!--Optional:-->
<cha:State>?</cha:State>
<!--Optional:-->
<cha:Postcode>?</cha:Postcode>
<!--Optional:-->
<cha:CountryCode>?</cha:CountryCode>
<!--Optional:-->
<cha:SuburbStatePostcode>?</cha:SuburbStatePostcode>
</cha:AddressLocation>
<!--Optional:-->
<cha:ContactName>?</cha:ContactName>
<!--Optional:-->
<cha:Email>?</cha:Email>
<!--Optional:-->
<cha:Exception>
<!--Optional:-->
<cha:Message>?</cha:Message>
<!--Optional:-->
<cha:ModuleName>?</cha:ModuleName>
<!--Optional:-->
<cha:ProcedureName>?</cha:ProcedureName>
</cha:Exception>
<!--Optional:-->
<cha:Fax>?</cha:Fax>
<!--Optional:-->
<cha:Line1>?</cha:Line1>
<!--Optional:-->
<cha:Line2>?</cha:Line2>
<!--Optional:-->
<cha:Line3>?</cha:Line3>
<!--Optional:-->
<cha:LocationDetails>
<!--Optional:-->
<cha:LocationID>?</cha:LocationID>
<!--Optional:-->
<cha:Locality>?</cha:Locality>
<!--Optional:-->
<cha:State>?</cha:State>
<!--Optional:-->
<cha:Postcode>?</cha:Postcode>
<!--Optional:-->
<cha:CountryCode>?</cha:CountryCode>
<!--Optional:-->
<cha:SuburbStatePostcode>?</cha:SuburbStatePostcode>
</cha:LocationDetails>
<!--Optional:-->
<cha:LocationID>?</cha:LocationID>
<!--Optional:-->
<cha:ModifiedBy>?</cha:ModifiedBy>
<!--Optional:-->
<cha:Name>?</cha:Name>
<!--Optional:-->
<cha:Phone>?</cha:Phone>
<!--Optional:-->
<cha:State>?</cha:State>
<!--Optional:-->
<cha:Suburb>?</cha:Suburb>
</cha:ReceiverAddress>
<!--Optional:-->
<cha:Reference>?</cha:Reference>
<!--Optional:-->
<cha:Volume>?</cha:Volume>
<!--Optional:-->
<cha:Weight>?</cha:Weight>
<!--Optional:-->
<cha:Width>?</cha:Width>
</cha:Sus>
</cha:DetailedSUs>
<!--Optional:-->
<cha:DistributorID>?</cha:DistributorID>
<!--Optional:-->
<cha:EdiFormat>?</cha:EdiFormat>
<!--Optional:-->
<cha:EstimatedItems>?</cha:EstimatedItems>
<!--Optional:-->
<cha:EstimatedPalletSpaces>?</cha:EstimatedPalletSpaces>
<!--Optional:-->
<cha:EstimatedVolume>?</cha:EstimatedVolume>
<!--Optional:-->
<cha:EstimatedWeight>?</cha:EstimatedWeight>
<!--Optional:-->
<cha:Exception>
<!--Optional:-->
<cha:volume>20<Message>?</cha:volume>Message>
<!--MandatoryOptional:-->
<cha:time>0<ModuleName>?</cha:time>ModuleName>
<!--Optional:Estimated Travel Time. Recommended not to be used as inaccuracies in time calculation greatly vary quote results.-->-->
<cha:ProcedureName>?</cha:ProcedureName>
<!--
1 = Yes
0 = No
-->/cha:Exception>
<!--Optional:-->
<cha:distance>0<FileName>?</cha:distance>FileName>
<!--Optional: Estimated Distance between sender and receiver locations. Recommended not to be used as inaccuracies in route taken greatly vary quote results. -->-->
<cha:Instructions>?</cha:Instructions>
<!--Optional:-->
<!--
1 = Yes
0 = No
--><cha:PickupDate>?</cha:PickupDate>
<!--Optional:-->
<cha:serviceList>0<PickupRequestID>?</cha:serviceList>PickupRequestID>
<!--Optional:-->
<cha:userID>64796<ReadyAt>?</cha:userID>ReadyAt>
<!--MandatoryOptional:-->
<cha:itemsList>:Reference>?</cha:Reference>
<!--Zero or more repetitionsOptional:-->
<cha:ConsignmentItem>
:Response>?</cha:Response>
<!--Optional:-->
<cha:Barcode>1<SalesForceException>?</cha:Barcode>
SalesForceException>
<!--Optional:-->
<cha:ConsignmentID>666666<SalesForceId>?</cha:ConsignmentID>
SalesForceId>
<!--Optional:-->
<cha:ConsignmentProduct>
Sender>
<!--Optional:-->
<cha:AccountID>115860<AccountID>?</cha:AccountID>
<!--Optional:-->
<cha:Code>1<AddressID>?</cha:Code>
AddressID>
<!--Optional:-->
<cha:DangerousGoods>AddressLocation>
<!--Optional:-->
<cha:AggrigateQuantity>1<LocationID>?</cha:AggrigateQuantity>
LocationID>
<!--Optional:-->
<cha:ConsignmentID>1<Locality>?</cha:ConsignmentID>
Locality>
<!--Optional:-->
<cha:DangerousGoodsID>1<State>?</cha:DangerousGoodsID>
State>
<!--Optional:-->
<cha:DgClass>1<Postcode>?</cha:DgClass>Postcode>
<!--Optional:-->
<cha:Exception>
:CountryCode>?</cha:CountryCode>
<!--Optional:-->
<cha:SuburbStatePostcode>?</cha:SuburbStatePostcode>
<cha:Message>Na</cha:Message> </cha:AddressLocation>
<!--Optional:-->
>
<cha:ModuleName>Peter<ContactName>?</cha:ModuleName>
ContactName>
<!--Optional:-->
<cha:Email>?</cha:Email>
<cha:ProcedureName>Test</cha:ProcedureName> <!--Optional:-->
</cha <cha:Exception>
<!--Optional:-->
<cha:Group>1<Message>?</cha:Group>
Message>
<!--Optional:-->
<cha:ID>1<ModuleName>?</cha:ID>
ModuleName>
<!--Optional:-->
<cha:ItemNo>1<ProcedureName>?</cha:ItemNo>ProcedureName>
</cha:Exception>
<!--Optional:-->
<cha:LiquidVolume>1<Fax>?</cha:LiquidVolume>
Fax>
<!--Optional:-->
<cha:Liquidweight>1<Line1>?</cha:Liquidweight>Line1>
<!--Optional:-->
<cha:Name>1<Line2>?</cha:Name>
Line2>
<!--Optional:-->
<cha:PSN>1<Line3>?</cha:PSN>
Line3>
<!--Optional:-->
<cha:Quantity>1</cha:Quantity> <cha:LocationDetails>
<!--Optional:-->
<cha:Recepticle>1<LocationID>?</cha:Recepticle>
LocationID>
<!--Optional:-->
<cha:SubRisk>1<Locality>?</cha:SubRisk>
Locality>
<!--Optional:-->
<cha:UnCode>1<State>?</cha:UnCode>
State>
<!--Optional:-->
<cha:Units>1<Postcode>?</cha:Units>
Postcode>
<!--Optional:-->
<cha:Volume>1<CountryCode>?</cha:Volume>
CountryCode>
<!--Optional:-->-->
<cha:SuburbStatePostcode>?</cha:SuburbStatePostcode>
</cha:LocationDetails>
<cha:Weight>1</cha:Weight> <!--Optional:-->
</cha:DangerousGoods> <cha:LocationID>?</cha:LocationID>
<!--Optional:-->
<cha:DangerousGoodsID>1<ModifiedBy>?</cha:DangerousGoodsID>
ModifiedBy>
<!--MandatoryOptional:-->
<cha:Error>
:Name>?</cha:Name>
<!--Optional:-->
<cha:Message>1<Phone>?</cha:Message>Phone>
<!--Optional:-->
->
<cha:ModuleName>1<State>?</cha:ModuleName>
State>
<!--Optional:-->
<cha:Suburb>?</cha:Suburb>
<cha:ProcedureName>1< </cha:ProcedureName>Sender>
<!--Optional:-->
</cha:Error> <cha:SenderID>?</cha:SenderID>
<!--Optional:-->
<cha:Height>1<ShipperID>?</cha:Height>
ShipperID>
<!--Optional:-->
<cha:IsActive>1</cha:IsActive> <cha:SummaryItems>
<!--OptionalZero or more repetitions:-->
<cha:Length>1</cha:Length>PickupRequestSummary>
<!--Optional:-->
<cha:Name>1<CarrierID>?</cha:Name>CarrierID>
<!--Optional:-->
<cha:ProductID>1<CarrierServiceCode>?</cha:ProductID>CarrierServiceCode>
<!--Optional:-->
<cha:Volume>1<CartonCount>?</cha:Volume>CartonCount>
<!--Optional:-->
<cha:Weight>1<CartonWeight>?</cha:Weight>CartonWeight>
<!--Optional:-->
<cha:Width>1<OtherCount>?</cha:Width>
OtherCount>
</cha:ConsignmentProduct> <!--Optional:-->
<cha:Description>Enter Description<OtherWeight>?</cha:Description>OtherWeight>
<!--Optional:-->
<cha:ExchangeReturnable>1<PalletCount>?</cha:ExchangeReturnable>:PalletCount>
<!--Optional:-->
<cha:Height>1<PalletWeight>?</cha:Height>PalletWeight>
<!--Optional:-->
<cha:ItemNo>1<PickupRequestID>?</cha:ItemNo>PickupRequestID>
<!--Optional:-->
<cha:ItemType>1<PickupRequestSummaryID>?</cha:ItemType>PickupRequestSummaryID>
<!--Optional:-->
<cha:Length>1<SalesForceException>?</cha:Length>SalesForceException>
<!--Optional:-->
<cha:ModifiedBy>1<SalesForceId>?</cha:ModifiedBy>SalesForceId>
<!--Optional:-->
<cha:NoItems>1<ServiceCode>?</cha:NoItems>ServiceCode>
<!--Optional:-->
<cha:ProductID>1<SuType>?</cha:ProductID>SuType>
<!--Optional:-->
<cha:Reference>1<TotalItems>?</cha:Reference>TotalItems>
<!--Optional:-->
<cha:Returnable>1<TotalWeight>?</cha:Returnable>TotalWeight>
<!--Optional:-->/cha:PickupRequestSummary>
<cha:Volume>1<</cha:Volume>SummaryItems>
<!--Optional:-->
<cha:Weight>1<TransferMethod>?</cha:Weight>
TransferMethod>
<!--Optional:-->
<cha:Width>1<TransferSettingsID>?</cha:Width>TransferSettingsID>
</cha:ConsignmentItem>!--Optional:-->
<cha:Transferred>?</cha:itemsList>Transferred>
<!--Optional:-->
<cha:containsDGs>0</cha:containsDGs> <!--Mandatory:Flags whether shipping items contain dangerous goods. Required for compliance and dangerous goods handling fee calculations.--><cha:TransmitErrorMessage>?</cha:TransmitErrorMessage>
<!--Optional:-->
<!--
1 = Yes
0 = No
--> <cha:UserID>?</cha:UserID>
</cha:pickupRequest>
</cha:GetChargeQuoteUsingXMLWithItems3>SavePickupRequest>
</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>
<GetChargeQuote5Response xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices">
<GetChargeQuote4Result 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>
</GetChargeQuote4Result>
</GetChargeQuote5Response>
</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 |
---|
|
...