Retailers
Click here for a complete list of operations.
GetRetailersByState
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /SupplyChainWebService_new/Retailers.asmx HTTP/1.1 Host: 831483.bhlmuz689.asia Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://Infomace.Web.SCWS.ServiceContracts/2007/02/GetRetailersByState" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetRetailersByState xmlns="http://Infomace.Web.SCWS.ServiceContracts/2007/02"> <RetailerListRequest> <LoginToken> <Login xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</Login> <Password xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</Password> <Ip_address xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</Ip_address> <Host_name xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</Host_name> <Public_key xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</Public_key> </LoginToken> <Country>string</Country> <State>string</State> <Postcode>string</Postcode> <PriceBook>string</PriceBook> <Longitude>double</Longitude> <Latitude>double</Latitude> </RetailerListRequest> </GetRetailersByState> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetRetailersByStateResponse xmlns="http://Infomace.Web.SCWS.ServiceContracts/2007/02"> <GetRetailersByStateResult> <DBResponse> <ResponseCode xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</ResponseCode> <ResponseDescription xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</ResponseDescription> <FailedRecommendation xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</FailedRecommendation> <FailedKey_ID xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</FailedKey_ID> </DBResponse> <RetailerDataCollection> <RetailerData> <DebtorCode xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</DebtorCode> <PriceBook xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</PriceBook> <StoreName xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</StoreName> <StoreAddr1 xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</StoreAddr1> <StoreAddr2 xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</StoreAddr2> <StoreAddr3 xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</StoreAddr3> <StorePostCode xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</StorePostCode> <RegionCity xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</RegionCity> <TownSuburb xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</TownSuburb> <PostNumCode xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</PostNumCode> <PhoneNumber xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</PhoneNumber> <WebSite xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</WebSite> <Email xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</Email> </RetailerData> <RetailerData> <DebtorCode xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</DebtorCode> <PriceBook xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</PriceBook> <StoreName xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</StoreName> <StoreAddr1 xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</StoreAddr1> <StoreAddr2 xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</StoreAddr2> <StoreAddr3 xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</StoreAddr3> <StorePostCode xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</StorePostCode> <RegionCity xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</RegionCity> <TownSuburb xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</TownSuburb> <PostNumCode xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</PostNumCode> <PhoneNumber xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</PhoneNumber> <WebSite xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</WebSite> <Email xmlns="http://Infomace.Web.SCWS.DataTypes/2007/02">string</Email> </RetailerData> </RetailerDataCollection> </GetRetailersByStateResult> </GetRetailersByStateResponse> </soap:Body> </soap:Envelope>