...
Info |
---|
In this instance I am making a call to GetChargeQuote in my uat environment through postman, Things I need to perform this call:
*Learn how to chain this call in 5) Creating Chained Requests |
Endpoint: https://bau-uat-ws.azurewebsites.net/Data/ChainIT/DataService.svc
...
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices">
<soapenv:Header/>
<soapenv:Body>
<SaveConsignment>
<session>
<AccountID>{{AccountID}}</AccountID>
<DistributorID>{{DistributorID}}</DistributorID>
<Expires>{{Expires}}</Expires>
<Key>{{Key}}</Key>
<UserID>{{UserID}}</UserID>
</session>
<consignment>
<AccountID>{{AccountID}}</AccountID>
<CloseAt>18:00</CloseAt>
<ConsignmentDate>2019-05-21</ConsignmentDate>
<ConsignmentItems>
<ConsignmentItem>
<Barcode/>
<ConsignmentID>97908306</ConsignmentID>
<Description>Truck Parts for the Business</Description>
<Height>10</Height>
<ItemNo>1</ItemNo>
<ItemType>CRT</ItemType>
<Length>15</Length>
<NoItems>10</NoItems>
<ProductID>0</ProductID>
<Packaging>Bag</Packaging>
<Reference>CNHD2D</Reference>
<Volume>1.10</Volume>
<Weight>20</Weight>
<Width>20</Width>
</ConsignmentItem>
</ConsignmentItems>
<ConsolidatedSus>
</ConsolidatedSus>
<DeliveryInstructions>None</DeliveryInstructions>
<Description>Description</Description>
<DistributorID>{{DistributorID}}</DistributorID>
<ReadyAt>12:00</ReadyAt>
<Receiver>
<AddressLocation>
<Locality>Nunawading</Locality>
<State>VIC</State>
<Postcode>3131</Postcode>
<CountryCode>AU</CountryCode>
</AddressLocation>
<ContactName>Peter Test</ContactName>
<Email>test@email.com</Email>
<Line1>113 Rooks Rd</Line1>
<LocationDetails>
<Locality>Nunawading</Locality>
<State>VIC</State>
<Postcode>3131</Postcode>
<CountryCode>AU</CountryCode>
</LocationDetails>
<Name>Steve</Name>
<Phone>0425814806</Phone>
<State>VIC</State>
<Suburb>Nunawading</Suburb>
</Receiver>
<Reference>Test</Reference>
<References>
<!--Zero or more repetitions:-->
<Reference>
<ConsignmentReference>ConRefef1</ConsignmentReference>
</Reference>
<Reference>
<ConsignmentReference>ConsignRefee2</ConsignmentReference>
</Reference>
</References>
<Released>2019-05-21</Released>
<Sender>
<AccountID>{{AccountID}}</AccountID>
<AddressLocation>
<Locality>Nunawading</Locality>
<State>VIC</State>
<Postcode>3131</Postcode>
<CountryCode>AU</CountryCode>
</AddressLocation>
<ContactName>Peter Test</ContactName>
<Email>test@email.com</Email>
<Line1>113 Rooks Rd</Line1>
<LocationDetails>
<Locality>Nunawading</Locality>
<State>VIC</State>
<Postcode>3131</Postcode>
<CountryCode>AU</CountryCode>
</LocationDetails>
<Name>Steve</Name>
<Phone>0425814806</Phone>
<State>VIC</State>
<Suburb>Nunawading</Suburb>
</Sender>
<Service>STEFPP</Service>
<SpecialInstructions>Deliver to the front door</SpecialInstructions>
</consignment>
</SaveConsignment>
</soapenv:Body>
</soapenv:Envelope> |
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
<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> |
...