CredenzaLicenseServer


Click here for a complete list of operations.

GetPromotionsByFilter

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 /AmicusLicensingService.asmx HTTP/1.1
Host: qa.amicuslicensing.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.credenzasoft.com/GetPromotionsByFilter"

<?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>
    <GetPromotionsByFilter xmlns="http://www.credenzasoft.com/">
      <token>
        <ExpirationDateAndTime>dateTime</ExpirationDateAndTime>
        <Hash>string</Hash>
      </token>
      <f>
        <PromotionIdentifier>guid</PromotionIdentifier>
        <Name>string</Name>
        <PrimaryEmailAddress>string</PrimaryEmailAddress>
        <PromotionCode>int</PromotionCode>
      </f>
    </GetPromotionsByFilter>
  </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>
    <GetPromotionsByFilterResponse xmlns="http://www.credenzasoft.com/">
      <GetPromotionsByFilterResult>
        <Promotion>
          <Name>string</Name>
          <PhoneNumbers>
            <PhoneNumber xsi:nil="true" />
            <PhoneNumber xsi:nil="true" />
          </PhoneNumbers>
          <Addresses>
            <Address xsi:nil="true" />
            <Address xsi:nil="true" />
          </Addresses>
          <PrimaryEmailAddress>string</PrimaryEmailAddress>
          <PromotionCode>int</PromotionCode>
          <Status>Unknown or Active or Inactive</Status>
          <CompanyName>string</CompanyName>
          <WebAddress>string</WebAddress>
          <PromoEffect>Unknown or InPerpetuity or TimeLimited or CostDiscount or Credit or MsxPaymentOnly</PromoEffect>
          <PromotionEffectExpiryDate>dateTime</PromotionEffectExpiryDate>
          <PromotionExpiryDate>dateTime</PromotionExpiryDate>
          <CostCategoryFlag>int</CostCategoryFlag>
          <PromotionLicenseLimit>int</PromotionLicenseLimit>
          <PromotionCostDiscountValue>int</PromotionCostDiscountValue>
          <PromotionCreditValue>double</PromotionCreditValue>
          <PromotionEffectDaysInEffect>int</PromotionEffectDaysInEffect>
          <ConsultantCode>int</ConsultantCode>
          <RestrictedToFirmIdentifier>guid</RestrictedToFirmIdentifier>
          <Target>Unknown or InitialChargeAndProrata or Subscription or Taxes or All</Target>
          <Sku>Unknown or UserLicense or Mailbox or Storage or EnhancedSecurity or All</Sku>
          <AppliesToPeriod>Unknown or Monthly or Annual or All</AppliesToPeriod>
        </Promotion>
        <Promotion>
          <Name>string</Name>
          <PhoneNumbers>
            <PhoneNumber xsi:nil="true" />
            <PhoneNumber xsi:nil="true" />
          </PhoneNumbers>
          <Addresses>
            <Address xsi:nil="true" />
            <Address xsi:nil="true" />
          </Addresses>
          <PrimaryEmailAddress>string</PrimaryEmailAddress>
          <PromotionCode>int</PromotionCode>
          <Status>Unknown or Active or Inactive</Status>
          <CompanyName>string</CompanyName>
          <WebAddress>string</WebAddress>
          <PromoEffect>Unknown or InPerpetuity or TimeLimited or CostDiscount or Credit or MsxPaymentOnly</PromoEffect>
          <PromotionEffectExpiryDate>dateTime</PromotionEffectExpiryDate>
          <PromotionExpiryDate>dateTime</PromotionExpiryDate>
          <CostCategoryFlag>int</CostCategoryFlag>
          <PromotionLicenseLimit>int</PromotionLicenseLimit>
          <PromotionCostDiscountValue>int</PromotionCostDiscountValue>
          <PromotionCreditValue>double</PromotionCreditValue>
          <PromotionEffectDaysInEffect>int</PromotionEffectDaysInEffect>
          <ConsultantCode>int</ConsultantCode>
          <RestrictedToFirmIdentifier>guid</RestrictedToFirmIdentifier>
          <Target>Unknown or InitialChargeAndProrata or Subscription or Taxes or All</Target>
          <Sku>Unknown or UserLicense or Mailbox or Storage or EnhancedSecurity or All</Sku>
          <AppliesToPeriod>Unknown or Monthly or Annual or All</AppliesToPeriod>
        </Promotion>
      </GetPromotionsByFilterResult>
    </GetPromotionsByFilterResponse>
  </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 /AmicusLicensingService.asmx HTTP/1.1
Host: qa.amicuslicensing.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>
    <GetPromotionsByFilter xmlns="http://www.credenzasoft.com/">
      <token>
        <ExpirationDateAndTime>dateTime</ExpirationDateAndTime>
        <Hash>string</Hash>
      </token>
      <f>
        <PromotionIdentifier>guid</PromotionIdentifier>
        <Name>string</Name>
        <PrimaryEmailAddress>string</PrimaryEmailAddress>
        <PromotionCode>int</PromotionCode>
      </f>
    </GetPromotionsByFilter>
  </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>
    <GetPromotionsByFilterResponse xmlns="http://www.credenzasoft.com/">
      <GetPromotionsByFilterResult>
        <Promotion>
          <Name>string</Name>
          <PhoneNumbers>
            <PhoneNumber xsi:nil="true" />
            <PhoneNumber xsi:nil="true" />
          </PhoneNumbers>
          <Addresses>
            <Address xsi:nil="true" />
            <Address xsi:nil="true" />
          </Addresses>
          <PrimaryEmailAddress>string</PrimaryEmailAddress>
          <PromotionCode>int</PromotionCode>
          <Status>Unknown or Active or Inactive</Status>
          <CompanyName>string</CompanyName>
          <WebAddress>string</WebAddress>
          <PromoEffect>Unknown or InPerpetuity or TimeLimited or CostDiscount or Credit or MsxPaymentOnly</PromoEffect>
          <PromotionEffectExpiryDate>dateTime</PromotionEffectExpiryDate>
          <PromotionExpiryDate>dateTime</PromotionExpiryDate>
          <CostCategoryFlag>int</CostCategoryFlag>
          <PromotionLicenseLimit>int</PromotionLicenseLimit>
          <PromotionCostDiscountValue>int</PromotionCostDiscountValue>
          <PromotionCreditValue>double</PromotionCreditValue>
          <PromotionEffectDaysInEffect>int</PromotionEffectDaysInEffect>
          <ConsultantCode>int</ConsultantCode>
          <RestrictedToFirmIdentifier>guid</RestrictedToFirmIdentifier>
          <Target>Unknown or InitialChargeAndProrata or Subscription or Taxes or All</Target>
          <Sku>Unknown or UserLicense or Mailbox or Storage or EnhancedSecurity or All</Sku>
          <AppliesToPeriod>Unknown or Monthly or Annual or All</AppliesToPeriod>
        </Promotion>
        <Promotion>
          <Name>string</Name>
          <PhoneNumbers>
            <PhoneNumber xsi:nil="true" />
            <PhoneNumber xsi:nil="true" />
          </PhoneNumbers>
          <Addresses>
            <Address xsi:nil="true" />
            <Address xsi:nil="true" />
          </Addresses>
          <PrimaryEmailAddress>string</PrimaryEmailAddress>
          <PromotionCode>int</PromotionCode>
          <Status>Unknown or Active or Inactive</Status>
          <CompanyName>string</CompanyName>
          <WebAddress>string</WebAddress>
          <PromoEffect>Unknown or InPerpetuity or TimeLimited or CostDiscount or Credit or MsxPaymentOnly</PromoEffect>
          <PromotionEffectExpiryDate>dateTime</PromotionEffectExpiryDate>
          <PromotionExpiryDate>dateTime</PromotionExpiryDate>
          <CostCategoryFlag>int</CostCategoryFlag>
          <PromotionLicenseLimit>int</PromotionLicenseLimit>
          <PromotionCostDiscountValue>int</PromotionCostDiscountValue>
          <PromotionCreditValue>double</PromotionCreditValue>
          <PromotionEffectDaysInEffect>int</PromotionEffectDaysInEffect>
          <ConsultantCode>int</ConsultantCode>
          <RestrictedToFirmIdentifier>guid</RestrictedToFirmIdentifier>
          <Target>Unknown or InitialChargeAndProrata or Subscription or Taxes or All</Target>
          <Sku>Unknown or UserLicense or Mailbox or Storage or EnhancedSecurity or All</Sku>
          <AppliesToPeriod>Unknown or Monthly or Annual or All</AppliesToPeriod>
        </Promotion>
      </GetPromotionsByFilterResult>
    </GetPromotionsByFilterResponse>
  </soap12:Body>
</soap12:Envelope>