CredenzaLicenseServer
Click here for a complete list of operations.
DeletePromotion
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/DeletePromotion"
<?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>
<DeletePromotion xmlns="http://www.credenzasoft.com/">
<token>
<ExpirationDateAndTime>dateTime</ExpirationDateAndTime>
<Hash>string</Hash>
</token>
<PromotionIdentifier>string</PromotionIdentifier>
</DeletePromotion>
</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>
<DeletePromotionResponse xmlns="http://www.credenzasoft.com/">
<DeletePromotionResult>
<Status>Unknown or Failed or Successful or SuccessfulWithMoreInformation or InternalError or ErrorCommunicatingWithCreditCardValidationProvider or ErrorSavingToDatabase or ErrorBadCreditCardData or ErrorBadLicenseData or ErrorFailedToObtainToken or ErrorTokenHasExpired or ErrorFailedToConnectToLicensingServer or ErrorCardExpired or ErrorCardLostOrStolen or ErrorCreditCardTransactionFailed or ErrorDuplicateReferral or ErrorFinancingRefused or ErrorFailedToChangeSubscriptionAmount or ErrorNoPreviousTransaction or ErrorCreditCardTransactionFailedInGrace or SuccessfulCreditCardTransactionFromGrace or TransitionFromInGraceToExpired or ERROR_NO_LICENSE or ERROR_INVALID_CUSTOMER or ERROR_UNKNOWN or ERROR_PARSING_REQUEST or ERROR_NO_CUSTOMER_IN_REQUEST or ERROR_NO_CUSTOMER_NAME_IN_REQUEST or ERROR_INVALID_CUSTOMER_NAME or ERROR_BAD_BLOB</Status>
<AdditionalInformation>string</AdditionalInformation>
<LicenseDetail>string</LicenseDetail>
<Composite>
<CredenzaLicense>string</CredenzaLicense>
<AmicusLicense>
<AmicusLicense>string</AmicusLicense>
<FirmIdentifier>string</FirmIdentifier>
<LicenseDetailIdentifier>string</LicenseDetailIdentifier>
</AmicusLicense>
</Composite>
<Consents>
<ConsentTransaction>
<Consent>int</Consent>
<TransactionDate>dateTime</TransactionDate>
</ConsentTransaction>
<ConsentTransaction>
<Consent>int</Consent>
<TransactionDate>dateTime</TransactionDate>
</ConsentTransaction>
</Consents>
</DeletePromotionResult>
</DeletePromotionResponse>
</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>
<DeletePromotion xmlns="http://www.credenzasoft.com/">
<token>
<ExpirationDateAndTime>dateTime</ExpirationDateAndTime>
<Hash>string</Hash>
</token>
<PromotionIdentifier>string</PromotionIdentifier>
</DeletePromotion>
</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>
<DeletePromotionResponse xmlns="http://www.credenzasoft.com/">
<DeletePromotionResult>
<Status>Unknown or Failed or Successful or SuccessfulWithMoreInformation or InternalError or ErrorCommunicatingWithCreditCardValidationProvider or ErrorSavingToDatabase or ErrorBadCreditCardData or ErrorBadLicenseData or ErrorFailedToObtainToken or ErrorTokenHasExpired or ErrorFailedToConnectToLicensingServer or ErrorCardExpired or ErrorCardLostOrStolen or ErrorCreditCardTransactionFailed or ErrorDuplicateReferral or ErrorFinancingRefused or ErrorFailedToChangeSubscriptionAmount or ErrorNoPreviousTransaction or ErrorCreditCardTransactionFailedInGrace or SuccessfulCreditCardTransactionFromGrace or TransitionFromInGraceToExpired or ERROR_NO_LICENSE or ERROR_INVALID_CUSTOMER or ERROR_UNKNOWN or ERROR_PARSING_REQUEST or ERROR_NO_CUSTOMER_IN_REQUEST or ERROR_NO_CUSTOMER_NAME_IN_REQUEST or ERROR_INVALID_CUSTOMER_NAME or ERROR_BAD_BLOB</Status>
<AdditionalInformation>string</AdditionalInformation>
<LicenseDetail>string</LicenseDetail>
<Composite>
<CredenzaLicense>string</CredenzaLicense>
<AmicusLicense>
<AmicusLicense>string</AmicusLicense>
<FirmIdentifier>string</FirmIdentifier>
<LicenseDetailIdentifier>string</LicenseDetailIdentifier>
</AmicusLicense>
</Composite>
<Consents>
<ConsentTransaction>
<Consent>int</Consent>
<TransactionDate>dateTime</TransactionDate>
</ConsentTransaction>
<ConsentTransaction>
<Consent>int</Consent>
<TransactionDate>dateTime</TransactionDate>
</ConsentTransaction>
</Consents>
</DeletePromotionResult>
</DeletePromotionResponse>
</soap12:Body>
</soap12:Envelope>