TransactionServices


Click here for a complete list of operations.

GetCouponDiscount

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
couponNumber:

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 /TransactionServices.asmx HTTP/1.1
Host: aspthemetest14.parafait1.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://semnox.com/GetCouponDiscount"

<?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>
    <GetCouponDiscount xmlns="http://semnox.com/">
      <couponNumber>string</couponNumber>
    </GetCouponDiscount>
  </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>
    <GetCouponDiscountResponse xmlns="http://semnox.com/">
      <GetCouponDiscountResult>
        <DiscountId>int</DiscountId>
        <DiscountName>string</DiscountName>
        <AutomaticApply>string</AutomaticApply>
        <DiscountPercentage>double</DiscountPercentage>
        <DiscountAmount>double</DiscountAmount>
        <MinimumSaleAmount>double</MinimumSaleAmount>
        <MinimumCredits>double</MinimumCredits>
        <ScheduleId>int</ScheduleId>
        <TransactionProfileId>int</TransactionProfileId>
        <DisplayInPOS>string</DisplayInPOS>
        <IsActive>boolean</IsActive>
        <SortOrder>int</SortOrder>
        <ManagerApprovalRequired>string</ManagerApprovalRequired>
        <VariableDiscounts>string</VariableDiscounts>
        <CouponMandatory>string</CouponMandatory>
        <RemarksMandatory>string</RemarksMandatory>
        <DiscountCriteriaLines>boolean</DiscountCriteriaLines>
        <AllowMultipleApplication>boolean</AllowMultipleApplication>
        <ApplicationLimit>int</ApplicationLimit>
        <IsBookingDateDiscount>boolean</IsBookingDateDiscount>
        <MinBookingAdvanceDays>int</MinBookingAdvanceDays>
        <InternetKey>int</InternetKey>
        <DiscountType>string</DiscountType>
        <LastUpdatedDate>dateTime</LastUpdatedDate>
        <LastUpdatedBy>string</LastUpdatedBy>
        <SiteId>int</SiteId>
        <MasterEntityId>int</MasterEntityId>
        <Guid>string</Guid>
        <CreatedBy>string</CreatedBy>
        <CreationDate>dateTime</CreationDate>
        <IsChanged>boolean</IsChanged>
        <DiscountedGamesDTOList>
          <DiscountedGamesDTO>
            <Id>int</Id>
            <DiscountId>int</DiscountId>
            <GameId>int</GameId>
            <Discounted>string</Discounted>
            <IsActive>boolean</IsActive>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <Guid>string</Guid>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdateDate>dateTime</LastUpdateDate>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <IsChanged>boolean</IsChanged>
          </DiscountedGamesDTO>
          <DiscountedGamesDTO>
            <Id>int</Id>
            <DiscountId>int</DiscountId>
            <GameId>int</GameId>
            <Discounted>string</Discounted>
            <IsActive>boolean</IsActive>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <Guid>string</Guid>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdateDate>dateTime</LastUpdateDate>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <IsChanged>boolean</IsChanged>
          </DiscountedGamesDTO>
        </DiscountedGamesDTOList>
        <DiscountPurchaseCriteriaDTOList>
          <DiscountPurchaseCriteriaDTO>
            <CriteriaId>int</CriteriaId>
            <DiscountId>int</DiscountId>
            <ProductId>int</ProductId>
            <CategoryId>int</CategoryId>
            <ProductGroupId>int</ProductGroupId>
            <MinQuantity>int</MinQuantity>
            <IsActive>boolean</IsActive>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdatedDate>dateTime</LastUpdatedDate>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <Guid>string</Guid>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <IsChanged>boolean</IsChanged>
          </DiscountPurchaseCriteriaDTO>
          <DiscountPurchaseCriteriaDTO>
            <CriteriaId>int</CriteriaId>
            <DiscountId>int</DiscountId>
            <ProductId>int</ProductId>
            <CategoryId>int</CategoryId>
            <ProductGroupId>int</ProductGroupId>
            <MinQuantity>int</MinQuantity>
            <IsActive>boolean</IsActive>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdatedDate>dateTime</LastUpdatedDate>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <Guid>string</Guid>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <IsChanged>boolean</IsChanged>
          </DiscountPurchaseCriteriaDTO>
        </DiscountPurchaseCriteriaDTOList>
        <DiscountedProductsDTOList>
          <DiscountedProductsDTO>
            <Id>int</Id>
            <DiscountId>int</DiscountId>
            <CategoryId>int</CategoryId>
            <ProductGroupId>int</ProductGroupId>
            <ProductId>int</ProductId>
            <Discounted>string</Discounted>
            <Quantity>int</Quantity>
            <DiscountPercentage>double</DiscountPercentage>
            <DiscountAmount>double</DiscountAmount>
            <DiscountedPrice>decimal</DiscountedPrice>
            <IsActive>boolean</IsActive>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <Guid>string</Guid>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdateDate>dateTime</LastUpdateDate>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <IsChanged>boolean</IsChanged>
          </DiscountedProductsDTO>
          <DiscountedProductsDTO>
            <Id>int</Id>
            <DiscountId>int</DiscountId>
            <CategoryId>int</CategoryId>
            <ProductGroupId>int</ProductGroupId>
            <ProductId>int</ProductId>
            <Discounted>string</Discounted>
            <Quantity>int</Quantity>
            <DiscountPercentage>double</DiscountPercentage>
            <DiscountAmount>double</DiscountAmount>
            <DiscountedPrice>decimal</DiscountedPrice>
            <IsActive>boolean</IsActive>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <Guid>string</Guid>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdateDate>dateTime</LastUpdateDate>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <IsChanged>boolean</IsChanged>
          </DiscountedProductsDTO>
        </DiscountedProductsDTOList>
        <ScheduleCalendarDTO>
          <ScheduleId>int</ScheduleId>
          <ScheduleName>string</ScheduleName>
          <ScheduleTime>dateTime</ScheduleTime>
          <ScheduleEndDate>dateTime</ScheduleEndDate>
          <RecurFlag>string</RecurFlag>
          <RecurFrequency>string</RecurFrequency>
          <RecurEndDate>dateTime</RecurEndDate>
          <RecurType>string</RecurType>
          <IsActive>boolean</IsActive>
          <CreatedBy>string</CreatedBy>
          <CreationDate>dateTime</CreationDate>
          <LastUpdatedBy>string</LastUpdatedBy>
          <LastupdateDate>dateTime</LastupdateDate>
          <Guid>string</Guid>
          <Siteid>int</Siteid>
          <SynchStatus>boolean</SynchStatus>
          <MasterEntityId>int</MasterEntityId>
          <JobScheduleDTOList>
            <JobScheduleDTO xsi:nil="true" />
            <JobScheduleDTO xsi:nil="true" />
          </JobScheduleDTOList>
          <ScheduleCalendarExclusionDTOList>
            <ScheduleCalendarExclusionDTO xsi:nil="true" />
            <ScheduleCalendarExclusionDTO xsi:nil="true" />
          </ScheduleCalendarExclusionDTOList>
          <IsValidateRequired>boolean</IsValidateRequired>
          <IsChanged>boolean</IsChanged>
        </ScheduleCalendarDTO>
      </GetCouponDiscountResult>
    </GetCouponDiscountResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /TransactionServices.asmx HTTP/1.1
Host: aspthemetest14.parafait1.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetCouponDiscount xmlns="http://semnox.com/">
      <couponNumber>string</couponNumber>
    </GetCouponDiscount>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetCouponDiscountResponse xmlns="http://semnox.com/">
      <GetCouponDiscountResult>
        <DiscountId>int</DiscountId>
        <DiscountName>string</DiscountName>
        <AutomaticApply>string</AutomaticApply>
        <DiscountPercentage>double</DiscountPercentage>
        <DiscountAmount>double</DiscountAmount>
        <MinimumSaleAmount>double</MinimumSaleAmount>
        <MinimumCredits>double</MinimumCredits>
        <ScheduleId>int</ScheduleId>
        <TransactionProfileId>int</TransactionProfileId>
        <DisplayInPOS>string</DisplayInPOS>
        <IsActive>boolean</IsActive>
        <SortOrder>int</SortOrder>
        <ManagerApprovalRequired>string</ManagerApprovalRequired>
        <VariableDiscounts>string</VariableDiscounts>
        <CouponMandatory>string</CouponMandatory>
        <RemarksMandatory>string</RemarksMandatory>
        <DiscountCriteriaLines>boolean</DiscountCriteriaLines>
        <AllowMultipleApplication>boolean</AllowMultipleApplication>
        <ApplicationLimit>int</ApplicationLimit>
        <IsBookingDateDiscount>boolean</IsBookingDateDiscount>
        <MinBookingAdvanceDays>int</MinBookingAdvanceDays>
        <InternetKey>int</InternetKey>
        <DiscountType>string</DiscountType>
        <LastUpdatedDate>dateTime</LastUpdatedDate>
        <LastUpdatedBy>string</LastUpdatedBy>
        <SiteId>int</SiteId>
        <MasterEntityId>int</MasterEntityId>
        <Guid>string</Guid>
        <CreatedBy>string</CreatedBy>
        <CreationDate>dateTime</CreationDate>
        <IsChanged>boolean</IsChanged>
        <DiscountedGamesDTOList>
          <DiscountedGamesDTO>
            <Id>int</Id>
            <DiscountId>int</DiscountId>
            <GameId>int</GameId>
            <Discounted>string</Discounted>
            <IsActive>boolean</IsActive>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <Guid>string</Guid>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdateDate>dateTime</LastUpdateDate>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <IsChanged>boolean</IsChanged>
          </DiscountedGamesDTO>
          <DiscountedGamesDTO>
            <Id>int</Id>
            <DiscountId>int</DiscountId>
            <GameId>int</GameId>
            <Discounted>string</Discounted>
            <IsActive>boolean</IsActive>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <Guid>string</Guid>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdateDate>dateTime</LastUpdateDate>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <IsChanged>boolean</IsChanged>
          </DiscountedGamesDTO>
        </DiscountedGamesDTOList>
        <DiscountPurchaseCriteriaDTOList>
          <DiscountPurchaseCriteriaDTO>
            <CriteriaId>int</CriteriaId>
            <DiscountId>int</DiscountId>
            <ProductId>int</ProductId>
            <CategoryId>int</CategoryId>
            <ProductGroupId>int</ProductGroupId>
            <MinQuantity>int</MinQuantity>
            <IsActive>boolean</IsActive>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdatedDate>dateTime</LastUpdatedDate>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <Guid>string</Guid>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <IsChanged>boolean</IsChanged>
          </DiscountPurchaseCriteriaDTO>
          <DiscountPurchaseCriteriaDTO>
            <CriteriaId>int</CriteriaId>
            <DiscountId>int</DiscountId>
            <ProductId>int</ProductId>
            <CategoryId>int</CategoryId>
            <ProductGroupId>int</ProductGroupId>
            <MinQuantity>int</MinQuantity>
            <IsActive>boolean</IsActive>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdatedDate>dateTime</LastUpdatedDate>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <Guid>string</Guid>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <IsChanged>boolean</IsChanged>
          </DiscountPurchaseCriteriaDTO>
        </DiscountPurchaseCriteriaDTOList>
        <DiscountedProductsDTOList>
          <DiscountedProductsDTO>
            <Id>int</Id>
            <DiscountId>int</DiscountId>
            <CategoryId>int</CategoryId>
            <ProductGroupId>int</ProductGroupId>
            <ProductId>int</ProductId>
            <Discounted>string</Discounted>
            <Quantity>int</Quantity>
            <DiscountPercentage>double</DiscountPercentage>
            <DiscountAmount>double</DiscountAmount>
            <DiscountedPrice>decimal</DiscountedPrice>
            <IsActive>boolean</IsActive>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <Guid>string</Guid>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdateDate>dateTime</LastUpdateDate>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <IsChanged>boolean</IsChanged>
          </DiscountedProductsDTO>
          <DiscountedProductsDTO>
            <Id>int</Id>
            <DiscountId>int</DiscountId>
            <CategoryId>int</CategoryId>
            <ProductGroupId>int</ProductGroupId>
            <ProductId>int</ProductId>
            <Discounted>string</Discounted>
            <Quantity>int</Quantity>
            <DiscountPercentage>double</DiscountPercentage>
            <DiscountAmount>double</DiscountAmount>
            <DiscountedPrice>decimal</DiscountedPrice>
            <IsActive>boolean</IsActive>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <Guid>string</Guid>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdateDate>dateTime</LastUpdateDate>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <IsChanged>boolean</IsChanged>
          </DiscountedProductsDTO>
        </DiscountedProductsDTOList>
        <ScheduleCalendarDTO>
          <ScheduleId>int</ScheduleId>
          <ScheduleName>string</ScheduleName>
          <ScheduleTime>dateTime</ScheduleTime>
          <ScheduleEndDate>dateTime</ScheduleEndDate>
          <RecurFlag>string</RecurFlag>
          <RecurFrequency>string</RecurFrequency>
          <RecurEndDate>dateTime</RecurEndDate>
          <RecurType>string</RecurType>
          <IsActive>boolean</IsActive>
          <CreatedBy>string</CreatedBy>
          <CreationDate>dateTime</CreationDate>
          <LastUpdatedBy>string</LastUpdatedBy>
          <LastupdateDate>dateTime</LastupdateDate>
          <Guid>string</Guid>
          <Siteid>int</Siteid>
          <SynchStatus>boolean</SynchStatus>
          <MasterEntityId>int</MasterEntityId>
          <JobScheduleDTOList>
            <JobScheduleDTO xsi:nil="true" />
            <JobScheduleDTO xsi:nil="true" />
          </JobScheduleDTOList>
          <ScheduleCalendarExclusionDTOList>
            <ScheduleCalendarExclusionDTO xsi:nil="true" />
            <ScheduleCalendarExclusionDTO xsi:nil="true" />
          </ScheduleCalendarExclusionDTOList>
          <IsValidateRequired>boolean</IsValidateRequired>
          <IsChanged>boolean</IsChanged>
        </ScheduleCalendarDTO>
      </GetCouponDiscountResult>
    </GetCouponDiscountResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /TransactionServices.asmx/GetCouponDiscount?couponNumber=string HTTP/1.1
Host: aspthemetest14.parafait1.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DiscountsDTO xmlns="http://semnox.com/">
  <DiscountId>int</DiscountId>
  <DiscountName>string</DiscountName>
  <AutomaticApply>string</AutomaticApply>
  <DiscountPercentage>double</DiscountPercentage>
  <DiscountAmount>double</DiscountAmount>
  <MinimumSaleAmount>double</MinimumSaleAmount>
  <MinimumCredits>double</MinimumCredits>
  <ScheduleId>int</ScheduleId>
  <TransactionProfileId>int</TransactionProfileId>
  <DisplayInPOS>string</DisplayInPOS>
  <IsActive>boolean</IsActive>
  <SortOrder>int</SortOrder>
  <ManagerApprovalRequired>string</ManagerApprovalRequired>
  <VariableDiscounts>string</VariableDiscounts>
  <CouponMandatory>string</CouponMandatory>
  <RemarksMandatory>string</RemarksMandatory>
  <DiscountCriteriaLines>boolean</DiscountCriteriaLines>
  <AllowMultipleApplication>boolean</AllowMultipleApplication>
  <ApplicationLimit>int</ApplicationLimit>
  <IsBookingDateDiscount>boolean</IsBookingDateDiscount>
  <MinBookingAdvanceDays>int</MinBookingAdvanceDays>
  <InternetKey>int</InternetKey>
  <DiscountType>string</DiscountType>
  <LastUpdatedDate>dateTime</LastUpdatedDate>
  <LastUpdatedBy>string</LastUpdatedBy>
  <SiteId>int</SiteId>
  <MasterEntityId>int</MasterEntityId>
  <Guid>string</Guid>
  <CreatedBy>string</CreatedBy>
  <CreationDate>dateTime</CreationDate>
  <IsChanged>boolean</IsChanged>
  <DiscountedGamesDTOList>
    <DiscountedGamesDTO>
      <Id>int</Id>
      <DiscountId>int</DiscountId>
      <GameId>int</GameId>
      <Discounted>string</Discounted>
      <IsActive>boolean</IsActive>
      <SiteId>int</SiteId>
      <MasterEntityId>int</MasterEntityId>
      <Guid>string</Guid>
      <LastUpdatedBy>string</LastUpdatedBy>
      <LastUpdateDate>dateTime</LastUpdateDate>
      <CreatedBy>string</CreatedBy>
      <CreationDate>dateTime</CreationDate>
      <IsChanged>boolean</IsChanged>
    </DiscountedGamesDTO>
    <DiscountedGamesDTO>
      <Id>int</Id>
      <DiscountId>int</DiscountId>
      <GameId>int</GameId>
      <Discounted>string</Discounted>
      <IsActive>boolean</IsActive>
      <SiteId>int</SiteId>
      <MasterEntityId>int</MasterEntityId>
      <Guid>string</Guid>
      <LastUpdatedBy>string</LastUpdatedBy>
      <LastUpdateDate>dateTime</LastUpdateDate>
      <CreatedBy>string</CreatedBy>
      <CreationDate>dateTime</CreationDate>
      <IsChanged>boolean</IsChanged>
    </DiscountedGamesDTO>
  </DiscountedGamesDTOList>
  <DiscountPurchaseCriteriaDTOList>
    <DiscountPurchaseCriteriaDTO>
      <CriteriaId>int</CriteriaId>
      <DiscountId>int</DiscountId>
      <ProductId>int</ProductId>
      <CategoryId>int</CategoryId>
      <ProductGroupId>int</ProductGroupId>
      <MinQuantity>int</MinQuantity>
      <IsActive>boolean</IsActive>
      <LastUpdatedBy>string</LastUpdatedBy>
      <LastUpdatedDate>dateTime</LastUpdatedDate>
      <SiteId>int</SiteId>
      <MasterEntityId>int</MasterEntityId>
      <Guid>string</Guid>
      <CreatedBy>string</CreatedBy>
      <CreationDate>dateTime</CreationDate>
      <IsChanged>boolean</IsChanged>
    </DiscountPurchaseCriteriaDTO>
    <DiscountPurchaseCriteriaDTO>
      <CriteriaId>int</CriteriaId>
      <DiscountId>int</DiscountId>
      <ProductId>int</ProductId>
      <CategoryId>int</CategoryId>
      <ProductGroupId>int</ProductGroupId>
      <MinQuantity>int</MinQuantity>
      <IsActive>boolean</IsActive>
      <LastUpdatedBy>string</LastUpdatedBy>
      <LastUpdatedDate>dateTime</LastUpdatedDate>
      <SiteId>int</SiteId>
      <MasterEntityId>int</MasterEntityId>
      <Guid>string</Guid>
      <CreatedBy>string</CreatedBy>
      <CreationDate>dateTime</CreationDate>
      <IsChanged>boolean</IsChanged>
    </DiscountPurchaseCriteriaDTO>
  </DiscountPurchaseCriteriaDTOList>
  <DiscountedProductsDTOList>
    <DiscountedProductsDTO>
      <Id>int</Id>
      <DiscountId>int</DiscountId>
      <CategoryId>int</CategoryId>
      <ProductGroupId>int</ProductGroupId>
      <ProductId>int</ProductId>
      <Discounted>string</Discounted>
      <Quantity>int</Quantity>
      <DiscountPercentage>double</DiscountPercentage>
      <DiscountAmount>double</DiscountAmount>
      <DiscountedPrice>decimal</DiscountedPrice>
      <IsActive>boolean</IsActive>
      <SiteId>int</SiteId>
      <MasterEntityId>int</MasterEntityId>
      <Guid>string</Guid>
      <LastUpdatedBy>string</LastUpdatedBy>
      <LastUpdateDate>dateTime</LastUpdateDate>
      <CreatedBy>string</CreatedBy>
      <CreationDate>dateTime</CreationDate>
      <IsChanged>boolean</IsChanged>
    </DiscountedProductsDTO>
    <DiscountedProductsDTO>
      <Id>int</Id>
      <DiscountId>int</DiscountId>
      <CategoryId>int</CategoryId>
      <ProductGroupId>int</ProductGroupId>
      <ProductId>int</ProductId>
      <Discounted>string</Discounted>
      <Quantity>int</Quantity>
      <DiscountPercentage>double</DiscountPercentage>
      <DiscountAmount>double</DiscountAmount>
      <DiscountedPrice>decimal</DiscountedPrice>
      <IsActive>boolean</IsActive>
      <SiteId>int</SiteId>
      <MasterEntityId>int</MasterEntityId>
      <Guid>string</Guid>
      <LastUpdatedBy>string</LastUpdatedBy>
      <LastUpdateDate>dateTime</LastUpdateDate>
      <CreatedBy>string</CreatedBy>
      <CreationDate>dateTime</CreationDate>
      <IsChanged>boolean</IsChanged>
    </DiscountedProductsDTO>
  </DiscountedProductsDTOList>
  <ScheduleCalendarDTO>
    <ScheduleId>int</ScheduleId>
    <ScheduleName>string</ScheduleName>
    <ScheduleTime>dateTime</ScheduleTime>
    <ScheduleEndDate>dateTime</ScheduleEndDate>
    <RecurFlag>string</RecurFlag>
    <RecurFrequency>string</RecurFrequency>
    <RecurEndDate>dateTime</RecurEndDate>
    <RecurType>string</RecurType>
    <IsActive>boolean</IsActive>
    <CreatedBy>string</CreatedBy>
    <CreationDate>dateTime</CreationDate>
    <LastUpdatedBy>string</LastUpdatedBy>
    <LastupdateDate>dateTime</LastupdateDate>
    <Guid>string</Guid>
    <Siteid>int</Siteid>
    <SynchStatus>boolean</SynchStatus>
    <MasterEntityId>int</MasterEntityId>
    <JobScheduleDTOList>
      <JobScheduleDTO>
        <JobScheduleId>int</JobScheduleId>
        <ScheduleId>int</ScheduleId>
        <UserId>int</UserId>
        <DepartmentId>int</DepartmentId>
        <DurationToComplete>int</DurationToComplete>
        <MaxValueJobCreated>dateTime</MaxValueJobCreated>
        <IsActive>boolean</IsActive>
        <CreatedBy>string</CreatedBy>
        <CreationDate>dateTime</CreationDate>
        <LastUpdatedBy>string</LastUpdatedBy>
        <LastupdatedDate>dateTime</LastupdatedDate>
        <Guid>string</Guid>
        <Siteid>int</Siteid>
        <SynchStatus>boolean</SynchStatus>
        <MasterEntityId>int</MasterEntityId>
        <JobScheduleTasksDTOList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <IsChanged>boolean</IsChanged>
      </JobScheduleDTO>
      <JobScheduleDTO>
        <JobScheduleId>int</JobScheduleId>
        <ScheduleId>int</ScheduleId>
        <UserId>int</UserId>
        <DepartmentId>int</DepartmentId>
        <DurationToComplete>int</DurationToComplete>
        <MaxValueJobCreated>dateTime</MaxValueJobCreated>
        <IsActive>boolean</IsActive>
        <CreatedBy>string</CreatedBy>
        <CreationDate>dateTime</CreationDate>
        <LastUpdatedBy>string</LastUpdatedBy>
        <LastupdatedDate>dateTime</LastupdatedDate>
        <Guid>string</Guid>
        <Siteid>int</Siteid>
        <SynchStatus>boolean</SynchStatus>
        <MasterEntityId>int</MasterEntityId>
        <JobScheduleTasksDTOList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <IsChanged>boolean</IsChanged>
      </JobScheduleDTO>
    </JobScheduleDTOList>
    <ScheduleCalendarExclusionDTOList>
      <ScheduleCalendarExclusionDTO>
        <ScheduleExclusionId>int</ScheduleExclusionId>
        <ScheduleId>int</ScheduleId>
        <ExclusionDate>dateTime</ExclusionDate>
        <Day>int</Day>
        <IncludeDate>boolean</IncludeDate>
        <IsActive>boolean</IsActive>
        <CreatedBy>string</CreatedBy>
        <CreationDate>dateTime</CreationDate>
        <LastUpdatedBy>string</LastUpdatedBy>
        <LastupdateDate>dateTime</LastupdateDate>
        <Guid>string</Guid>
        <Siteid>int</Siteid>
        <SynchStatus>boolean</SynchStatus>
        <MasterEntityId>int</MasterEntityId>
        <IsChanged>boolean</IsChanged>
      </ScheduleCalendarExclusionDTO>
      <ScheduleCalendarExclusionDTO>
        <ScheduleExclusionId>int</ScheduleExclusionId>
        <ScheduleId>int</ScheduleId>
        <ExclusionDate>dateTime</ExclusionDate>
        <Day>int</Day>
        <IncludeDate>boolean</IncludeDate>
        <IsActive>boolean</IsActive>
        <CreatedBy>string</CreatedBy>
        <CreationDate>dateTime</CreationDate>
        <LastUpdatedBy>string</LastUpdatedBy>
        <LastupdateDate>dateTime</LastupdateDate>
        <Guid>string</Guid>
        <Siteid>int</Siteid>
        <SynchStatus>boolean</SynchStatus>
        <MasterEntityId>int</MasterEntityId>
        <IsChanged>boolean</IsChanged>
      </ScheduleCalendarExclusionDTO>
    </ScheduleCalendarExclusionDTOList>
    <IsValidateRequired>boolean</IsValidateRequired>
    <IsChanged>boolean</IsChanged>
  </ScheduleCalendarDTO>
</DiscountsDTO>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /TransactionServices.asmx/GetCouponDiscount HTTP/1.1
Host: aspthemetest14.parafait1.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

couponNumber=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DiscountsDTO xmlns="http://semnox.com/">
  <DiscountId>int</DiscountId>
  <DiscountName>string</DiscountName>
  <AutomaticApply>string</AutomaticApply>
  <DiscountPercentage>double</DiscountPercentage>
  <DiscountAmount>double</DiscountAmount>
  <MinimumSaleAmount>double</MinimumSaleAmount>
  <MinimumCredits>double</MinimumCredits>
  <ScheduleId>int</ScheduleId>
  <TransactionProfileId>int</TransactionProfileId>
  <DisplayInPOS>string</DisplayInPOS>
  <IsActive>boolean</IsActive>
  <SortOrder>int</SortOrder>
  <ManagerApprovalRequired>string</ManagerApprovalRequired>
  <VariableDiscounts>string</VariableDiscounts>
  <CouponMandatory>string</CouponMandatory>
  <RemarksMandatory>string</RemarksMandatory>
  <DiscountCriteriaLines>boolean</DiscountCriteriaLines>
  <AllowMultipleApplication>boolean</AllowMultipleApplication>
  <ApplicationLimit>int</ApplicationLimit>
  <IsBookingDateDiscount>boolean</IsBookingDateDiscount>
  <MinBookingAdvanceDays>int</MinBookingAdvanceDays>
  <InternetKey>int</InternetKey>
  <DiscountType>string</DiscountType>
  <LastUpdatedDate>dateTime</LastUpdatedDate>
  <LastUpdatedBy>string</LastUpdatedBy>
  <SiteId>int</SiteId>
  <MasterEntityId>int</MasterEntityId>
  <Guid>string</Guid>
  <CreatedBy>string</CreatedBy>
  <CreationDate>dateTime</CreationDate>
  <IsChanged>boolean</IsChanged>
  <DiscountedGamesDTOList>
    <DiscountedGamesDTO>
      <Id>int</Id>
      <DiscountId>int</DiscountId>
      <GameId>int</GameId>
      <Discounted>string</Discounted>
      <IsActive>boolean</IsActive>
      <SiteId>int</SiteId>
      <MasterEntityId>int</MasterEntityId>
      <Guid>string</Guid>
      <LastUpdatedBy>string</LastUpdatedBy>
      <LastUpdateDate>dateTime</LastUpdateDate>
      <CreatedBy>string</CreatedBy>
      <CreationDate>dateTime</CreationDate>
      <IsChanged>boolean</IsChanged>
    </DiscountedGamesDTO>
    <DiscountedGamesDTO>
      <Id>int</Id>
      <DiscountId>int</DiscountId>
      <GameId>int</GameId>
      <Discounted>string</Discounted>
      <IsActive>boolean</IsActive>
      <SiteId>int</SiteId>
      <MasterEntityId>int</MasterEntityId>
      <Guid>string</Guid>
      <LastUpdatedBy>string</LastUpdatedBy>
      <LastUpdateDate>dateTime</LastUpdateDate>
      <CreatedBy>string</CreatedBy>
      <CreationDate>dateTime</CreationDate>
      <IsChanged>boolean</IsChanged>
    </DiscountedGamesDTO>
  </DiscountedGamesDTOList>
  <DiscountPurchaseCriteriaDTOList>
    <DiscountPurchaseCriteriaDTO>
      <CriteriaId>int</CriteriaId>
      <DiscountId>int</DiscountId>
      <ProductId>int</ProductId>
      <CategoryId>int</CategoryId>
      <ProductGroupId>int</ProductGroupId>
      <MinQuantity>int</MinQuantity>
      <IsActive>boolean</IsActive>
      <LastUpdatedBy>string</LastUpdatedBy>
      <LastUpdatedDate>dateTime</LastUpdatedDate>
      <SiteId>int</SiteId>
      <MasterEntityId>int</MasterEntityId>
      <Guid>string</Guid>
      <CreatedBy>string</CreatedBy>
      <CreationDate>dateTime</CreationDate>
      <IsChanged>boolean</IsChanged>
    </DiscountPurchaseCriteriaDTO>
    <DiscountPurchaseCriteriaDTO>
      <CriteriaId>int</CriteriaId>
      <DiscountId>int</DiscountId>
      <ProductId>int</ProductId>
      <CategoryId>int</CategoryId>
      <ProductGroupId>int</ProductGroupId>
      <MinQuantity>int</MinQuantity>
      <IsActive>boolean</IsActive>
      <LastUpdatedBy>string</LastUpdatedBy>
      <LastUpdatedDate>dateTime</LastUpdatedDate>
      <SiteId>int</SiteId>
      <MasterEntityId>int</MasterEntityId>
      <Guid>string</Guid>
      <CreatedBy>string</CreatedBy>
      <CreationDate>dateTime</CreationDate>
      <IsChanged>boolean</IsChanged>
    </DiscountPurchaseCriteriaDTO>
  </DiscountPurchaseCriteriaDTOList>
  <DiscountedProductsDTOList>
    <DiscountedProductsDTO>
      <Id>int</Id>
      <DiscountId>int</DiscountId>
      <CategoryId>int</CategoryId>
      <ProductGroupId>int</ProductGroupId>
      <ProductId>int</ProductId>
      <Discounted>string</Discounted>
      <Quantity>int</Quantity>
      <DiscountPercentage>double</DiscountPercentage>
      <DiscountAmount>double</DiscountAmount>
      <DiscountedPrice>decimal</DiscountedPrice>
      <IsActive>boolean</IsActive>
      <SiteId>int</SiteId>
      <MasterEntityId>int</MasterEntityId>
      <Guid>string</Guid>
      <LastUpdatedBy>string</LastUpdatedBy>
      <LastUpdateDate>dateTime</LastUpdateDate>
      <CreatedBy>string</CreatedBy>
      <CreationDate>dateTime</CreationDate>
      <IsChanged>boolean</IsChanged>
    </DiscountedProductsDTO>
    <DiscountedProductsDTO>
      <Id>int</Id>
      <DiscountId>int</DiscountId>
      <CategoryId>int</CategoryId>
      <ProductGroupId>int</ProductGroupId>
      <ProductId>int</ProductId>
      <Discounted>string</Discounted>
      <Quantity>int</Quantity>
      <DiscountPercentage>double</DiscountPercentage>
      <DiscountAmount>double</DiscountAmount>
      <DiscountedPrice>decimal</DiscountedPrice>
      <IsActive>boolean</IsActive>
      <SiteId>int</SiteId>
      <MasterEntityId>int</MasterEntityId>
      <Guid>string</Guid>
      <LastUpdatedBy>string</LastUpdatedBy>
      <LastUpdateDate>dateTime</LastUpdateDate>
      <CreatedBy>string</CreatedBy>
      <CreationDate>dateTime</CreationDate>
      <IsChanged>boolean</IsChanged>
    </DiscountedProductsDTO>
  </DiscountedProductsDTOList>
  <ScheduleCalendarDTO>
    <ScheduleId>int</ScheduleId>
    <ScheduleName>string</ScheduleName>
    <ScheduleTime>dateTime</ScheduleTime>
    <ScheduleEndDate>dateTime</ScheduleEndDate>
    <RecurFlag>string</RecurFlag>
    <RecurFrequency>string</RecurFrequency>
    <RecurEndDate>dateTime</RecurEndDate>
    <RecurType>string</RecurType>
    <IsActive>boolean</IsActive>
    <CreatedBy>string</CreatedBy>
    <CreationDate>dateTime</CreationDate>
    <LastUpdatedBy>string</LastUpdatedBy>
    <LastupdateDate>dateTime</LastupdateDate>
    <Guid>string</Guid>
    <Siteid>int</Siteid>
    <SynchStatus>boolean</SynchStatus>
    <MasterEntityId>int</MasterEntityId>
    <JobScheduleDTOList>
      <JobScheduleDTO>
        <JobScheduleId>int</JobScheduleId>
        <ScheduleId>int</ScheduleId>
        <UserId>int</UserId>
        <DepartmentId>int</DepartmentId>
        <DurationToComplete>int</DurationToComplete>
        <MaxValueJobCreated>dateTime</MaxValueJobCreated>
        <IsActive>boolean</IsActive>
        <CreatedBy>string</CreatedBy>
        <CreationDate>dateTime</CreationDate>
        <LastUpdatedBy>string</LastUpdatedBy>
        <LastupdatedDate>dateTime</LastupdatedDate>
        <Guid>string</Guid>
        <Siteid>int</Siteid>
        <SynchStatus>boolean</SynchStatus>
        <MasterEntityId>int</MasterEntityId>
        <JobScheduleTasksDTOList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <IsChanged>boolean</IsChanged>
      </JobScheduleDTO>
      <JobScheduleDTO>
        <JobScheduleId>int</JobScheduleId>
        <ScheduleId>int</ScheduleId>
        <UserId>int</UserId>
        <DepartmentId>int</DepartmentId>
        <DurationToComplete>int</DurationToComplete>
        <MaxValueJobCreated>dateTime</MaxValueJobCreated>
        <IsActive>boolean</IsActive>
        <CreatedBy>string</CreatedBy>
        <CreationDate>dateTime</CreationDate>
        <LastUpdatedBy>string</LastUpdatedBy>
        <LastupdatedDate>dateTime</LastupdatedDate>
        <Guid>string</Guid>
        <Siteid>int</Siteid>
        <SynchStatus>boolean</SynchStatus>
        <MasterEntityId>int</MasterEntityId>
        <JobScheduleTasksDTOList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <IsChanged>boolean</IsChanged>
      </JobScheduleDTO>
    </JobScheduleDTOList>
    <ScheduleCalendarExclusionDTOList>
      <ScheduleCalendarExclusionDTO>
        <ScheduleExclusionId>int</ScheduleExclusionId>
        <ScheduleId>int</ScheduleId>
        <ExclusionDate>dateTime</ExclusionDate>
        <Day>int</Day>
        <IncludeDate>boolean</IncludeDate>
        <IsActive>boolean</IsActive>
        <CreatedBy>string</CreatedBy>
        <CreationDate>dateTime</CreationDate>
        <LastUpdatedBy>string</LastUpdatedBy>
        <LastupdateDate>dateTime</LastupdateDate>
        <Guid>string</Guid>
        <Siteid>int</Siteid>
        <SynchStatus>boolean</SynchStatus>
        <MasterEntityId>int</MasterEntityId>
        <IsChanged>boolean</IsChanged>
      </ScheduleCalendarExclusionDTO>
      <ScheduleCalendarExclusionDTO>
        <ScheduleExclusionId>int</ScheduleExclusionId>
        <ScheduleId>int</ScheduleId>
        <ExclusionDate>dateTime</ExclusionDate>
        <Day>int</Day>
        <IncludeDate>boolean</IncludeDate>
        <IsActive>boolean</IsActive>
        <CreatedBy>string</CreatedBy>
        <CreationDate>dateTime</CreationDate>
        <LastUpdatedBy>string</LastUpdatedBy>
        <LastupdateDate>dateTime</LastupdateDate>
        <Guid>string</Guid>
        <Siteid>int</Siteid>
        <SynchStatus>boolean</SynchStatus>
        <MasterEntityId>int</MasterEntityId>
        <IsChanged>boolean</IsChanged>
      </ScheduleCalendarExclusionDTO>
    </ScheduleCalendarExclusionDTOList>
    <IsValidateRequired>boolean</IsValidateRequired>
    <IsChanged>boolean</IsChanged>
  </ScheduleCalendarDTO>
</DiscountsDTO>