EWSWebServices
Click here for a complete list of operations.
GetThirdPartyWines
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 /2.00/EWSWebServices.asmx HTTP/1.1
Host: ws-uat.ewinerysolutions.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://ws.ewinerysolutions.com/GetThirdPartyWines"
<?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>
<GetThirdPartyWines xmlns="https://ws.ewinerysolutions.com/">
<Request>
<WineID>guid</WineID>
<WineSKU>string</WineSKU>
<WineName>string</WineName>
<VineyardDesignation>string</VineyardDesignation>
<MinRating>decimal</MinRating>
<MaxRating>decimal</MaxRating>
<Vintage>int</Vintage>
<IsSellAsBottle>boolean</IsSellAsBottle>
<IsSellAsCase>boolean</IsSellAsCase>
<MinPricePerBottle>decimal</MinPricePerBottle>
<MaxPricePerBottle>decimal</MaxPricePerBottle>
<MinPricePerCase>decimal</MinPricePerCase>
<MaxPricePerCase>decimal</MaxPricePerCase>
<WineType>string</WineType>
<IsUniqueToThirdParty>boolean</IsUniqueToThirdParty>
<WineBrand>string</WineBrand>
<IncludeWineInventories>boolean</IncludeWineInventories>
<WineBrandKey>string</WineBrandKey>
</Request>
</GetThirdPartyWines>
</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>
<GetThirdPartyWinesResponse xmlns="https://ws.ewinerysolutions.com/">
<GetThirdPartyWinesResult>
<Wines>
<ThirdPartyWine>
<ThirdPartySupplierID>guid</ThirdPartySupplierID>
<ThirdPartySupplier>string</ThirdPartySupplier>
<ThirdPartyStoreID>guid</ThirdPartyStoreID>
<ThirdPartyStore>string</ThirdPartyStore>
<WineName>string</WineName>
<WineryName>string</WineryName>
<WineBrand>string</WineBrand>
<WineSKU>string</WineSKU>
<VineyardDesignation>string</VineyardDesignation>
<WineBottleSize>string</WineBottleSize>
<WineBottleSizeID>guid</WineBottleSizeID>
<WineType>string</WineType>
<WineTypeID>guid</WineTypeID>
<WineVarietal>string</WineVarietal>
<WineRegion>string</WineRegion>
<WineAppellation>string</WineAppellation>
<WineDescription>string</WineDescription>
<Sugar>string</Sugar>
<Acid>string</Acid>
<PH>string</PH>
<Aging>string</Aging>
<Fermentation>string</Fermentation>
<BottlingDate>string</BottlingDate>
<ResidualSugar>string</ResidualSugar>
<Tannin>string</Tannin>
<AlcoholPercentage>string</AlcoholPercentage>
<Ageability>string</Ageability>
<WineID>guid</WineID>
<WineBrandID>guid</WineBrandID>
<Weight>decimal</Weight>
<PricePerBottle>decimal</PricePerBottle>
<PricePerCase>decimal</PricePerCase>
<Vintage>int</Vintage>
<MinBottlesPerOrder>int</MinBottlesPerOrder>
<MaxBottlesPerOrder>int</MaxBottlesPerOrder>
<BottlesInACase>int</BottlesInACase>
<HarvestDate>string</HarvestDate>
<IsActive>boolean</IsActive>
<DateAdded>dateTime</DateAdded>
<DateModified>dateTime</DateModified>
<ShortName>string</ShortName>
<Teaser>string</Teaser>
<Picture>string</Picture>
<Description>string</Description>
<InventoryCount>int</InventoryCount>
</ThirdPartyWine>
<ThirdPartyWine>
<ThirdPartySupplierID>guid</ThirdPartySupplierID>
<ThirdPartySupplier>string</ThirdPartySupplier>
<ThirdPartyStoreID>guid</ThirdPartyStoreID>
<ThirdPartyStore>string</ThirdPartyStore>
<WineName>string</WineName>
<WineryName>string</WineryName>
<WineBrand>string</WineBrand>
<WineSKU>string</WineSKU>
<VineyardDesignation>string</VineyardDesignation>
<WineBottleSize>string</WineBottleSize>
<WineBottleSizeID>guid</WineBottleSizeID>
<WineType>string</WineType>
<WineTypeID>guid</WineTypeID>
<WineVarietal>string</WineVarietal>
<WineRegion>string</WineRegion>
<WineAppellation>string</WineAppellation>
<WineDescription>string</WineDescription>
<Sugar>string</Sugar>
<Acid>string</Acid>
<PH>string</PH>
<Aging>string</Aging>
<Fermentation>string</Fermentation>
<BottlingDate>string</BottlingDate>
<ResidualSugar>string</ResidualSugar>
<Tannin>string</Tannin>
<AlcoholPercentage>string</AlcoholPercentage>
<Ageability>string</Ageability>
<WineID>guid</WineID>
<WineBrandID>guid</WineBrandID>
<Weight>decimal</Weight>
<PricePerBottle>decimal</PricePerBottle>
<PricePerCase>decimal</PricePerCase>
<Vintage>int</Vintage>
<MinBottlesPerOrder>int</MinBottlesPerOrder>
<MaxBottlesPerOrder>int</MaxBottlesPerOrder>
<BottlesInACase>int</BottlesInACase>
<HarvestDate>string</HarvestDate>
<IsActive>boolean</IsActive>
<DateAdded>dateTime</DateAdded>
<DateModified>dateTime</DateModified>
<ShortName>string</ShortName>
<Teaser>string</Teaser>
<Picture>string</Picture>
<Description>string</Description>
<InventoryCount>int</InventoryCount>
</ThirdPartyWine>
</Wines>
<NumberOfRecrods>int</NumberOfRecrods>
</GetThirdPartyWinesResult>
</GetThirdPartyWinesResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /2.00/EWSWebServices.asmx HTTP/1.1
Host: ws-uat.ewinerysolutions.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetThirdPartyWines xmlns="https://ws.ewinerysolutions.com/">
<Request>
<WineID>guid</WineID>
<WineSKU>string</WineSKU>
<WineName>string</WineName>
<VineyardDesignation>string</VineyardDesignation>
<MinRating>decimal</MinRating>
<MaxRating>decimal</MaxRating>
<Vintage>int</Vintage>
<IsSellAsBottle>boolean</IsSellAsBottle>
<IsSellAsCase>boolean</IsSellAsCase>
<MinPricePerBottle>decimal</MinPricePerBottle>
<MaxPricePerBottle>decimal</MaxPricePerBottle>
<MinPricePerCase>decimal</MinPricePerCase>
<MaxPricePerCase>decimal</MaxPricePerCase>
<WineType>string</WineType>
<IsUniqueToThirdParty>boolean</IsUniqueToThirdParty>
<WineBrand>string</WineBrand>
<IncludeWineInventories>boolean</IncludeWineInventories>
<WineBrandKey>string</WineBrandKey>
</Request>
</GetThirdPartyWines>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetThirdPartyWinesResponse xmlns="https://ws.ewinerysolutions.com/">
<GetThirdPartyWinesResult>
<Wines>
<ThirdPartyWine>
<ThirdPartySupplierID>guid</ThirdPartySupplierID>
<ThirdPartySupplier>string</ThirdPartySupplier>
<ThirdPartyStoreID>guid</ThirdPartyStoreID>
<ThirdPartyStore>string</ThirdPartyStore>
<WineName>string</WineName>
<WineryName>string</WineryName>
<WineBrand>string</WineBrand>
<WineSKU>string</WineSKU>
<VineyardDesignation>string</VineyardDesignation>
<WineBottleSize>string</WineBottleSize>
<WineBottleSizeID>guid</WineBottleSizeID>
<WineType>string</WineType>
<WineTypeID>guid</WineTypeID>
<WineVarietal>string</WineVarietal>
<WineRegion>string</WineRegion>
<WineAppellation>string</WineAppellation>
<WineDescription>string</WineDescription>
<Sugar>string</Sugar>
<Acid>string</Acid>
<PH>string</PH>
<Aging>string</Aging>
<Fermentation>string</Fermentation>
<BottlingDate>string</BottlingDate>
<ResidualSugar>string</ResidualSugar>
<Tannin>string</Tannin>
<AlcoholPercentage>string</AlcoholPercentage>
<Ageability>string</Ageability>
<WineID>guid</WineID>
<WineBrandID>guid</WineBrandID>
<Weight>decimal</Weight>
<PricePerBottle>decimal</PricePerBottle>
<PricePerCase>decimal</PricePerCase>
<Vintage>int</Vintage>
<MinBottlesPerOrder>int</MinBottlesPerOrder>
<MaxBottlesPerOrder>int</MaxBottlesPerOrder>
<BottlesInACase>int</BottlesInACase>
<HarvestDate>string</HarvestDate>
<IsActive>boolean</IsActive>
<DateAdded>dateTime</DateAdded>
<DateModified>dateTime</DateModified>
<ShortName>string</ShortName>
<Teaser>string</Teaser>
<Picture>string</Picture>
<Description>string</Description>
<InventoryCount>int</InventoryCount>
</ThirdPartyWine>
<ThirdPartyWine>
<ThirdPartySupplierID>guid</ThirdPartySupplierID>
<ThirdPartySupplier>string</ThirdPartySupplier>
<ThirdPartyStoreID>guid</ThirdPartyStoreID>
<ThirdPartyStore>string</ThirdPartyStore>
<WineName>string</WineName>
<WineryName>string</WineryName>
<WineBrand>string</WineBrand>
<WineSKU>string</WineSKU>
<VineyardDesignation>string</VineyardDesignation>
<WineBottleSize>string</WineBottleSize>
<WineBottleSizeID>guid</WineBottleSizeID>
<WineType>string</WineType>
<WineTypeID>guid</WineTypeID>
<WineVarietal>string</WineVarietal>
<WineRegion>string</WineRegion>
<WineAppellation>string</WineAppellation>
<WineDescription>string</WineDescription>
<Sugar>string</Sugar>
<Acid>string</Acid>
<PH>string</PH>
<Aging>string</Aging>
<Fermentation>string</Fermentation>
<BottlingDate>string</BottlingDate>
<ResidualSugar>string</ResidualSugar>
<Tannin>string</Tannin>
<AlcoholPercentage>string</AlcoholPercentage>
<Ageability>string</Ageability>
<WineID>guid</WineID>
<WineBrandID>guid</WineBrandID>
<Weight>decimal</Weight>
<PricePerBottle>decimal</PricePerBottle>
<PricePerCase>decimal</PricePerCase>
<Vintage>int</Vintage>
<MinBottlesPerOrder>int</MinBottlesPerOrder>
<MaxBottlesPerOrder>int</MaxBottlesPerOrder>
<BottlesInACase>int</BottlesInACase>
<HarvestDate>string</HarvestDate>
<IsActive>boolean</IsActive>
<DateAdded>dateTime</DateAdded>
<DateModified>dateTime</DateModified>
<ShortName>string</ShortName>
<Teaser>string</Teaser>
<Picture>string</Picture>
<Description>string</Description>
<InventoryCount>int</InventoryCount>
</ThirdPartyWine>
</Wines>
<NumberOfRecrods>int</NumberOfRecrods>
</GetThirdPartyWinesResult>
</GetThirdPartyWinesResponse>
</soap12:Body>
</soap12:Envelope>