EWSWebServices


Click here for a complete list of operations.

GetWinesGlobal

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.ewinerysolutions.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://ws.ewinerysolutions.com/GetWinesGlobal"

<?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>
    <GetWinesGlobal xmlns="https://ws.ewinerysolutions.com/">
      <Request>
        <Key>guid</Key>
        <WineryID>guid</WineryID>
        <ProductID>guid</ProductID>
        <WineryName>string</WineryName>
        <SKU>string</SKU>
      </Request>
    </GetWinesGlobal>
  </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>
    <GetWinesGlobalResponse xmlns="https://ws.ewinerysolutions.com/">
      <GetWinesGlobalResult>
        <Wines>
          <WineGlobal>
            <WineName>string</WineName>
            <WineryName>string</WineryName>
            <WineBrand>string</WineBrand>
            <WineSKU>string</WineSKU>
            <VineyardDesignation>string</VineyardDesignation>
            <WineBottleSize>string</WineBottleSize>
            <WineType>string</WineType>
            <Varietal>string</Varietal>
            <Region>string</Region>
            <Appellation>string</Appellation>
            <Description>string</Description>
            <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>
            <PurchaseURL>string</PurchaseURL>
            <StoreURL>string</StoreURL>
            <Image>string</Image>
            <ProductID>guid</ProductID>
            <WineID>guid</WineID>
            <WineryID>guid</WineryID>
            <WineBrandID>guid</WineBrandID>
            <ProductCategoryID>guid</ProductCategoryID>
            <BottleWeight>double</BottleWeight>
            <PricePerBottle>double</PricePerBottle>
            <PricePerCase>double</PricePerCase>
            <Vintage>int</Vintage>
            <MinBottlesPerOrder>int</MinBottlesPerOrder>
            <MaxBottlesPerOrder>int</MaxBottlesPerOrder>
            <BottlesInACase>int</BottlesInACase>
            <HarvestDate>dateTime</HarvestDate>
          </WineGlobal>
          <WineGlobal>
            <WineName>string</WineName>
            <WineryName>string</WineryName>
            <WineBrand>string</WineBrand>
            <WineSKU>string</WineSKU>
            <VineyardDesignation>string</VineyardDesignation>
            <WineBottleSize>string</WineBottleSize>
            <WineType>string</WineType>
            <Varietal>string</Varietal>
            <Region>string</Region>
            <Appellation>string</Appellation>
            <Description>string</Description>
            <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>
            <PurchaseURL>string</PurchaseURL>
            <StoreURL>string</StoreURL>
            <Image>string</Image>
            <ProductID>guid</ProductID>
            <WineID>guid</WineID>
            <WineryID>guid</WineryID>
            <WineBrandID>guid</WineBrandID>
            <ProductCategoryID>guid</ProductCategoryID>
            <BottleWeight>double</BottleWeight>
            <PricePerBottle>double</PricePerBottle>
            <PricePerCase>double</PricePerCase>
            <Vintage>int</Vintage>
            <MinBottlesPerOrder>int</MinBottlesPerOrder>
            <MaxBottlesPerOrder>int</MaxBottlesPerOrder>
            <BottlesInACase>int</BottlesInACase>
            <HarvestDate>dateTime</HarvestDate>
          </WineGlobal>
        </Wines>
      </GetWinesGlobalResult>
    </GetWinesGlobalResponse>
  </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.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>
    <GetWinesGlobal xmlns="https://ws.ewinerysolutions.com/">
      <Request>
        <Key>guid</Key>
        <WineryID>guid</WineryID>
        <ProductID>guid</ProductID>
        <WineryName>string</WineryName>
        <SKU>string</SKU>
      </Request>
    </GetWinesGlobal>
  </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>
    <GetWinesGlobalResponse xmlns="https://ws.ewinerysolutions.com/">
      <GetWinesGlobalResult>
        <Wines>
          <WineGlobal>
            <WineName>string</WineName>
            <WineryName>string</WineryName>
            <WineBrand>string</WineBrand>
            <WineSKU>string</WineSKU>
            <VineyardDesignation>string</VineyardDesignation>
            <WineBottleSize>string</WineBottleSize>
            <WineType>string</WineType>
            <Varietal>string</Varietal>
            <Region>string</Region>
            <Appellation>string</Appellation>
            <Description>string</Description>
            <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>
            <PurchaseURL>string</PurchaseURL>
            <StoreURL>string</StoreURL>
            <Image>string</Image>
            <ProductID>guid</ProductID>
            <WineID>guid</WineID>
            <WineryID>guid</WineryID>
            <WineBrandID>guid</WineBrandID>
            <ProductCategoryID>guid</ProductCategoryID>
            <BottleWeight>double</BottleWeight>
            <PricePerBottle>double</PricePerBottle>
            <PricePerCase>double</PricePerCase>
            <Vintage>int</Vintage>
            <MinBottlesPerOrder>int</MinBottlesPerOrder>
            <MaxBottlesPerOrder>int</MaxBottlesPerOrder>
            <BottlesInACase>int</BottlesInACase>
            <HarvestDate>dateTime</HarvestDate>
          </WineGlobal>
          <WineGlobal>
            <WineName>string</WineName>
            <WineryName>string</WineryName>
            <WineBrand>string</WineBrand>
            <WineSKU>string</WineSKU>
            <VineyardDesignation>string</VineyardDesignation>
            <WineBottleSize>string</WineBottleSize>
            <WineType>string</WineType>
            <Varietal>string</Varietal>
            <Region>string</Region>
            <Appellation>string</Appellation>
            <Description>string</Description>
            <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>
            <PurchaseURL>string</PurchaseURL>
            <StoreURL>string</StoreURL>
            <Image>string</Image>
            <ProductID>guid</ProductID>
            <WineID>guid</WineID>
            <WineryID>guid</WineryID>
            <WineBrandID>guid</WineBrandID>
            <ProductCategoryID>guid</ProductCategoryID>
            <BottleWeight>double</BottleWeight>
            <PricePerBottle>double</PricePerBottle>
            <PricePerCase>double</PricePerCase>
            <Vintage>int</Vintage>
            <MinBottlesPerOrder>int</MinBottlesPerOrder>
            <MaxBottlesPerOrder>int</MaxBottlesPerOrder>
            <BottlesInACase>int</BottlesInACase>
            <HarvestDate>dateTime</HarvestDate>
          </WineGlobal>
        </Wines>
      </GetWinesGlobalResult>
    </GetWinesGlobalResponse>
  </soap12:Body>
</soap12:Envelope>