Falencias


Click here for a complete list of operations.

AlertContentChanged

Obtem uma informação actualizada se um determinado alerta tem novos conteúdos ou processos

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

<?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>
    <AlertContentChanged xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
      <AuthID>string</AuthID>
      <blacklistID>string</blacklistID>
    </AlertContentChanged>
  </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>
    <AlertContentChangedResponse xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
      <AlertContentChangedResult>
        <TargetEmail>string</TargetEmail>
        <TotalRecords>int</TotalRecords>
        <UnsentRecords>int</UnsentRecords>
        <LastRecord>dateTime</LastRecord>
        <LastExecution>dateTime</LastExecution>
        <Description>string</Description>
        <IsEmpty>boolean</IsEmpty>
        <AlertData>
          <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>
        </AlertData>
        <MiscInformation>string</MiscInformation>
      </AlertContentChangedResult>
    </AlertContentChangedResponse>
  </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>
    <AlertContentChanged xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
      <AuthID>string</AuthID>
      <blacklistID>string</blacklistID>
    </AlertContentChanged>
  </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>
    <AlertContentChangedResponse xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
      <AlertContentChangedResult>
        <TargetEmail>string</TargetEmail>
        <TotalRecords>int</TotalRecords>
        <UnsentRecords>int</UnsentRecords>
        <LastRecord>dateTime</LastRecord>
        <LastExecution>dateTime</LastExecution>
        <Description>string</Description>
        <IsEmpty>boolean</IsEmpty>
        <AlertData>
          <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>
        </AlertData>
        <MiscInformation>string</MiscInformation>
      </AlertContentChangedResult>
    </AlertContentChangedResponse>
  </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/AlertContentChanged?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"?>
<AlertStatus xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
  <TargetEmail>string</TargetEmail>
  <TotalRecords>int</TotalRecords>
  <UnsentRecords>int</UnsentRecords>
  <LastRecord>dateTime</LastRecord>
  <LastExecution>dateTime</LastExecution>
  <Description>string</Description>
  <IsEmpty>boolean</IsEmpty>
  <AlertData>
    <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>
  </AlertData>
  <MiscInformation>string</MiscInformation>
</AlertStatus>

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/AlertContentChanged 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"?>
<AlertStatus xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
  <TargetEmail>string</TargetEmail>
  <TotalRecords>int</TotalRecords>
  <UnsentRecords>int</UnsentRecords>
  <LastRecord>dateTime</LastRecord>
  <LastExecution>dateTime</LastExecution>
  <Description>string</Description>
  <IsEmpty>boolean</IsEmpty>
  <AlertData>
    <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>
  </AlertData>
  <MiscInformation>string</MiscInformation>
</AlertStatus>