XML Sample File and XSD Schema
The Reward Export File is provided in comma separated value (CSV) format by default. At your request, TIBCO Reward will also provide this file in XML format.
Important: To see a sample of a Rewards Export file in its default CSV format, see section Standard CSV Sample File.
Refer to http://www.loyaltylab.com/schema/v1/RetailIntegration/Rewards.xsd
for TIBCO Reward’s XML rewards file format.
Also refer to the schema documentation located at http://www.loyaltylab.com/schema/v1/docs/Rewards/
A sample of a rewards file in TIBCO Reward’s XML format is at http://www.loyaltylab.com/schema/v1/samples/RewardsSample.xml
Here is another example of an XML file:
<?xml version="1.0" ?> <Rewards xmlns="http://www.instorecard.com/schema/v1/RetailIntegration/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.instorecard.com/schema/v1/RetailIntegration/ http://localhost/schema/v1/RetailIntegration/Rewards.xsd"> <DateRange> <BeginDate>2007-01-01T00:00:00</BeginDate> <EndDate>2007-01-01T00:01:00</EndDate> </DateRange> <Reward ID="3"> <RewardInformation> <InStorecardRewardID>3452912</InStorecardRewardID> <RewardCompensation>Bonus</RewardCompensation> <ProgramInformation> <ProgramID>0</ProgramID> <ProgramName>NONE</ProgramName> </ProgramInformation> <RewardText>$20 Gift Certificate</RewardText> <RewardValue>0</RewardValue> <RewardProduct> <SKU>RP-20</SKU> <ProductName>$20 Gift Certificate</ProductName> <Description>$20 Gift Certificate</Description> <RedeemValue>2000</RedeemValue> </RewardProduct> </RewardInformation> <InStorecardShopperID>23162911</InStorecardShopperID> <ShopperName> <PersonFullName> <FirstName>Sara</FirstName> <LastName>Conner</LastName> </PersonFullName> </ShopperName> <ShopperAddress> <AddressLine1>3932 East 93rd Street</AddressLine1> <City>Los Angeles</City> <State>CA</State> <PostalCode>93012</PostalCode> <CountryCode>US</CountryCode> </ShopperAddress> <EMail>sara@example.com</EMail> <ProcessDateTime>2007-01-01T21:00:59</ProcessDateTime> <ShopperPointBalance>7500</ShopperPointBalance> <PointBalanceExtractDate>2007-01-01T23:59:59</PointBalanceExtractDate> <OfferId>3703</OfferId> <OfferName>070101-0131Get $20 Storebucks for every $100 spent</OfferName> <LoyaltyCardNumber>123412341</LoyaltyCardNumber> </Reward> </Rewards>
Copyright © Cloud Software Group, Inc. All rights reserved.