CredenzaLicenseServer


Click here for a complete list of operations.

SaveSalesRepresentative

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/SaveSalesRepresentative"

<?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>
    <SaveSalesRepresentative xmlns="http://www.credenzasoft.com/">
      <token>
        <ExpirationDateAndTime>dateTime</ExpirationDateAndTime>
        <Hash>string</Hash>
      </token>
      <c>
        <Name>string</Name>
        <PhoneNumbers>
          <PhoneNumber>
            <CountryCode>string</CountryCode>
            <RegionalCode>string</RegionalCode>
            <Main>string</Main>
            <Suffix>string</Suffix>
            <Type>Unknown or LandLine or Fax or Mobile</Type>
            <PhoneFreeText>string</PhoneFreeText>
            <ClientIdentifier>guid</ClientIdentifier>
          </PhoneNumber>
          <PhoneNumber>
            <CountryCode>string</CountryCode>
            <RegionalCode>string</RegionalCode>
            <Main>string</Main>
            <Suffix>string</Suffix>
            <Type>Unknown or LandLine or Fax or Mobile</Type>
            <PhoneFreeText>string</PhoneFreeText>
            <ClientIdentifier>guid</ClientIdentifier>
          </PhoneNumber>
        </PhoneNumbers>
        <Addresses>
          <Address>
            <StreetNumber>string</StreetNumber>
            <StreetName>string</StreetName>
            <StreetType>string</StreetType>
            <StreetDirection>string</StreetDirection>
            <MunicipalAuthority>string</MunicipalAuthority>
            <RegionalAuthority>string</RegionalAuthority>
            <RegionalAuthorityCode>string</RegionalAuthorityCode>
            <PostalIdentifier>string</PostalIdentifier>
            <Country>string</Country>
            <CountryCode>string</CountryCode>
            <Type>Unknown or Billing or Mailing</Type>
            <StreetFreeText>string</StreetFreeText>
            <IsCanadian>boolean</IsCanadian>
            <Province>BritishColumbia or Alberta or Saskatchewan or Manitoba or Ontario or Quebec or NovaScotia or NewBruinswick or NewfoundlandAndLabrador or PEI or NorthwestTerritories or OtherRegionsOrTerritories or NunavutTerritory or YukonTerritory</Province>
            <ClientIdentifier>guid</ClientIdentifier>
          </Address>
          <Address>
            <StreetNumber>string</StreetNumber>
            <StreetName>string</StreetName>
            <StreetType>string</StreetType>
            <StreetDirection>string</StreetDirection>
            <MunicipalAuthority>string</MunicipalAuthority>
            <RegionalAuthority>string</RegionalAuthority>
            <RegionalAuthorityCode>string</RegionalAuthorityCode>
            <PostalIdentifier>string</PostalIdentifier>
            <Country>string</Country>
            <CountryCode>string</CountryCode>
            <Type>Unknown or Billing or Mailing</Type>
            <StreetFreeText>string</StreetFreeText>
            <IsCanadian>boolean</IsCanadian>
            <Province>BritishColumbia or Alberta or Saskatchewan or Manitoba or Ontario or Quebec or NovaScotia or NewBruinswick or NewfoundlandAndLabrador or PEI or NorthwestTerritories or OtherRegionsOrTerritories or NunavutTerritory or YukonTerritory</Province>
            <ClientIdentifier>guid</ClientIdentifier>
          </Address>
        </Addresses>
        <PrimaryEmailAddress>string</PrimaryEmailAddress>
        <SalesRepresentativeCode>int</SalesRepresentativeCode>
        <Type>Unknown or Standard or Premiere</Type>
        <Status>Unknown or Active or Inactive</Status>
        <Level>Unknown or SalesManager or SalesRep</Level>
        <Title>string</Title>
        <CertificationDate>dateTime</CertificationDate>
        <ExpirationDate>dateTime</ExpirationDate>
        <CompanyName>string</CompanyName>
        <WebAddress>string</WebAddress>
        <IsOfficeTools>boolean</IsOfficeTools>
      </c>
    </SaveSalesRepresentative>
  </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>
    <SaveSalesRepresentativeResponse xmlns="http://www.credenzasoft.com/">
      <SaveSalesRepresentativeResult>
        <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>
      </SaveSalesRepresentativeResult>
    </SaveSalesRepresentativeResponse>
  </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>
    <SaveSalesRepresentative xmlns="http://www.credenzasoft.com/">
      <token>
        <ExpirationDateAndTime>dateTime</ExpirationDateAndTime>
        <Hash>string</Hash>
      </token>
      <c>
        <Name>string</Name>
        <PhoneNumbers>
          <PhoneNumber>
            <CountryCode>string</CountryCode>
            <RegionalCode>string</RegionalCode>
            <Main>string</Main>
            <Suffix>string</Suffix>
            <Type>Unknown or LandLine or Fax or Mobile</Type>
            <PhoneFreeText>string</PhoneFreeText>
            <ClientIdentifier>guid</ClientIdentifier>
          </PhoneNumber>
          <PhoneNumber>
            <CountryCode>string</CountryCode>
            <RegionalCode>string</RegionalCode>
            <Main>string</Main>
            <Suffix>string</Suffix>
            <Type>Unknown or LandLine or Fax or Mobile</Type>
            <PhoneFreeText>string</PhoneFreeText>
            <ClientIdentifier>guid</ClientIdentifier>
          </PhoneNumber>
        </PhoneNumbers>
        <Addresses>
          <Address>
            <StreetNumber>string</StreetNumber>
            <StreetName>string</StreetName>
            <StreetType>string</StreetType>
            <StreetDirection>string</StreetDirection>
            <MunicipalAuthority>string</MunicipalAuthority>
            <RegionalAuthority>string</RegionalAuthority>
            <RegionalAuthorityCode>string</RegionalAuthorityCode>
            <PostalIdentifier>string</PostalIdentifier>
            <Country>string</Country>
            <CountryCode>string</CountryCode>
            <Type>Unknown or Billing or Mailing</Type>
            <StreetFreeText>string</StreetFreeText>
            <IsCanadian>boolean</IsCanadian>
            <Province>BritishColumbia or Alberta or Saskatchewan or Manitoba or Ontario or Quebec or NovaScotia or NewBruinswick or NewfoundlandAndLabrador or PEI or NorthwestTerritories or OtherRegionsOrTerritories or NunavutTerritory or YukonTerritory</Province>
            <ClientIdentifier>guid</ClientIdentifier>
          </Address>
          <Address>
            <StreetNumber>string</StreetNumber>
            <StreetName>string</StreetName>
            <StreetType>string</StreetType>
            <StreetDirection>string</StreetDirection>
            <MunicipalAuthority>string</MunicipalAuthority>
            <RegionalAuthority>string</RegionalAuthority>
            <RegionalAuthorityCode>string</RegionalAuthorityCode>
            <PostalIdentifier>string</PostalIdentifier>
            <Country>string</Country>
            <CountryCode>string</CountryCode>
            <Type>Unknown or Billing or Mailing</Type>
            <StreetFreeText>string</StreetFreeText>
            <IsCanadian>boolean</IsCanadian>
            <Province>BritishColumbia or Alberta or Saskatchewan or Manitoba or Ontario or Quebec or NovaScotia or NewBruinswick or NewfoundlandAndLabrador or PEI or NorthwestTerritories or OtherRegionsOrTerritories or NunavutTerritory or YukonTerritory</Province>
            <ClientIdentifier>guid</ClientIdentifier>
          </Address>
        </Addresses>
        <PrimaryEmailAddress>string</PrimaryEmailAddress>
        <SalesRepresentativeCode>int</SalesRepresentativeCode>
        <Type>Unknown or Standard or Premiere</Type>
        <Status>Unknown or Active or Inactive</Status>
        <Level>Unknown or SalesManager or SalesRep</Level>
        <Title>string</Title>
        <CertificationDate>dateTime</CertificationDate>
        <ExpirationDate>dateTime</ExpirationDate>
        <CompanyName>string</CompanyName>
        <WebAddress>string</WebAddress>
        <IsOfficeTools>boolean</IsOfficeTools>
      </c>
    </SaveSalesRepresentative>
  </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>
    <SaveSalesRepresentativeResponse xmlns="http://www.credenzasoft.com/">
      <SaveSalesRepresentativeResult>
        <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>
      </SaveSalesRepresentativeResult>
    </SaveSalesRepresentativeResponse>
  </soap12:Body>
</soap12:Envelope>