Personalized

❗️

If you're looking to start a new integration please see our REST documentation.

Schema information for eGift Personalized:

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns="http://tempuri.org/XMLSchema.xsd" xmlns:mstns="http://tempuri.org/XMLSchema.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://tempuri.org/XMLSchema.xsd" elementFormDefault="qualified">
    <xs:element name="Product">
        <xs:annotation>
            <xs:documentation>Schema for EGift Personalized</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:attributeGroup ref="ProductAttributes"/>
        </xs:complexType>
    </xs:element>
    <xs:attributeGroup name="ProductAttributes">
        <xs:annotation>
            <xs:documentation>Multiple Ship and ReturnCardNumberAndPIN attributes will be set to "false", RequestId attribute will be set to null</xs:documentation>
        </xs:annotation>
        <xs:attribute name="MultipleShip" type="xs:boolean" use="required"/>
        <xs:attribute name="ReturnCardNumberAndPIN" type="xs:boolean"/>
        <xs:attribute name="RequestId" type="xs:boolean"/>
    </xs:attributeGroup>    
    <xs:element name="Credit_Card_Payment_Information" type="CreditCardPaymentInformation" minOccurs="0"/>

    <xs:complexType name="BillingAddress">
        <xs:sequence>
            <xs:element name="Billing_First_Name" type="RString20"/>
            <xs:element name="Billing_Last_Name" type="RString20"/>
            <xs:element name="Billing_Middle_Initial" type="MiddleInitial" minOccurs="0"/>
            <xs:element name="Address_Line_1" type="RString35"/>
            <xs:element name="Address_Line_2" type="OString35" minOccurs="0"/>
            <xs:element name="Billing_City" type="City"/>
            <xs:element name="Billing_State" type="State"/>
            <xs:element name="Billing_Zip" type="Zip"/>
            <xs:element name="Billing_Country" type="PaymentCountry"/>
            <xs:element name="Billing_Email" type="RString35"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="CreditCardPaymentInformation">
        <xs:sequence>
            <xs:element name="Card_Type" type="CreditCardType" />
            <xs:element name="Credit_Card_Number" type="BillingCreditCardNumber" />
            <xs:element name="Security_Code" type="BillingCreditCardSecurityCode" />
            <xs:element name="Expiration_Date" type="CreditCardExpirationDate" />
            <xs:element name="Bill_Address" type="BillingAddress" />
            <xs:element name="PO_Number" type="OString50" minOccurs="0"/>
            <xs:element name="Transaction_Data_1" type="OString40" minOccurs="0" />
            <xs:element name="Transaction_Data_2" type="OString40" minOccurs="0" />
            <xs:element name="Transaction_Data_3" type="OString40" minOccurs="0" />
            <xs:element name="Transaction_Data_4" type="OString40" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>

    <xs:simpleType name="BillingCreditCardNumber">
        <xs:restriction base="xs:string">
            <xs:pattern value="\d{16}|\d{15}"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="BillingCreditCardSecurityCode">
        <xs:restriction base="xs:string">
            <xs:pattern value="\d{3}|\d{4}"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="CreditCardExpirationDate">
        <xs:restriction base="xs:string">
            <xs:pattern value="((0[1-9])|(1[02]))/\d{4}"/>
            <xs:maxLength value="8"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="CreditCardType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="Visa"/>
            <xs:enumeration value="MasterCard"/>
            <xs:enumeration value="American Express"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="PaymentCountry">
        <xs:restriction base="xs:string">
          <xs:pattern value="CANADA|UNITED STATES"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="Order_Item">
        <xs:all>
            <xs:element name="Demo_First_Name" type="RString25"/>
            <xs:element name="Demo_Last_Name" type="RString25"/>
            <xs:element name="Transaction_Amount" type="Amount"/>
            <xs:element name="Internet_Element_1" type="Internet_Address" minOccurs="0"/>
            <xs:element name="Content_Provider_Code" type="ContentProviderCode" minOccurs="0"/>
        </xs:all>
    </xs:complexType>
    
    <xs:simpleType name="Amount">
        <xs:restriction base="xs:integer">
            <xs:totalDigits value="17"/>
            <xs:minInclusive value="1"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="Internet_Address">
        <xs:restriction base="OString50">
            <xs:minLength value="0"/>
            <xs:pattern value="([\w-_'\.]+)@((\[\d{1,3}\.\d{1,3}\.\d{1,3}\.)|(([\w-_']+\.)+))(\w{2,4}|\d{1,3})(\]?)$"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="RString25">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="25"/>
        </xs:restriction>
    </xs:simpleType>
        <xs:simpleType name="ContentProviderCode">
        <xs:restriction base="xs:string">
            <xs:maxLength value="118"/>
        </xs:restriction>
    </xs:simpleType>
    
    <xsd:element name="EmailContent" minOccurs="0">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element name="SenderName">
                    <xsd:simpleType>
                      <xsd:restriction base="xsd:string">
                              <xsd:maxLength value="50"/>
                          </xsd:restriction>
                    </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="SenderEmail">
                    <xsd:simpleType>
                      <xsd:restriction base="xsd:string">
                              <xsd:maxLength value="90"/>
                          </xsd:restriction>
                    </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="Subject">
                    <xsd:simpleType>
                      <xsd:restriction base="xsd:string">
                              <xsd:maxLength value="200"/>
                          </xsd:restriction>
                    </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="EmailMessage" type="xsd:string"/>
                  <xsd:element name="EmailClosingName">
                    <xsd:simpleType>
                      <xsd:restriction base="xsd:string">
                              <xsd:maxLength value="200"/>
                          </xsd:restriction>
                    </xsd:simpleType>
                  </xsd:element>
                  <xsd:element name="UnsubscribeData">
                    <xsd:complexType>
                      <xsd:sequence>
                        <xsd:element name="CompanyName">
                          <xsd:simpleType>
                            <xsd:restriction base="xsd:string">
                                    <xsd:maxLength value="50"/>
                                </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="AddressLine1">
                          <xsd:simpleType>
                            <xsd:restriction base="xsd:string">
                                    <xsd:maxLength value="200"/>
                                </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="AddressCity">
                          <xsd:simpleType>
                            <xsd:restriction base="xsd:string">
                                    <xsd:maxLength value="100"/>
                                </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="AddressState">
                          <xsd:simpleType>
                            <xsd:restriction base="xsd:string">
                              <xsd:maxLength value="2"/>
                            </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="AddressZip">
                          <xsd:simpleType>
                            <xsd:restriction base="xsd:string">
                                    <xsd:maxLength value="10"/>
                                </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="AddressCountry">
                          <xsd:simpleType>
                            <xsd:restriction base="xsd:string">
                              <xsd:pattern value="UNITED STATES|CANADA"/>
                            </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="Method">
                          <xsd:simpleType>
                            <xsd:restriction base="xsd:string">
                              <xsd:pattern value="EMAIL|WEBSITE"/>
                            </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="Value">
                          <xsd:simpleType>
                            <xsd:restriction base="xsd:string">
                                    <xsd:maxLength value="256"/>
                                </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                      </xsd:sequence>
                    </xsd:complexType>
                  </xsd:element>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
</xs:schema>

Example XML document:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sub="http://api.intelispend.com/SubmitFileRequest.xsd">
   <soapenv:Header/>
   <soapenv:Body>
      <sub:SubmitFileRequest>
         <sub:UserName>egift</sub:UserName>
         <sub:Password>xxxxxx</sub:Password>
         <sub:Data>
            <Product MultipleShip="False">
              <Order_Item>
                <Demo_First_Name>John</Demo_First_Name>
                <Demo_Last_Name>Doe</Demo_Last_Name>
                <Internet_Element_1>[email protected]</Internet_Element_1>
                <Transaction_Amount>25</Transaction_Amount>
                <Content_Provider_Code>CrackerBarrel50</Content_Provider_Code>
              </Order_Item>
            </Product>
        </sub:Data>
         <sub:FileFormat>1</sub:FileFormat>
         <sub:FileType>1</sub:FileType>
         <sub:QuoteID>12345678</sub:QuoteID>
         <sub:EmailContent>
             <sub:SenderName>SenderNameTest</sub:SenderName>
             <sub:SenderEmail>[email protected]</sub:SenderEmail>
             <sub:Subject>SubjectTest</sub:Subject>
             <sub:EmailMessage>EmailMessageTest</sub:EmailMessage>
             <sub:EmailClosingName>EmailClosingNameTest</sub:EmailClosingName>
             <sub:UnsubscribeData>
                <sub:CompanyName>YourCompanyName</sub:CompanyName>
                <sub:AddressLine1>1400 S Hwy Dr.</sub:AddressLine1>
                <sub:AddressCity>Fenton</sub:AddressCity>
                <sub:AddressState>MO</sub:AddressState>
                <sub:AddressZip>63099</sub:AddressZip>
                <sub:AddressCountry>UNITED STATES</sub:AddressCountry>
                <sub:Method>WEBSITE</sub:Method>
                <sub:Value>ValueTestWEB</sub:Value>
             </sub:UnsubscribeData>
         </sub:EmailContent>
      </sub:SubmitFileRequest>
   </soapenv:Body>
</soapenv:Envelope>

Reward cards are issued in connection with a loyalty, award or promotion program.


Did this page help you?