Falencias
Click here for a complete list of operations.
ImportAlerts
Importação de dados para alertas (strcuturetype=processlist,niflist,namelist)
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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/ImportAlerts"
<?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>
<ImportAlerts xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
<AuthID>string</AuthID>
<structuretype>string</structuretype>
<data>string</data>
</ImportAlerts>
</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>
<ImportAlertsResponse xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
<ImportAlertsResult>
<BlackListDetail>
<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>
</BlackListDetail>
<BlackListDetail>
<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>
</BlackListDetail>
</ImportAlertsResult>
</ImportAlertsResponse>
</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>
<ImportAlerts xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
<AuthID>string</AuthID>
<structuretype>string</structuretype>
<data>string</data>
</ImportAlerts>
</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>
<ImportAlertsResponse xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
<ImportAlertsResult>
<BlackListDetail>
<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>
</BlackListDetail>
<BlackListDetail>
<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>
</BlackListDetail>
</ImportAlertsResult>
</ImportAlertsResponse>
</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/ImportAlerts?AuthID=string&structuretype=string&data=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"?>
<ArrayOfBlackListDetail xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
<BlackListDetail>
<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>
</BlackListDetail>
<BlackListDetail>
<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>
</BlackListDetail>
</ArrayOfBlackListDetail>
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/ImportAlerts HTTP/1.1 Host: www.informador.pt Content-Type: application/x-www-form-urlencoded Content-Length: length AuthID=string&structuretype=string&data=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfBlackListDetail xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
<BlackListDetail>
<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>
</BlackListDetail>
<BlackListDetail>
<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>
</BlackListDetail>
</ArrayOfBlackListDetail>