TransactionServices
Click here for a complete list of operations.
GetDiscounts
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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/GetDiscounts"
<?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>
<GetDiscounts xmlns="http://semnox.com/">
<discountType>string</discountType>
</GetDiscounts>
</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>
<GetDiscountsResponse xmlns="http://semnox.com/">
<GetDiscountsResult>
<DiscountsDTO>
<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 xsi:nil="true" />
<DiscountedGamesDTO xsi:nil="true" />
</DiscountedGamesDTOList>
<DiscountPurchaseCriteriaDTOList>
<DiscountPurchaseCriteriaDTO xsi:nil="true" />
<DiscountPurchaseCriteriaDTO xsi:nil="true" />
</DiscountPurchaseCriteriaDTOList>
<DiscountedProductsDTOList>
<DiscountedProductsDTO xsi:nil="true" />
<DiscountedProductsDTO xsi:nil="true" />
</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 xsi:nil="true" />
<ScheduleCalendarExclusionDTOList xsi:nil="true" />
<IsValidateRequired>boolean</IsValidateRequired>
<IsChanged>boolean</IsChanged>
</ScheduleCalendarDTO>
</DiscountsDTO>
<DiscountsDTO>
<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 xsi:nil="true" />
<DiscountedGamesDTO xsi:nil="true" />
</DiscountedGamesDTOList>
<DiscountPurchaseCriteriaDTOList>
<DiscountPurchaseCriteriaDTO xsi:nil="true" />
<DiscountPurchaseCriteriaDTO xsi:nil="true" />
</DiscountPurchaseCriteriaDTOList>
<DiscountedProductsDTOList>
<DiscountedProductsDTO xsi:nil="true" />
<DiscountedProductsDTO xsi:nil="true" />
</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 xsi:nil="true" />
<ScheduleCalendarExclusionDTOList xsi:nil="true" />
<IsValidateRequired>boolean</IsValidateRequired>
<IsChanged>boolean</IsChanged>
</ScheduleCalendarDTO>
</DiscountsDTO>
</GetDiscountsResult>
</GetDiscountsResponse>
</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>
<GetDiscounts xmlns="http://semnox.com/">
<discountType>string</discountType>
</GetDiscounts>
</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>
<GetDiscountsResponse xmlns="http://semnox.com/">
<GetDiscountsResult>
<DiscountsDTO>
<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 xsi:nil="true" />
<DiscountedGamesDTO xsi:nil="true" />
</DiscountedGamesDTOList>
<DiscountPurchaseCriteriaDTOList>
<DiscountPurchaseCriteriaDTO xsi:nil="true" />
<DiscountPurchaseCriteriaDTO xsi:nil="true" />
</DiscountPurchaseCriteriaDTOList>
<DiscountedProductsDTOList>
<DiscountedProductsDTO xsi:nil="true" />
<DiscountedProductsDTO xsi:nil="true" />
</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 xsi:nil="true" />
<ScheduleCalendarExclusionDTOList xsi:nil="true" />
<IsValidateRequired>boolean</IsValidateRequired>
<IsChanged>boolean</IsChanged>
</ScheduleCalendarDTO>
</DiscountsDTO>
<DiscountsDTO>
<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 xsi:nil="true" />
<DiscountedGamesDTO xsi:nil="true" />
</DiscountedGamesDTOList>
<DiscountPurchaseCriteriaDTOList>
<DiscountPurchaseCriteriaDTO xsi:nil="true" />
<DiscountPurchaseCriteriaDTO xsi:nil="true" />
</DiscountPurchaseCriteriaDTOList>
<DiscountedProductsDTOList>
<DiscountedProductsDTO xsi:nil="true" />
<DiscountedProductsDTO xsi:nil="true" />
</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 xsi:nil="true" />
<ScheduleCalendarExclusionDTOList xsi:nil="true" />
<IsValidateRequired>boolean</IsValidateRequired>
<IsChanged>boolean</IsChanged>
</ScheduleCalendarDTO>
</DiscountsDTO>
</GetDiscountsResult>
</GetDiscountsResponse>
</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/GetDiscounts?discountType=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"?>
<ArrayOfDiscountsDTO xmlns="http://semnox.com/">
<DiscountsDTO>
<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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<JobScheduleDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</JobScheduleDTOList>
<ScheduleCalendarExclusionDTOList>
<ScheduleCalendarExclusionDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<ScheduleCalendarExclusionDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</ScheduleCalendarExclusionDTOList>
<IsValidateRequired>boolean</IsValidateRequired>
<IsChanged>boolean</IsChanged>
</ScheduleCalendarDTO>
</DiscountsDTO>
<DiscountsDTO>
<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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<JobScheduleDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</JobScheduleDTOList>
<ScheduleCalendarExclusionDTOList>
<ScheduleCalendarExclusionDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<ScheduleCalendarExclusionDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</ScheduleCalendarExclusionDTOList>
<IsValidateRequired>boolean</IsValidateRequired>
<IsChanged>boolean</IsChanged>
</ScheduleCalendarDTO>
</DiscountsDTO>
</ArrayOfDiscountsDTO>
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/GetDiscounts HTTP/1.1 Host: aspthemetest14.parafait1.com Content-Type: application/x-www-form-urlencoded Content-Length: length discountType=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfDiscountsDTO xmlns="http://semnox.com/">
<DiscountsDTO>
<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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<JobScheduleDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</JobScheduleDTOList>
<ScheduleCalendarExclusionDTOList>
<ScheduleCalendarExclusionDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<ScheduleCalendarExclusionDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</ScheduleCalendarExclusionDTOList>
<IsValidateRequired>boolean</IsValidateRequired>
<IsChanged>boolean</IsChanged>
</ScheduleCalendarDTO>
</DiscountsDTO>
<DiscountsDTO>
<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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<JobScheduleDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</JobScheduleDTOList>
<ScheduleCalendarExclusionDTOList>
<ScheduleCalendarExclusionDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<ScheduleCalendarExclusionDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</ScheduleCalendarExclusionDTOList>
<IsValidateRequired>boolean</IsValidateRequired>
<IsChanged>boolean</IsChanged>
</ScheduleCalendarDTO>
</DiscountsDTO>
</ArrayOfDiscountsDTO>