Additional Examples - Generate Cart Preview

<GenerateCartPreviewRequest xmlns="http://api.cleverbridge.com/datacontract">
  <AcceptLanguage>en-US,en;q=0.7,de;q=0.3</AcceptLanguage>
  <GenerateSessionUrl>false</GenerateSessionUrl>
  <RemoteAddress>4.2.2.2</RemoteAddress>
  <ShoppingCartUrl>https://www.cleverbridge.com/8/?scope=cart&cart=1455</ShoppingCartUrl>
</GenerateCartPreviewRequest>
<?xml version="1.0"?>
<GenerateCartPreviewResponse xmlns="http://api.cleverbridge.com/datacontract">
  <ResultMessage>OK</ResultMessage>
  <Cart>
    <CartItems>
      <CartItemPreview>
        <Name>BlogMusic 2</Name>
        <NameExtension />
        <ProductId>1455</ProductId>
        <InternalProductId />
        <Quantity>1</Quantity>
        <RunningNumber>1</RunningNumber>
        <SinglePrice>
          <Currency>US Dollar</Currency>
          <CurrencyId>USD</CurrencyId>
          <Gross>49.95</Gross>
          <Net>49.95</Net>
          <Vat>0.00</Vat>
          <VatPercentage>0</VatPercentage>
        </SinglePrice>
        <TotalPrice>
          <Currency>US Dollar</Currency>
          <CurrencyId>USD</CurrencyId>
          <Gross>49.95</Gross>
          <Net>49.95</Net>
          <Vat>0.00</Vat>
          <VatPercentage>0</VatPercentage>
        </TotalPrice>
      </CartItemPreview>
    </CartItems>
    <Currency>US Dollar</Currency>
    <CurrencyId>USD</CurrencyId>
    <Language>English</Language>
    <LanguageId>en</LanguageId>
    <TotalPrice>
      <Currency>US Dollar</Currency>
      <CurrencyId>USD</CurrencyId>
      <Gross>49.95</Gross>
      <Net>49.95</Net>
      <Vat>0.00</Vat>
      <VatPercentage>0</VatPercentage>
    </TotalPrice>
  </Cart>
</GenerateCartPreviewResponse>
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://api.cleverbridge.com/datacontract" elementFormDefault="qualified" targetNamespace="http://api.cleverbridge.com/datacontract">
   <xs:element name="GenerateCartPreviewRequest" nillable="true" type="tns:GenerateCartPreviewRequest" />
   <xs:complexType name="GenerateCartPreviewRequest">
      <xs:sequence>
         <xs:element minOccurs="0" maxOccurs="1" name="AcceptLanguage" type="xs:string" />
         <xs:element minOccurs="1" maxOccurs="1" name="GenerateSessionUrl" type="xs:boolean" />
         <xs:element minOccurs="0" maxOccurs="1" name="RemoteAddress" type="xs:string" />
         <xs:element minOccurs="0" maxOccurs="1" name="ShoppingCartUrl" type="xs:string" />
      </xs:sequence>
   </xs:complexType>
</xs:schema>
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://api.cleverbridge.com/datacontract" elementFormDefault="qualified" targetNamespace="http://api.cleverbridge.com/datacontract">
   <xs:element name="GenerateCartPreviewResponse" nillable="true" type="tns:GenerateCartPreviewResponse" />
   <xs:complexType name="GenerateCartPreviewResponse">
      <xs:complexContent mixed="false">
         <xs:extension base="tns:BaseResponseMessage">
            <xs:sequence>
               <xs:element minOccurs="0" maxOccurs="1" name="Cart" type="tns:CartPreview" />
               <xs:element minOccurs="0" maxOccurs="1" name="SessionUrl" type="xs:string" />
            </xs:sequence>
         </xs:extension>
      </xs:complexContent>
   </xs:complexType>
   <xs:complexType name="BaseResponseMessage">
      <xs:sequence>
         <xs:element minOccurs="0" maxOccurs="1" name="ResultMessage" type="xs:string" />
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CartPreview">
      <xs:sequence>
         <xs:element minOccurs="0" maxOccurs="1" name="CartItems" type="tns:ArrayOfCartItemPreview" />
         <xs:element minOccurs="0" maxOccurs="1" name="Currency" type="xs:string" />
         <xs:element minOccurs="0" maxOccurs="1" name="CurrencyId" type="xs:string" />
         <xs:element minOccurs="0" maxOccurs="1" name="Language" type="xs:string" />
         <xs:element minOccurs="0" maxOccurs="1" name="LanguageId" type="xs:string" />
         <xs:element minOccurs="0" maxOccurs="1" name="TotalPrice" type="tns:CartPricePreview" />
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="ArrayOfCartItemPreview">
      <xs:sequence>
         <xs:element minOccurs="0" maxOccurs="unbounded" name="CartItemPreview" nillable="true" type="tns:CartItemPreview" />
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CartItemPreview">
      <xs:sequence>
         <xs:element minOccurs="0" maxOccurs="1" name="Discount" type="tns:CartPricePreview" />
         <xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:string" />
         <xs:element minOccurs="0" maxOccurs="1" name="NameExtension" type="xs:string" />
         <xs:element minOccurs="1" maxOccurs="1" name="ProductId" type="xs:long" />
         <xs:element minOccurs="0" maxOccurs="1" name="InternalProductId" type="xs:string" />
         <xs:element minOccurs="1" maxOccurs="1" name="Quantity" type="xs:long" />
         <xs:element minOccurs="1" maxOccurs="1" name="RunningNumber" type="xs:long" />
         <xs:element minOccurs="0" maxOccurs="1" name="SinglePrice" type="tns:CartPricePreview" />
         <xs:element minOccurs="0" maxOccurs="1" name="TotalPrice" type="tns:CartPricePreview" />
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CartPricePreview">
      <xs:sequence>
         <xs:element minOccurs="0" maxOccurs="1" name="Currency" type="xs:string" />
         <xs:element minOccurs="0" maxOccurs="1" name="CurrencyId" type="xs:string" />
         <xs:element minOccurs="1" maxOccurs="1" name="Gross" type="xs:decimal" />
         <xs:element minOccurs="1" maxOccurs="1" name="Net" type="xs:decimal" />
         <xs:element minOccurs="1" maxOccurs="1" name="Vat" type="xs:decimal" />
         <xs:element minOccurs="1" maxOccurs="1" name="VatPercentage" type="xs:decimal" />
      </xs:sequence>
   </xs:complexType>
</xs:schema>