LoyaltyProgramManager


Click here for a complete list of operations.

AddNewLoyaltyProgam

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 /KMWARE.ZMA.Admin.OrganizationMgmt.Host/LoyaltyProgramManager.asmx HTTP/1.1
Host: ssa.fp360.us
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://KMWare.ZMA.Admin.Organization.ServiceContracts/2007/06/AddNewLoyaltyProgram"

<?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>
    <AddNewLoyaltyProgam xmlns="http://KMWare.ZMA.Admin.Organization.ServiceContracts/2007/06">
      <AddNewLoyaltyProgramRequest xmlns="http://KMWare.ZMA.Admin.Organization.DataTypes/2007/06">
        <LoyaltyProgramItemDetail>
          <LoyaltyProgramItemDetail>
            <OrganizationUnitId>short</OrganizationUnitId>
            <LoyaltyProgramCode>string</LoyaltyProgramCode>
            <LineId>int</LineId>
            <ModuleCode>string</ModuleCode>
            <Category>string</Category>
            <ItemNumber>string</ItemNumber>
            <VisitorTypeCode>string</VisitorTypeCode>
            <PointPerItem>int</PointPerItem>
            <AddedPointDate>string</AddedPointDate>
            <EffectiveFromDate>dateTime</EffectiveFromDate>
            <EffectiveToDate>dateTime</EffectiveToDate>
            <IsActive>string</IsActive>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
          </LoyaltyProgramItemDetail>
          <LoyaltyProgramItemDetail>
            <OrganizationUnitId>short</OrganizationUnitId>
            <LoyaltyProgramCode>string</LoyaltyProgramCode>
            <LineId>int</LineId>
            <ModuleCode>string</ModuleCode>
            <Category>string</Category>
            <ItemNumber>string</ItemNumber>
            <VisitorTypeCode>string</VisitorTypeCode>
            <PointPerItem>int</PointPerItem>
            <AddedPointDate>string</AddedPointDate>
            <EffectiveFromDate>dateTime</EffectiveFromDate>
            <EffectiveToDate>dateTime</EffectiveToDate>
            <IsActive>string</IsActive>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
          </LoyaltyProgramItemDetail>
        </LoyaltyProgramItemDetail>
        <OrganizationUnitId>short</OrganizationUnitId>
        <LoyaltyProgramCode>string</LoyaltyProgramCode>
        <Description>string</Description>
        <RedemptionMinimumPoint>int</RedemptionMinimumPoint>
        <RedemptionModule>string</RedemptionModule>
        <RedemptionMode>string</RedemptionMode>
        <UpdateId>string</UpdateId>
        <UpdateDate>dateTime</UpdateDate>
        <ExpiryDate>dateTime</ExpiryDate>
      </AddNewLoyaltyProgramRequest>
    </AddNewLoyaltyProgam>
  </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>
    <AddNewLoyaltyProgamResponse xmlns="http://KMWare.ZMA.Admin.Organization.ServiceContracts/2007/06">
      <AddNewLoyaltyProgamResult>string</AddNewLoyaltyProgamResult>
    </AddNewLoyaltyProgamResponse>
  </soap:Body>
</soap:Envelope>