Versions Compared

Key

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

...

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:GetChargeQuoteUsingXMLWithItems3>SavePickupRequest>
         <!--Optional:-- 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:session><!--Optional:-->
            <cha:AccountID>115860<AccountID>?</cha:AccountID>
            <!--MandatoryOptional:-->
            <cha:DistributorID>101605<DistributorID>?</cha:DistributorID>
            <!--MandatoryOptional:-->
            <cha:Expires>2018-08-14T09:27:17.78<Expires>?</cha:Expires>
            <!--MandatoryOptional:-->
            <cha:Key>D1F83B85-4EEE-4AD1-BC53-99E57836C246<Key>?</cha:Key>
            <!--MandatoryOptional:-->
            <cha:UserID>64796<UserID>?</cha:UserID>
            <!--Mandatory:--></cha:session>
         </cha:session>!--Optional:-->
         <cha:pickupRequest>
  <cha:shipperID>115860</cha:shipperID>          <!--MandatoryOptional:-->
            <cha:effectiveDate>15/08/2018<ActualItems>?</cha:effectiveDate>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>
            <!--MandatoryOptional:Flags-->
for whether the address is residential. Used to pre-empt residential pick up fees.--> <cha:CarrierID>?</cha:CarrierID>
            <!--Optional:-->
             1 = Yes<cha:CloseAt>?</cha:CloseAt>
                0 = No
      <!--Optional:-->
  -->          <cha:receiverAddress1>18 Sycamore Grove<ConfirmationId>?</cha:receiverAddress1>ConfirmationId>
            <!--MandatoryOptional:-->
            <cha:receiverAddress2></cha:receiverAddress2>DetailItems>
               <!--MandatoryZero or more repetitions:-->
         <cha:receiverLocation>Narooma</cha:receiverLocation>      <cha: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</cha:receiverIsResidential>            <!--Mandatory:Flags for whether the address is residential. Used to pre-empt residential pick up fees.--><cha:Items>?</cha:Items>
                  <!--Optional:-->
    <!--              1 = Yes<cha:PickupRequestID>?</cha:PickupRequestID>
               0 = No
 <!--Optional:-->
        -->          <cha:items>4<Volume>?</cha:items>Volume>
                  <!--MandatoryOptional:-->
         <cha:weight>18<         <cha:Weight>?</cha:weight>Weight>
               <!--Mandatory:-->/cha:PickupRequestDetail>
            <cha:volume>20<</cha:volume>DetailItems>
            <!--MandatoryOptional:-->
            <cha:time>0</cha:time>DetailedSUs>
         <!--Optional:Estimated Travel Time. Recommended not to be used as inaccuracies in time calculation greatly vary quote results.--><!--Zero or more repetitions:-->
               <cha:Sus>
                  <!--Optional:-->
                  <cha:Barcode>?</cha:Barcode>
                  <!--Optional:--
			 1 = Yes
			 0 = No 
		 -->>
                  <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:Message>?</cha:Message>
               <!--Optional:-->
               <cha:ModuleName>?</cha:ModuleName>
               <!--Optional:-->
               <cha:ProcedureName>?</cha:ProcedureName>
            </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:Exception>   <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>
 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:Weight>1<SuburbStatePostcode>?</cha:Weight>SuburbStatePostcode>
               </cha:LocationDetails>
               </cha:DangerousGoods>!--Optional:-->
               <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>
  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>
               </cha:ConsignmentProduct>OtherCount>
                  <!--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<TransmitErrorMessage>?</cha:containsDGs>             TransmitErrorMessage>
            <!--MandatoryOptional:Flags-->
whether shipping items contain dangerous goods. Required for compliance and dangerous goods handling fee calculations.--> <cha:UserID>?</cha:UserID>
         <!--
			 1 = Yes
			 0 = No 
		 -->
      /cha:pickupRequest>
      </cha:GetChargeQuoteUsingXMLWithItems3>SavePickupRequest>
   </soapenv:Body>
</soapenv:Envelope>

...