Falencias


Click here for a complete list of operations.

BlackListCheck

Obtem os registos associados a um alerta existente

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
AuthID:
blacklistID:

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 /ws/insolvencias/falencias.asmx HTTP/1.1
Host: www.informador.pt
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://o-informador-fiscal.pt/falencias/webservices/BlackListCheck"

<?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>
    <BlackListCheck xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
      <AuthID>string</AuthID>
      <blacklistID>string</blacklistID>
    </BlackListCheck>
  </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>
    <BlackListCheckResponse xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
      <BlackListCheckResult>
        <ExecutionTime>long</ExecutionTime>
        <Query>string</Query>
        <InternalError>string</InternalError>
        <BlackItem>
          <UniqueID>string</UniqueID>
          <Descricao>string</Descricao>
          <LastUpdate>dateTime</LastUpdate>
          <LastExecution>dateTime</LastExecution>
          <CRC32>string</CRC32>
          <qNIF>string</qNIF>
          <qNOME>string</qNOME>
          <qCAE>string</qCAE>
          <qPROCESSO>string</qPROCESSO>
          <qRelatedID>string</qRelatedID>
          <qSEARCH>string</qSEARCH>
          <qDateFrom>string</qDateFrom>
          <qDateTo>string</qDateTo>
          <bCodigopostal>string</bCodigopostal>
          <CustomEmail>string</CustomEmail>
          <SendEmail>int</SendEmail>
          <Disabled>int</Disabled>
          <Delete>int</Delete>
          <Debug_Time>float</Debug_Time>
          <Debug_Query>string</Debug_Query>
          <LastHitDate>dateTime</LastHitDate>
          <LastHitRecord>string</LastHitRecord>
          <RecordCount>int</RecordCount>
          <RecordUnsentCount>int</RecordUnsentCount>
          <InternalError>string</InternalError>
        </BlackItem>
        <Results>
          <Items>
            <FalenciaListItem xsi:nil="true" />
            <FalenciaListItem xsi:nil="true" />
          </Items>
          <Count>int</Count>
          <Query>string</Query>
          <PageIndex>int</PageIndex>
          <RecordStart>int</RecordStart>
          <RecordEnd>int</RecordEnd>
          <PageStart>int</PageStart>
          <PageEnd>int</PageEnd>
          <InternalError>string</InternalError>
        </Results>
        <CRC32>string</CRC32>
        <LastHitDate>dateTime</LastHitDate>
        <LastHitRecord>string</LastHitRecord>
      </BlackListCheckResult>
    </BlackListCheckResponse>
  </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 /ws/insolvencias/falencias.asmx HTTP/1.1
Host: www.informador.pt
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>
    <BlackListCheck xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
      <AuthID>string</AuthID>
      <blacklistID>string</blacklistID>
    </BlackListCheck>
  </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>
    <BlackListCheckResponse xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
      <BlackListCheckResult>
        <ExecutionTime>long</ExecutionTime>
        <Query>string</Query>
        <InternalError>string</InternalError>
        <BlackItem>
          <UniqueID>string</UniqueID>
          <Descricao>string</Descricao>
          <LastUpdate>dateTime</LastUpdate>
          <LastExecution>dateTime</LastExecution>
          <CRC32>string</CRC32>
          <qNIF>string</qNIF>
          <qNOME>string</qNOME>
          <qCAE>string</qCAE>
          <qPROCESSO>string</qPROCESSO>
          <qRelatedID>string</qRelatedID>
          <qSEARCH>string</qSEARCH>
          <qDateFrom>string</qDateFrom>
          <qDateTo>string</qDateTo>
          <bCodigopostal>string</bCodigopostal>
          <CustomEmail>string</CustomEmail>
          <SendEmail>int</SendEmail>
          <Disabled>int</Disabled>
          <Delete>int</Delete>
          <Debug_Time>float</Debug_Time>
          <Debug_Query>string</Debug_Query>
          <LastHitDate>dateTime</LastHitDate>
          <LastHitRecord>string</LastHitRecord>
          <RecordCount>int</RecordCount>
          <RecordUnsentCount>int</RecordUnsentCount>
          <InternalError>string</InternalError>
        </BlackItem>
        <Results>
          <Items>
            <FalenciaListItem xsi:nil="true" />
            <FalenciaListItem xsi:nil="true" />
          </Items>
          <Count>int</Count>
          <Query>string</Query>
          <PageIndex>int</PageIndex>
          <RecordStart>int</RecordStart>
          <RecordEnd>int</RecordEnd>
          <PageStart>int</PageStart>
          <PageEnd>int</PageEnd>
          <InternalError>string</InternalError>
        </Results>
        <CRC32>string</CRC32>
        <LastHitDate>dateTime</LastHitDate>
        <LastHitRecord>string</LastHitRecord>
      </BlackListCheckResult>
    </BlackListCheckResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /ws/insolvencias/falencias.asmx/BlackListCheck?AuthID=string&blacklistID=string HTTP/1.1
Host: www.informador.pt
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<BlackListHitResults xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
  <ExecutionTime>long</ExecutionTime>
  <Query>string</Query>
  <InternalError>string</InternalError>
  <BlackItem>
    <UniqueID>string</UniqueID>
    <Descricao>string</Descricao>
    <LastUpdate>dateTime</LastUpdate>
    <LastExecution>dateTime</LastExecution>
    <CRC32>string</CRC32>
    <qNIF>string</qNIF>
    <qNOME>string</qNOME>
    <qCAE>string</qCAE>
    <qPROCESSO>string</qPROCESSO>
    <qRelatedID>string</qRelatedID>
    <qSEARCH>string</qSEARCH>
    <qDateFrom>string</qDateFrom>
    <qDateTo>string</qDateTo>
    <bCodigopostal>string</bCodigopostal>
    <CustomEmail>string</CustomEmail>
    <SendEmail>int</SendEmail>
    <Disabled>int</Disabled>
    <Delete>int</Delete>
    <Debug_Time>float</Debug_Time>
    <Debug_Query>string</Debug_Query>
    <LastHitDate>dateTime</LastHitDate>
    <LastHitRecord>string</LastHitRecord>
    <RecordCount>int</RecordCount>
    <RecordUnsentCount>int</RecordUnsentCount>
    <InternalError>string</InternalError>
  </BlackItem>
  <Results>
    <Items>
      <FalenciaListItem>
        <UniqueID>string</UniqueID>
        <Icon>string</Icon>
        <Entidade1>string</Entidade1>
        <Entidade2>string</Entidade2>
        <Processo>string</Processo>
        <Acto>string</Acto>
        <Tipo>string</Tipo>
        <DataPublicacao>dateTime</DataPublicacao>
        <Detalhes d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tribunal>string</Tribunal>
        <Referencia>string</Referencia>
      </FalenciaListItem>
      <FalenciaListItem>
        <UniqueID>string</UniqueID>
        <Icon>string</Icon>
        <Entidade1>string</Entidade1>
        <Entidade2>string</Entidade2>
        <Processo>string</Processo>
        <Acto>string</Acto>
        <Tipo>string</Tipo>
        <DataPublicacao>dateTime</DataPublicacao>
        <Detalhes d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tribunal>string</Tribunal>
        <Referencia>string</Referencia>
      </FalenciaListItem>
    </Items>
    <Count>int</Count>
    <Query>string</Query>
    <PageIndex>int</PageIndex>
    <RecordStart>int</RecordStart>
    <RecordEnd>int</RecordEnd>
    <PageStart>int</PageStart>
    <PageEnd>int</PageEnd>
    <InternalError>string</InternalError>
  </Results>
  <CRC32>string</CRC32>
  <LastHitDate>dateTime</LastHitDate>
  <LastHitRecord>string</LastHitRecord>
</BlackListHitResults>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /ws/insolvencias/falencias.asmx/BlackListCheck HTTP/1.1
Host: www.informador.pt
Content-Type: application/x-www-form-urlencoded
Content-Length: length

AuthID=string&blacklistID=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<BlackListHitResults xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
  <ExecutionTime>long</ExecutionTime>
  <Query>string</Query>
  <InternalError>string</InternalError>
  <BlackItem>
    <UniqueID>string</UniqueID>
    <Descricao>string</Descricao>
    <LastUpdate>dateTime</LastUpdate>
    <LastExecution>dateTime</LastExecution>
    <CRC32>string</CRC32>
    <qNIF>string</qNIF>
    <qNOME>string</qNOME>
    <qCAE>string</qCAE>
    <qPROCESSO>string</qPROCESSO>
    <qRelatedID>string</qRelatedID>
    <qSEARCH>string</qSEARCH>
    <qDateFrom>string</qDateFrom>
    <qDateTo>string</qDateTo>
    <bCodigopostal>string</bCodigopostal>
    <CustomEmail>string</CustomEmail>
    <SendEmail>int</SendEmail>
    <Disabled>int</Disabled>
    <Delete>int</Delete>
    <Debug_Time>float</Debug_Time>
    <Debug_Query>string</Debug_Query>
    <LastHitDate>dateTime</LastHitDate>
    <LastHitRecord>string</LastHitRecord>
    <RecordCount>int</RecordCount>
    <RecordUnsentCount>int</RecordUnsentCount>
    <InternalError>string</InternalError>
  </BlackItem>
  <Results>
    <Items>
      <FalenciaListItem>
        <UniqueID>string</UniqueID>
        <Icon>string</Icon>
        <Entidade1>string</Entidade1>
        <Entidade2>string</Entidade2>
        <Processo>string</Processo>
        <Acto>string</Acto>
        <Tipo>string</Tipo>
        <DataPublicacao>dateTime</DataPublicacao>
        <Detalhes d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tribunal>string</Tribunal>
        <Referencia>string</Referencia>
      </FalenciaListItem>
      <FalenciaListItem>
        <UniqueID>string</UniqueID>
        <Icon>string</Icon>
        <Entidade1>string</Entidade1>
        <Entidade2>string</Entidade2>
        <Processo>string</Processo>
        <Acto>string</Acto>
        <Tipo>string</Tipo>
        <DataPublicacao>dateTime</DataPublicacao>
        <Detalhes d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tribunal>string</Tribunal>
        <Referencia>string</Referencia>
      </FalenciaListItem>
    </Items>
    <Count>int</Count>
    <Query>string</Query>
    <PageIndex>int</PageIndex>
    <RecordStart>int</RecordStart>
    <RecordEnd>int</RecordEnd>
    <PageStart>int</PageStart>
    <PageEnd>int</PageEnd>
    <InternalError>string</InternalError>
  </Results>
  <CRC32>string</CRC32>
  <LastHitDate>dateTime</LastHitDate>
  <LastHitRecord>string</LastHitRecord>
</BlackListHitResults>