CredenzaLicenseServer


Click here for a complete list of operations.

GetSalesRepresentativeByCode

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

<?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>
    <GetSalesRepresentativeByCode xmlns="http://www.credenzasoft.com/">
      <token>
        <ExpirationDateAndTime>dateTime</ExpirationDateAndTime>
        <Hash>string</Hash>
      </token>
      <code>int</code>
    </GetSalesRepresentativeByCode>
  </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>
    <GetSalesRepresentativeByCodeResponse xmlns="http://www.credenzasoft.com/">
      <GetSalesRepresentativeByCodeResult>
        <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>
      </GetSalesRepresentativeByCodeResult>
    </GetSalesRepresentativeByCodeResponse>
  </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>
    <GetSalesRepresentativeByCode xmlns="http://www.credenzasoft.com/">
      <token>
        <ExpirationDateAndTime>dateTime</ExpirationDateAndTime>
        <Hash>string</Hash>
      </token>
      <code>int</code>
    </GetSalesRepresentativeByCode>
  </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>
    <GetSalesRepresentativeByCodeResponse xmlns="http://www.credenzasoft.com/">
      <GetSalesRepresentativeByCodeResult>
        <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>
      </GetSalesRepresentativeByCodeResult>
    </GetSalesRepresentativeByCodeResponse>
  </soap12:Body>
</soap12:Envelope>