Falencias
Click here for a complete list of operations.
EnableBlackListItem
Activa um alerta
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/EnableBlackListItem"
<?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>
<EnableBlackListItem xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
<AuthID>string</AuthID>
<uniqueID>string</uniqueID>
</EnableBlackListItem>
</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>
<EnableBlackListItemResponse xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
<EnableBlackListItemResult>
<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>
</EnableBlackListItemResult>
</EnableBlackListItemResponse>
</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>
<EnableBlackListItem xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
<AuthID>string</AuthID>
<uniqueID>string</uniqueID>
</EnableBlackListItem>
</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>
<EnableBlackListItemResponse xmlns="http://o-informador-fiscal.pt/falencias/webservices/">
<EnableBlackListItemResult>
<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>
</EnableBlackListItemResult>
</EnableBlackListItemResponse>
</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/EnableBlackListItem?AuthID=string&uniqueID=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"?> <BlackListDetail xmlns="http://o-informador-fiscal.pt/falencias/webservices/"> <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>
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/EnableBlackListItem HTTP/1.1 Host: www.informador.pt Content-Type: application/x-www-form-urlencoded Content-Length: length AuthID=string&uniqueID=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <BlackListDetail xmlns="http://o-informador-fiscal.pt/falencias/webservices/"> <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>