wsDetranBA


Click here for a complete list of operations.

consultaLiberacao

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 /wsDetranBA.asmx HTTP/1.1
Host: api.detranba.gestordepatios.app.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://linkpatios.prod/consultaLiberacao"

<?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>
    <consultaLiberacao xmlns="http://linkpatios.prod/">
      <Input>
        <codigoUsuario xmlns="http://www.wsdetranpatio.com/">integer</codigoUsuario>
        <senhaUsuario xmlns="http://www.wsdetranpatio.com/">string</senhaUsuario>
        <codigoOperacao xmlns="http://www.wsdetranpatio.com/">string</codigoOperacao>
        <termoRemocao xmlns="http://www.wsdetranpatio.com/">integer</termoRemocao>
        <codigoPatio xmlns="http://www.wsdetranpatio.com/">integer</codigoPatio>
      </Input>
    </consultaLiberacao>
  </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>
    <consultaLiberacaoResponse xmlns="http://linkpatios.prod/">
      <consultaLiberacaoResult>
        <codigoUsuario xmlns="http://www.wsdetranpatio.com/">integer</codigoUsuario>
        <senhaUsuario xmlns="http://www.wsdetranpatio.com/">string</senhaUsuario>
        <codigoOperacao xmlns="http://www.wsdetranpatio.com/">string</codigoOperacao>
        <termoRemocao xmlns="http://www.wsdetranpatio.com/">integer</termoRemocao>
        <codigoPatio xmlns="http://www.wsdetranpatio.com/">integer</codigoPatio>
        <codigoRetExec xmlns="http://www.wsdetranpatio.com/">integer</codigoRetExec>
        <placaVeiculo xmlns="http://www.wsdetranpatio.com/">string</placaVeiculo>
        <codigoRenavam xmlns="http://www.wsdetranpatio.com/">integer</codigoRenavam>
        <chassi xmlns="http://www.wsdetranpatio.com/">string</chassi>
        <anoLicenciamento xmlns="http://www.wsdetranpatio.com/">integer</anoLicenciamento>
        <tipoDocPropriet xmlns="http://www.wsdetranpatio.com/">integer</tipoDocPropriet>
        <numDocPropriet xmlns="http://www.wsdetranpatio.com/">string</numDocPropriet>
        <nomeProprietario xmlns="http://www.wsdetranpatio.com/">string</nomeProprietario>
        <Data_Pagamento xmlns="http://www.wsdetranpatio.com/">integer</Data_Pagamento>
        <statusApreensao xmlns="http://www.wsdetranpatio.com/">string</statusApreensao>
        <vlPagoPatio xmlns="http://www.wsdetranpatio.com/">decimal</vlPagoPatio>
        <statusPagamento xmlns="http://www.wsdetranpatio.com/">string</statusPagamento>
        <vlDebitoLicenc xmlns="http://www.wsdetranpatio.com/">decimal</vlDebitoLicenc>
        <vlDebitoMultas xmlns="http://www.wsdetranpatio.com/">decimal</vlDebitoMultas>
        <numeroTrav xmlns="http://www.wsdetranpatio.com/">integer</numeroTrav>
        <dataLimiteLibera xmlns="http://www.wsdetranpatio.com/">integer</dataLimiteLibera>
        <dataEntrada xmlns="http://www.wsdetranpatio.com/">integer</dataEntrada>
        <dataEmissLibere xmlns="http://www.wsdetranpatio.com/">integer</dataEmissLibere>
        <dataPrevRetorno xmlns="http://www.wsdetranpatio.com/">integer</dataPrevRetorno>
        <horaEmissLibere xmlns="http://www.wsdetranpatio.com/">integer</horaEmissLibere>
        <tipoDocLibera xmlns="http://www.wsdetranpatio.com/">integer</tipoDocLibera>
        <numDocLibera xmlns="http://www.wsdetranpatio.com/">string</numDocLibera>
        <nomeLibera xmlns="http://www.wsdetranpatio.com/">string</nomeLibera>
        <nomeCondutor xmlns="http://www.wsdetranpatio.com/">string</nomeCondutor>
        <numeroCNH xmlns="http://www.wsdetranpatio.com/">integer</numeroCNH>
        <descrObserv1 xmlns="http://www.wsdetranpatio.com/">string</descrObserv1>
        <descrObserv2 xmlns="http://www.wsdetranpatio.com/">string</descrObserv2>
        <StatusMessages xmlns="http://www.wsdetranpatio.com/">
          <StatusMessage>string</StatusMessage>
          <StatusMessage>string</StatusMessage>
        </StatusMessages>
      </consultaLiberacaoResult>
    </consultaLiberacaoResponse>
  </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 /wsDetranBA.asmx HTTP/1.1
Host: api.detranba.gestordepatios.app.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>
    <consultaLiberacao xmlns="http://linkpatios.prod/">
      <Input>
        <codigoUsuario xmlns="http://www.wsdetranpatio.com/">integer</codigoUsuario>
        <senhaUsuario xmlns="http://www.wsdetranpatio.com/">string</senhaUsuario>
        <codigoOperacao xmlns="http://www.wsdetranpatio.com/">string</codigoOperacao>
        <termoRemocao xmlns="http://www.wsdetranpatio.com/">integer</termoRemocao>
        <codigoPatio xmlns="http://www.wsdetranpatio.com/">integer</codigoPatio>
      </Input>
    </consultaLiberacao>
  </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>
    <consultaLiberacaoResponse xmlns="http://linkpatios.prod/">
      <consultaLiberacaoResult>
        <codigoUsuario xmlns="http://www.wsdetranpatio.com/">integer</codigoUsuario>
        <senhaUsuario xmlns="http://www.wsdetranpatio.com/">string</senhaUsuario>
        <codigoOperacao xmlns="http://www.wsdetranpatio.com/">string</codigoOperacao>
        <termoRemocao xmlns="http://www.wsdetranpatio.com/">integer</termoRemocao>
        <codigoPatio xmlns="http://www.wsdetranpatio.com/">integer</codigoPatio>
        <codigoRetExec xmlns="http://www.wsdetranpatio.com/">integer</codigoRetExec>
        <placaVeiculo xmlns="http://www.wsdetranpatio.com/">string</placaVeiculo>
        <codigoRenavam xmlns="http://www.wsdetranpatio.com/">integer</codigoRenavam>
        <chassi xmlns="http://www.wsdetranpatio.com/">string</chassi>
        <anoLicenciamento xmlns="http://www.wsdetranpatio.com/">integer</anoLicenciamento>
        <tipoDocPropriet xmlns="http://www.wsdetranpatio.com/">integer</tipoDocPropriet>
        <numDocPropriet xmlns="http://www.wsdetranpatio.com/">string</numDocPropriet>
        <nomeProprietario xmlns="http://www.wsdetranpatio.com/">string</nomeProprietario>
        <Data_Pagamento xmlns="http://www.wsdetranpatio.com/">integer</Data_Pagamento>
        <statusApreensao xmlns="http://www.wsdetranpatio.com/">string</statusApreensao>
        <vlPagoPatio xmlns="http://www.wsdetranpatio.com/">decimal</vlPagoPatio>
        <statusPagamento xmlns="http://www.wsdetranpatio.com/">string</statusPagamento>
        <vlDebitoLicenc xmlns="http://www.wsdetranpatio.com/">decimal</vlDebitoLicenc>
        <vlDebitoMultas xmlns="http://www.wsdetranpatio.com/">decimal</vlDebitoMultas>
        <numeroTrav xmlns="http://www.wsdetranpatio.com/">integer</numeroTrav>
        <dataLimiteLibera xmlns="http://www.wsdetranpatio.com/">integer</dataLimiteLibera>
        <dataEntrada xmlns="http://www.wsdetranpatio.com/">integer</dataEntrada>
        <dataEmissLibere xmlns="http://www.wsdetranpatio.com/">integer</dataEmissLibere>
        <dataPrevRetorno xmlns="http://www.wsdetranpatio.com/">integer</dataPrevRetorno>
        <horaEmissLibere xmlns="http://www.wsdetranpatio.com/">integer</horaEmissLibere>
        <tipoDocLibera xmlns="http://www.wsdetranpatio.com/">integer</tipoDocLibera>
        <numDocLibera xmlns="http://www.wsdetranpatio.com/">string</numDocLibera>
        <nomeLibera xmlns="http://www.wsdetranpatio.com/">string</nomeLibera>
        <nomeCondutor xmlns="http://www.wsdetranpatio.com/">string</nomeCondutor>
        <numeroCNH xmlns="http://www.wsdetranpatio.com/">integer</numeroCNH>
        <descrObserv1 xmlns="http://www.wsdetranpatio.com/">string</descrObserv1>
        <descrObserv2 xmlns="http://www.wsdetranpatio.com/">string</descrObserv2>
        <StatusMessages xmlns="http://www.wsdetranpatio.com/">
          <StatusMessage>string</StatusMessage>
          <StatusMessage>string</StatusMessage>
        </StatusMessages>
      </consultaLiberacaoResult>
    </consultaLiberacaoResponse>
  </soap12:Body>
</soap12:Envelope>