DiscountManager


Click here for a complete list of operations.

FindDiscount

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.POS.SalesMgmt.Host/DiscountManager.asmx HTTP/1.1
Host: ssa.fp360.us
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://KMWare.ZMA.POS.SalesMgmt.ServiceContracts/FindDiscount"

<?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>
    <FindDiscount xmlns="http://KMWare.ZMA.POS.SalesMgmt.ServiceContracts">
      <FindDiscountRequest xmlns="http://KMWare.ZMA.POS.SalesMgmt.DataTypes">
        <ISOLangId>string</ISOLangId>
        <OrderByField>string</OrderByField>
        <OrderType>string</OrderType>
        <PageNo>int</PageNo>
        <PageSize>int</PageSize>
        <FieldCriteria>
          <OrganizationUnitId>short</OrganizationUnitId>
          <DiscountCode>string</DiscountCode>
          <DiscountDescription>string</DiscountDescription>
          <DisplayName>string</DisplayName>
          <DiscountType>string</DiscountType>
          <DiscountValue>decimal</DiscountValue>
          <ExpiryDate>dateTime</ExpiryDate>
          <ModuleCode>int</ModuleCode>
          <IsDisplayRestriction>string</IsDisplayRestriction>
          <IsPromotionCode>string</IsPromotionCode>
          <EffectiveFrom>dateTime</EffectiveFrom>
          <EffectiveTo>dateTime</EffectiveTo>
          <IsAPICallNeeded>string</IsAPICallNeeded>
        </FieldCriteria>
      </FindDiscountRequest>
    </FindDiscount>
  </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>
    <FindDiscountResponse xmlns="http://KMWare.ZMA.POS.SalesMgmt.ServiceContracts">
      <FindDiscountResult xmlns="http://KMWare.ZMA.POS.SalesMgmt.DataTypes">
        <SearchList>
          <Discount>
            <OrganizationUnitId>short</OrganizationUnitId>
            <DiscountCode>string</DiscountCode>
            <EventTypeCode>string</EventTypeCode>
            <DiscountDescription>string</DiscountDescription>
            <DisplayName>string</DisplayName>
            <DiscountType>string</DiscountType>
            <DiscountValue>decimal</DiscountValue>
            <ExpiryDate>dateTime</ExpiryDate>
            <UpdateDate>dateTime</UpdateDate>
            <UpdateId>string</UpdateId>
            <CustomField1>string</CustomField1>
            <ModuleCode>int</ModuleCode>
            <MultipleOption>string</MultipleOption>
            <ShowOption>string</ShowOption>
            <DiscountDetail xsi:nil="true" />
            <MaxCount>short</MaxCount>
            <MaxTransaction>short</MaxTransaction>
            <IsDisplayRestriction>string</IsDisplayRestriction>
            <IsPromotionCode>string</IsPromotionCode>
            <EffectiveFrom>dateTime</EffectiveFrom>
            <EffectiveTo>dateTime</EffectiveTo>
            <MaxUtilized>short</MaxUtilized>
            <IsAccountBasedOnLocation>string</IsAccountBasedOnLocation>
            <CustomField4>string</CustomField4>
            <CustomField5>string</CustomField5>
            <CustomField6>string</CustomField6>
            <CustomField2>string</CustomField2>
            <CustomField3>string</CustomField3>
            <DiscountAccountGroup xsi:nil="true" />
            <IsAPICallNeeded>string</IsAPICallNeeded>
          </Discount>
          <Discount>
            <OrganizationUnitId>short</OrganizationUnitId>
            <DiscountCode>string</DiscountCode>
            <EventTypeCode>string</EventTypeCode>
            <DiscountDescription>string</DiscountDescription>
            <DisplayName>string</DisplayName>
            <DiscountType>string</DiscountType>
            <DiscountValue>decimal</DiscountValue>
            <ExpiryDate>dateTime</ExpiryDate>
            <UpdateDate>dateTime</UpdateDate>
            <UpdateId>string</UpdateId>
            <CustomField1>string</CustomField1>
            <ModuleCode>int</ModuleCode>
            <MultipleOption>string</MultipleOption>
            <ShowOption>string</ShowOption>
            <DiscountDetail xsi:nil="true" />
            <MaxCount>short</MaxCount>
            <MaxTransaction>short</MaxTransaction>
            <IsDisplayRestriction>string</IsDisplayRestriction>
            <IsPromotionCode>string</IsPromotionCode>
            <EffectiveFrom>dateTime</EffectiveFrom>
            <EffectiveTo>dateTime</EffectiveTo>
            <MaxUtilized>short</MaxUtilized>
            <IsAccountBasedOnLocation>string</IsAccountBasedOnLocation>
            <CustomField4>string</CustomField4>
            <CustomField5>string</CustomField5>
            <CustomField6>string</CustomField6>
            <CustomField2>string</CustomField2>
            <CustomField3>string</CustomField3>
            <DiscountAccountGroup xsi:nil="true" />
            <IsAPICallNeeded>string</IsAPICallNeeded>
          </Discount>
        </SearchList>
        <SearchCount>int</SearchCount>
        <PageCount>int</PageCount>
      </FindDiscountResult>
    </FindDiscountResponse>
  </soap:Body>
</soap:Envelope>