Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- edited with XMLSpy v2013 sp1 (x64) (http://www.altova.com) by Kohl's Department Stores (Kohl's Department Stores) -->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://oe.gigaspaces.kohls.com/commonparams" targetNamespace="http://oe.gigaspaces.kohls.com/commonparams" elementFormDefault="qualified" attributeFormDefault="unqualified">
- <xs:simpleType name="ProductType">
- <xs:annotation>
- <xs:documentation>Indicate if this is GC, GW, KCK, Marketplace or
- Virtual Gift Card.
- </xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:string">
- <xs:enumeration value="N">
- <xs:annotation>
- <xs:documentation>Normal</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="C">
- <xs:annotation>
- <xs:documentation>Gift Card</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="W">
- <xs:annotation>
- <xs:documentation>Gift Wrap</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="K">
- <xs:annotation>
- <xs:documentation>Kohl’s Care</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="V">
- <xs:annotation>
- <xs:documentation>Virtual Gift Card</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="M">
- <xs:annotation>
- <xs:documentation>Marketplace</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="UpdateCouponOperationResult">
- <xs:annotation>
- <xs:documentation>SUPC coupon code entity status</xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:extension base="Coupon">
- <xs:sequence>
- <xs:element name="Result" type="CouponUpdateStatus"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="RequestHeader">
- <xs:annotation>
- <xs:documentation>Info about the caller</xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="RequestorName" type="RequestorType">
- <xs:annotation>
- <xs:documentation>name if the requesting system</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="RequestId" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Unique Request ID from that system. ATG will send ProfileID in that field.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="CurrentDate" type="xs:dateTime" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Time when request was made. Currently no logic around it.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="EffectiveDate" type="xs:dateTime" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Effective date of request for backdated requests. Will be used instead of SystemDateTime in ApplyActiveOfferRequest.</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="ProductGroup">
- <xs:annotation>
- <xs:documentation>Defines the reference to a product group</xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="GroupID" type="xs:long">
- <xs:annotation>
- <xs:documentation>Group ID</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="ItemType" type="AssortmentType"/>
- <xs:element name="Quantity" type="xs:positiveInteger">
- <xs:annotation>
- <xs:documentation>The quantity of items belonging to this group</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="index" type="xs:nonNegativeInteger">
- <xs:annotation>
- <xs:documentation>Index of the group to maintain processing order</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="ProductGroupDetails">
- <xs:annotation>
- <xs:documentation>Defines the structure for a group of product items</xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="GroupID" type="xs:long">
- <xs:annotation>
- <xs:documentation>Group ID</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="OfferId" type="xs:long">
- <xs:annotation>
- <xs:documentation>Kohl's offer ID</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="GroupComplete" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Y/N indicator if the groups is complete and valid (has BUY and GET parts and threshold are met)</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="GroupType">
- <xs:annotation>
- <xs:documentation>Group Type: GWP or PWP</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="GWP"/>
- <xs:enumeration value="PWP"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="RemainingBuyAmount" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Remaining amount in dollars (how much amount is required to meet threshold amount by BUY part)</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="RemainingBuyQuantity" type="xs:nonNegativeInteger" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Remaining quantity of item (how many instances are required to meet threshold quantity by BUY part)</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="RemainingGetAmount" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Remaining amount in dollars (how much amount is required to meet threshold amount by GET part)</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="RemainingGetQuantity" type="xs:nonNegativeInteger" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Remaining quantity of item (how many instances are required to meet threshold quantity by GET part)</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="BuySidePresentInd" type="xs:boolean" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Y/N indicator. Y if the BUY part of the group is complete.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="GetSidePresentInd" type="xs:boolean" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Y/N indicator. Y if the GET part of the group is complete.</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="index" type="xs:nonNegativeInteger">
- <xs:annotation>
- <xs:documentation>Index of the group to maintain processing order</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="ResponseStatus">
- <xs:sequence>
- <xs:element name="Status" type="ResponseState">
- <xs:annotation>
- <xs:documentation>(OK=request is fulfilled, ERROR=some problems, INVALID_REQUEST=operation is not supported or invalid combination in input params, WARN=minor problems)</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="StatusMessage" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Response Status Message In non OK Case
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:sequence>
- <xs:element name="Errors" type="Error" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>Errors encountered during processing</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:element name="OffersEngineVersion" type="xs:string">
- <xs:annotation>
- <xs:documentation>Offers Engine build version.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="ProtocolVersion" type="xs:string">
- <xs:annotation>
- <xs:documentation>Offers Engine protocol version.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="RequestId" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>RequestId from the request message.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="CouponUpdateStatus">
- <xs:sequence>
- <xs:element name="Status" type="ResponseState">
- <xs:annotation>
- <xs:documentation>(OK=coupon status is updated, ERROR=coupon is already used, FAILED=coupon is already used for protocol before 1.4 INVALID_REQUEST=invalid coupon length, UNSUPPORTED_OPERATION=used protocol version does not support this operation)</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="StatusMessage" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Coupon Update Status In non OK Case
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:sequence>
- <xs:element name="Errors" type="Error" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>Errors encountered during processing</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="ProductItemKey">
- <xs:sequence>
- <xs:element name="ProductId" type="xs:string">
- <xs:annotation>
- <xs:documentation>Kohls product ID</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="SKUId" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Kohls SKU ID</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="ProductItem">
- <xs:annotation>
- <xs:documentation>Basic Product info</xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="ProductID" type="xs:string"/>
- <xs:element name="SkuId" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="CommerceItemId" type="xs:string" minOccurs="0"/>
- <xs:element name="ProductType" minOccurs="0">
- <xs:annotation>
- <xs:documentation>If this is GC, KCK, VGC and so on</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:annotation>
- <xs:documentation>Indicate if this is GC, GW, KCK, or Virtual Gift Card.</xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:string">
- <xs:enumeration value="N">
- <xs:annotation>
- <xs:documentation>Normal</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="C">
- <xs:annotation>
- <xs:documentation>Gift Card</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="W">
- <xs:annotation>
- <xs:documentation>Gift Wrap</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="K">
- <xs:annotation>
- <xs:documentation>Kohl’s Care</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="V">
- <xs:annotation>
- <xs:documentation>Virtual Gift Card</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="M">
- <xs:annotation>
- <xs:documentation>Marketplace</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="OriginalPrice" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>The original price of one quantity of this item with no offers or legacy promotions applied</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="CorpPromoAdjustedSalePrice" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>The price of one quantity of this item after corporate legacy promotions have been applied. This price could change throughout the day. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="Quantity" type="xs:positiveInteger" minOccurs="0">
- <xs:annotation>
- <xs:documentation>The quantity of this item in the shopping cart.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="OverrideSalePrice" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Used only by contact center. If this field has a value, it will be used as the price regardless of the contents of the other pricing fields.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="BogoGroupId" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Id of BOGO group, if item comes with BOGO discount.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SkuItem">
- <xs:annotation>
- <xs:documentation>Represent items for GetProductDetailRequest</xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="ProductID" type="xs:string"/>
- <xs:element name="SkuId" type="xs:string"/>
- <xs:element name="CommerceItemId" type="xs:string" minOccurs="0"/>
- <xs:element name="ProductType" minOccurs="0" type="ProductType"/>
- <xs:element name="OriginalPrice" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>The original price of one quantity of this item with no offers or legacy promotions applied</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="CorpPromoAdjustedSalePrice" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>The price of one quantity of this item after corporate legacy promotions have been applied. This price could change throughout the day. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="Quantity" type="xs:positiveInteger" minOccurs="0">
- <xs:annotation>
- <xs:documentation>The quantity of this item in the shopping cart.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="OverrideSalePrice" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Used only by contact center. If this field has a value, it will be used as the price regardless of the contents of the other pricing fields.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="BogoGroupId" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Id of BOGO group, if item comes with BOGO discount.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="ProductItemDetails">
- <xs:annotation>
- <xs:documentation>Detailed Product info</xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:extension base="ProductItem">
- <xs:sequence>
- <xs:element name="Exclusion" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="Name" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>Name of the exclusion list which item belongs to</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="ProductGroup" type="ProductGroup" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="Coupon">
- <xs:sequence>
- <xs:element name="CouponCode" type="xs:string">
- <xs:annotation>
- <xs:documentation>Coupon code be that SUPC or other coupon</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="CouponType" type="CouponType">
- <xs:annotation>
- <xs:documentation>Type of the coupon. Value is "SUPC". Any other type will generate "not supported" error response</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="CouponStatus" type="CouponState">
- <xs:annotation>
- <xs:documentation>Statuses: Currently will support only Used and Valid.</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Error">
- <xs:annotation>
- <xs:documentation> Errors related to given request </xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="ErrorCode" type="xs:positiveInteger" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Numeric error code</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="ErrorSeverity">
- <xs:annotation>
- <xs:documentation>Error severity</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="FATAL"/>
- <xs:enumeration value="ERROR"/>
- <xs:enumeration value="WARN"/>
- <xs:enumeration value="INFO"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ErrorText" type="xs:string">
- <xs:annotation>
- <xs:documentation>Error text</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="ErrorTextCode" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Error text code</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:simpleType name="CouponType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="SUPC"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="RequestorType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="ATG"/>
- <xs:enumeration value="MOBILE"/>
- <xs:enumeration value="KIOSK"/>
- <xs:enumeration value="OTHER"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="AttributesRequestType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="EXCLUSION"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="ResponseState">
- <xs:restriction base="xs:string">
- <xs:enumeration value="OK"/>
- <xs:enumeration value="FAILED"/>
- <xs:enumeration value="EXCEPTION"/>
- <xs:enumeration value="UNSUPPORTED_OPERATION"/>
- <xs:enumeration value="INVALID_REQUEST"/>
- <xs:enumeration value="ERROR"/>
- <xs:enumeration value="WARN"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="CouponState">
- <xs:restriction base="xs:string">
- <xs:enumeration value="VALID"/>
- <xs:enumeration value="USED"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="ActionType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="ADD_TO_BAG"/>
- <xs:enumeration value="CHECKOUT"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="Threshold">
- <xs:sequence>
- <xs:element name="ThresholdAmount" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Thresholod amount in dollars and cents</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="ThresholdQuantity" type="xs:nonNegativeInteger" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Thresholod in items</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="OfferType">
- <xs:annotation>
- <xs:documentation>Offer object for QBE searches</xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="OfferId" type="xs:long" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Kohl's offer ID</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="CorpOfferIds" minOccurs="0">
- <xs:annotation>
- <xs:documentation>List of Corporate OMS offer IDs</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="CorpOfferId" type="xs:string" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>Corporate OMS offer ID</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Name" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>The offer name</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="StartDate" type="xs:dateTime" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Start date</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="EndDate" type="xs:dateTime" minOccurs="0">
- <xs:annotation>
- <xs:documentation>End date</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="OfferType" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Offer type - % off, $ off or PP for price point</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="$"/>
- <xs:enumeration value="%"/>
- <xs:enumeration value="PP"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ApplicationLevel" minOccurs="0">
- <xs:annotation>
- <xs:documentation>TLD or LID</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="TLD"/>
- <xs:enumeration value="LID-EACH"/>
- <xs:enumeration value="LID-PRORATED"/>
- <xs:enumeration value="LID"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="OfferCategory" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Merchandise, Shipping or Surcharge </xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="PRICE"/>
- <xs:enumeration value="FEE"/>
- <xs:enumeration value="SURCHARGE"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="PromoCode" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>The promo code associated with the offer.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="Channel" type="Channel" minOccurs="0"/>
- <xs:element name="DisplayInStore" type="xs:boolean" minOccurs="0"/>
- <xs:element name="BuyThreshold" type="Threshold" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Amount or quantity needed for Offer to be applicable</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="PercentOffAmount" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Percent off amount for given offer</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="DollarOffAmount" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Dollar off amount for given offer</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="PricePointAmount" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Price Point amount for given offer</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="BuyProducts" minOccurs="0">
- <xs:annotation>
- <xs:documentation>BUY side of assortment</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="ProductItem" type="ProductItem" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="GetProducts" minOccurs="0">
- <xs:annotation>
- <xs:documentation>GET side of assortment</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="ProductItem" type="ProductItem" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="ConfirmationMessage" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Confirmation message for the offer, which is sent to ATG every time offer is applied, so that customer can see message associated with this given offer. </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="isEcommOffer" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Set to 'TRUE' if this offer was an Ecom offer, 'FALSE' otherwise.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="isSystemInitiated" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Set to 'TRUE' if the offer was system initiated (i.e. did not require a promo code), or 'FALSE' if the offers was not.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="isRestrictedOffer" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Set to 'TRUE' if this offer is a restricted offer.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="isSupcOffer" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Set to 'TRUE' for SUPC offers</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="isGwpOffer" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Set to 'TRUE' if this offer is a GWP offer.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="isPwpOffer" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Set to 'TRUE' if this offer is a PWP offer.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="OfferSearchOption">
- <xs:annotation>
- <xs:documentation>Search option to find set of offers</xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="Offers">
- <xs:annotation>
- <xs:documentation>Find similar offers - QBE search</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Offer" type="OfferType" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="SearchResultOptions">
- <xs:annotation>
- <xs:documentation>Controls what to return in results</xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="MaxNumberOfOffers" type="xs:unsignedInt">
- <xs:annotation>
- <xs:documentation>Max number of offers to be returned</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="ReturnAssortments" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>If assortments should be returned</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="MaxAssortmentSize" type="xs:unsignedInt">
- <xs:annotation>
- <xs:documentation>Max number of elements returned for assortment</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="OffersSearchResult">
- <xs:annotation>
- <xs:documentation>The response with the result for offers qbe request</xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="OfferId" type="xs:long" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Kohl's offer ID</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="CorpOfferIds" minOccurs="0">
- <xs:annotation>
- <xs:documentation>List of Corporate OMS offer IDs</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="CorpOfferId" type="xs:string" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>Corporate OMS offer ID</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Name" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>The offer name</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="StartDate" type="xs:dateTime" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Start date</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="EndDate" type="xs:dateTime" minOccurs="0">
- <xs:annotation>
- <xs:documentation>End date</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="PromoCode" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>The promo code associated with the offer.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="SUPCs" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Single use promo coupons. Only coupons received with the request are listed here.
- There will be more than one coupon listed here if there are several 'offer' elements in
- the request with codes pointing to this offer.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="SUPC" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>One of SUPC coupons</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="isUsed" type="xs:boolean" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="PercentOffAmount" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Percent off amount for given offer</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="DollarOffAmount" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Dollar off amount for given offer</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="PricePointAmount" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Price Point amount for given offer</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="BuyProducts" minOccurs="0">
- <xs:annotation>
- <xs:documentation>BUY side of assortment</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="totalCount" type="xs:nonNegativeInteger"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="GetProducts" minOccurs="0">
- <xs:annotation>
- <xs:documentation>GET side of assortment</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="totalCount" type="xs:nonNegativeInteger"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="ConfirmationMessage" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Confirmation message for the offer, which is sent to ATG every time offer is applied, so that customer can see message associated with this given offer. </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="Disclaimer" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Disclaimer message for the offer</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="Description" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>The offer description</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="RestrictionTimes" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Kohl's offer restriction times</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="RestrictionCount" type="xs:decimal" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Kohl's offer times used</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="Combinable" type="xs:boolean" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Kohl's offer combinable flag</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="SocialSharing" type="xs:boolean" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Social Sharing flag</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="DisplayInStore" type="xs:boolean" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Display in store flag</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="CreationDate" type="xs:dateTime" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Creation date</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="CreatedBy" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Created by</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="ModificationDate" type="xs:dateTime" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Modification date</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="ModifiedBy" type="xs:string" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Modified by</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="Channels" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Channel" type="Channel" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="TenderTypes" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="TenderType" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>Kohl's offer TenderType</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="AMX"/>
- <xs:enumeration value="DSC"/>
- <xs:enumeration value="KHL"/>
- <xs:enumeration value="MC"/>
- <xs:enumeration value="VSA"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="ShippingMethods" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="ShippingMethod" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>Kohl's shipping offer method</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string"/>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Status" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Offer status at this moment</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="SUBMITTED"/>
- <xs:enumeration value="ACTIVE"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="OfferType" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Offer type - % off, $ off or PP for price point</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="$"/>
- <xs:enumeration value="%"/>
- <xs:enumeration value="PP"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ApplicationLevel" minOccurs="0">
- <xs:annotation>
- <xs:documentation>TLD or LID</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="TLD"/>
- <xs:enumeration value="LID-EACH"/>
- <xs:enumeration value="LID-PRORATED"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="OfferCategory" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Merchandise, Shipping or Surcharge </xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="PRICE"/>
- <xs:enumeration value="FEE"/>
- <xs:enumeration value="SUR"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="BuyThreshold" type="Threshold" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Amount or quantity needed for Offer to be applicable </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="SupcCodesNumber" type="xs:integer" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Number of SUPC coupons created</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="MultipleGiftsAllowed" type="xs:boolean" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Set to 'TRUE' if Multiple Gifts allowed fo this offer.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="StaticMessages" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Static messages attached to offer</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="StaticMessage" type="StaticMessage" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="OfferError" minOccurs="0" type="Error">
- <xs:annotation>
- <xs:documentation>Error occurred during search of this offer</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="isEcommOffer" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Set to 'TRUE' if this offer was an Ecom offer, 'FALSE' otherwise.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="isSystemInitiated" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Set to 'TRUE' if the offer was system initiated (i.e. did not require a promo code), or 'FALSE' if the offers was not.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="isRestrictedOffer" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Set to 'TRUE' if this offer is a restricted offer.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="isGwpOffer" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Set to 'TRUE' if this offer is a GWP offer.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="isPwpOffer" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Set to 'TRUE' if this offer is a PWP offer.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="isSupcOffer" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Set to 'TRUE' for SUPC offers</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="StaticMessage">
- <xs:annotation>
- <xs:documentation>Static message attached to offer</xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element name="StaticMessageKey" type="xs:string">
- <xs:annotation>
- <xs:documentation>Static message key</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="StaticMessageText" type="xs:string">
- <xs:annotation>
- <xs:documentation>Static message text</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="OverrideShipPrice">
- <xs:simpleContent>
- <xs:extension base="xs:decimal">
- <xs:attribute name="ShipAddressId" type="xs:string"/>
- <xs:attribute name="ShipMethodId" type="xs:string"/>
- <xs:attribute name="ShipMethod" type="xs:string"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:simpleType name="Channel">
- <xs:annotation>
- <xs:documentation>Kohl's offer Channel</xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:string">
- <xs:enumeration value="WEB"/>
- <xs:enumeration value="MOBILE"/>
- <xs:enumeration value="KIOSK"/>
- <xs:enumeration value="CONTACT_CENTER"/>
- <xs:enumeration value="STORE"/>
- <xs:enumeration value="MOBILE_INSTORE"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="AssortmentType">
- <xs:annotation>
- <xs:documentation>Assortment type - BUY or GET</xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:string">
- <xs:enumeration value="BUY"/>
- <xs:enumeration value="GET"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="Pagination">
- <xs:annotation>
- <xs:documentation>Pagination support for data retrieval</xs:documentation>
- </xs:annotation>
- <!--Offset of result set (page) to be retrieved-->
- <xs:attribute name="offset" type="xs:nonNegativeInteger" use="required"/>
- <!--Amount of items to be retrieved in result set (page)-->
- <xs:attribute name="count" type="xs:positiveInteger" use="required"/>
- </xs:complexType>
- </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement