null

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

Purpose

This Web Service Call allows a third party application to retrieve a list of possible locations that match a validated location / postcode / state / country code based on search terms. Depending on the granularity of the search term, the service may return multiple values that match the search term.

In this instance I am making a call to Find All locations in my uat environment through postman, I require my Session credentials from my previous example to continue.

*Learn how to chain this call in Creating Chained Requests

Endpoint: https://bau-uat-ws.azurewebsites.net/Data/ChainIT/DataService.svc

This is not the production endpoint. The production endpoint will be provided once all requests have been validated to work correctly.

Headers: 

Body:

SOAP Web Service Call Body Example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices">
   <soapenv:Header/>
   <soapenv:Body>
      <FindLocation>
 
         <session>
            <AccountID>{{AccountID}}</AccountID>
            <DistributorID>{{DistributorID}}</DistributorID>
            <Expires>{{Expires}}</Expires>
            <Key>{{Key}}</Key>
            <UserID>{{UserID}}</UserID>
         </session>
 
         <countryCode>AU</countryCode>
         <searchValue>Hallam</searchValue>
      </FindLocation>
 
   </soapenv:Body>
</soapenv:Envelope>
SOAP Web Service Call Body Response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
        <FindLocationResponse xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices">
            <FindLocationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                <Location>
                    <LocationID>8017</LocationID>
                    <Locality>HALLAM</Locality>
                    <State>VIC</State>
                    <Postcode>3803</Postcode>
                    <CountryCode>AU</CountryCode>
                    <SuburbStatePostcode>HALLAM VIC 3803</SuburbStatePostcode>
                </Location>
            </FindLocationResult>
        </FindLocationResponse>
    </s:Body>
</s:Envelope>

Filter by label

There are no items with the selected labels at this time.





  • No labels