Purpose:Make a request for the latest Scan Data on consignments in our system, allowing you to feed the most current carrier scan data into your system.
Info |
---|
In this instance I am making a call to provide all information underneath a connote I require my Session credentials from my previous example to continue. This will allow me to perform future calls as this will provide me with "ConsignmentID" *Learn how to chain this call in Creating Chained Requests |
Warning |
---|
THIS CALL IS LIMITED TO 5 CALLS PER HOUR PER CONSIGNMENT.
|
Endpoint: https://bau-uat-wsthirdpartywcf.flipgroup.azurewebsitescom.netau/Data/ChainIT/DataService.svc
Headers:
- Key: Content-Type Value: text/xml
- Key: SoapAction Value: http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices/IChainITService/ConsignmentTrackingSearch
...
...
title | Not Required |
---|
...
Header declaration is not required for SoapUI. *SoapUI does this automatically
Body:
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
<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:ConsignmentTrackingSearch> <!-- 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>2020Expires>2018-08-09T1516T15:2615:5755.87<89</cha:Expires> <!--Mandatory:--> <cha:Key>5158851EKey>E36D344D-1D9CDCA9-47D745B8-A3848FCD-55690F4A0B1E<2F049B1E73B3</cha:Key> <!--Mandatory:--> <cha:UserID>64796</cha:UserID> <!--Mandatory:--> </cha:session> <cha:connoteReference>643655</cha:connoteReference> <!--MandatoryOptional:--> <cha:consignmentDate>30/11/2017</cha:consignmentDate> <!--Mandatory:--> <!-- dd/mm/yyyy yyyy/mm/dd yy/mm/dd dd/mm/yy dd-mm-yyyy yyyy-mm-dd yy-mm-dd dd-mm-yy --> </cha:ConsignmentTrackingSearch> </soapenv:Body> </soapenv:Envelope> |
...
Info |
---|
<cha:connoteReference></cha:connoteReference> |
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <ConsignmentTrackingSearchResponse xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices"> <ConsignmentTrackingSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <CarrierName/> <DateCreated>0001-01-01T00:00:00</DateCreated> <FileName/> <ManifestID>0</ManifestID> <ManifestItems> <ManifestItem> <AutoBooked>false</AutoBooked> <Consigned>2017-11-30T00:00:00</Consigned> <ConsignmentID>43788027</ConsignmentID> <ConsignmentNote>8479430000063</ConsignmentNote> <Delivered/> <Esn/> <Eta>01/12/2017</Eta> <Items>1</Items> <LastScanType>Booking Sent To Carrier</LastScanType> <Manifested>false</Manifested> <PodView/> <Receiver>Frank Ranaldo NORTHGATE SA 5085</Receiver> <ReceiverContact>Malinda Dolling</ReceiverContact> <ReceiverEmail>malinda@tomax.com.au</ReceiverEmail> <ReceiverPhone>1300186629</ReceiverPhone> <Reference>643655</Reference> <References xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <a:string>643655</a:string> <a:string>S136664</a:string> </References> <Release>false</Release> <ReleasedAlReady>false</ReleasedAlReady> <Scans/> <Sender>TOMAX LOGISTICS NOBLE PARK VIC 3174</Sender> <SenderContact>Chris Chalmers</SenderContact> <SenderEmail>chris@tomax.com.au</SenderEmail> <SenderPhone>0395444227</SenderPhone> <Service>IPEC Express</Service> <SortCode/> <SusItems/> <ThirdPartyAccount/> <Volume>0.457</Volume> <Weight>21</Weight> </ManifestItem> </ManifestItems> <NoItems>0</NoItems> <Volume>0</Volume> <Weight>0</Weight> </ConsignmentTrackingSearchResult> </ConsignmentTrackingSearchResponse> </s:Body> </s:Envelope> |
...
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <ConsignmentTrackingSearchResponse xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices"> <ConsignmentTrackingSearchResult i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/> </ConsignmentTrackingSearchResponse> </s:Body> </s:Envelope> // Reason was due to an incomplete payload being called. i.e mismatching <cha:connoteReference></cha:connoteReference> <cha:consignmentDate></cha:consignmentDate> |
3) Call/Function Definition and Requirements2a) Example Web Service Call (Login)
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page Properties | ||
---|---|---|
| ||
Related issues |