wsIOBGerencia


Click here for a complete list of operations.

ConsultarUltimoNSU

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 /wsIOBGerencia.asmx HTTP/1.1
Host: wsiobgerencia.iob.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://server01-nfe.folhamatic.com.br/WSDrop/ConsultarUltimoNSU"

<?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>
    <ConsultarUltimoNSU xmlns="http://server01-nfe.folhamatic.com.br/WSDrop/">
      <requisicao>
        <CodigoClienteUsuario>string</CodigoClienteUsuario>
        <TipoNSU>RS_NFeIntegracao_NFe or RS_NFeIntegracao_NFCe or RS_CTeIntegracao_CTe</TipoNSU>
      </requisicao>
    </ConsultarUltimoNSU>
  </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>
    <ConsultarUltimoNSUResponse xmlns="http://server01-nfe.folhamatic.com.br/WSDrop/">
      <ConsultarUltimoNSUResult>
        <Alertas>
          <Alerta>
            <Codigo>int</Codigo>
            <Mensagem>string</Mensagem>
            <Detalhes>string</Detalhes>
          </Alerta>
          <Alerta>
            <Codigo>int</Codigo>
            <Mensagem>string</Mensagem>
            <Detalhes>string</Detalhes>
          </Alerta>
        </Alertas>
        <Erros>
          <Erro>
            <Codigo>int</Codigo>
            <Mensagem>string</Mensagem>
            <Detalhes>string</Detalhes>
          </Erro>
          <Erro>
            <Codigo>int</Codigo>
            <Mensagem>string</Mensagem>
            <Detalhes>string</Detalhes>
          </Erro>
        </Erros>
        <Resultado>string</Resultado>
        <Sucesso>boolean</Sucesso>
      </ConsultarUltimoNSUResult>
    </ConsultarUltimoNSUResponse>
  </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 /wsIOBGerencia.asmx HTTP/1.1
Host: wsiobgerencia.iob.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>
    <ConsultarUltimoNSU xmlns="http://server01-nfe.folhamatic.com.br/WSDrop/">
      <requisicao>
        <CodigoClienteUsuario>string</CodigoClienteUsuario>
        <TipoNSU>RS_NFeIntegracao_NFe or RS_NFeIntegracao_NFCe or RS_CTeIntegracao_CTe</TipoNSU>
      </requisicao>
    </ConsultarUltimoNSU>
  </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>
    <ConsultarUltimoNSUResponse xmlns="http://server01-nfe.folhamatic.com.br/WSDrop/">
      <ConsultarUltimoNSUResult>
        <Alertas>
          <Alerta>
            <Codigo>int</Codigo>
            <Mensagem>string</Mensagem>
            <Detalhes>string</Detalhes>
          </Alerta>
          <Alerta>
            <Codigo>int</Codigo>
            <Mensagem>string</Mensagem>
            <Detalhes>string</Detalhes>
          </Alerta>
        </Alertas>
        <Erros>
          <Erro>
            <Codigo>int</Codigo>
            <Mensagem>string</Mensagem>
            <Detalhes>string</Detalhes>
          </Erro>
          <Erro>
            <Codigo>int</Codigo>
            <Mensagem>string</Mensagem>
            <Detalhes>string</Detalhes>
          </Erro>
        </Erros>
        <Resultado>string</Resultado>
        <Sucesso>boolean</Sucesso>
      </ConsultarUltimoNSUResult>
    </ConsultarUltimoNSUResponse>
  </soap12:Body>
</soap12:Envelope>