Passaporte


Clique aqui para obter uma lista completa das operações.

CheckLicenca

Verifica se a licensa é válida e retorna dados da licença

Testar

O formulário de teste está disponível somente para solicitações na máquina local.

SOAP 1.1

O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.1. Os espaços reservados mostrados devem ser substituídos por valores reais.

POST /Passaporte.asmx HTTP/1.1
Host: passaporte.admseg.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "Passaporte/CheckLicenca"

<?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>
    <CheckLicenca xmlns="Passaporte">
      <licencaID>string</licencaID>
    </CheckLicenca>
  </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>
    <CheckLicencaResponse xmlns="Passaporte">
      <CheckLicencaResult>
        <LicID>string</LicID>
        <DataRenovacao>dateTime</DataRenovacao>
        <Aplicacao>string</Aplicacao>
        <Parceiro>string</Parceiro>
        <ReturnUrl>string</ReturnUrl>
        <Result>string</Result>
        <MensagemStr>string</MensagemStr>
      </CheckLicencaResult>
    </CheckLicencaResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.2. Os espaços reservados mostrados devem ser substituídos por valores reais.

POST /Passaporte.asmx HTTP/1.1
Host: passaporte.admseg.com.br
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>
    <CheckLicenca xmlns="Passaporte">
      <licencaID>string</licencaID>
    </CheckLicenca>
  </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>
    <CheckLicencaResponse xmlns="Passaporte">
      <CheckLicencaResult>
        <LicID>string</LicID>
        <DataRenovacao>dateTime</DataRenovacao>
        <Aplicacao>string</Aplicacao>
        <Parceiro>string</Parceiro>
        <ReturnUrl>string</ReturnUrl>
        <Result>string</Result>
        <MensagemStr>string</MensagemStr>
      </CheckLicencaResult>
    </CheckLicencaResponse>
  </soap12:Body>
</soap12:Envelope>