clicksmsV4
Click here for a complete list of operations.
getInfo
Obtém informação sobre as encomendas inseridas. Devolve listas de referências e IDs. Parametro Tipo=P devolve listas relativas a encomendas pagas entre as datas; Tipo=R devolve listas relativas a encomendas recebidas (não obrigatoriamente pagas ainda) entre as datas. (Nota: as datas são no formato dd-MM-aaaa hh:mm:ss Ex: 24-02-2007 14:35:22)
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 /SIBSClick/webservice/clicksmsV4.asmx HTTP/1.1
Host: hm.comprafacil.pt
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://hm.comprafacil.pt/SIBSClick/webservice/getInfo"
<?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>
<getInfo xmlns="http://hm.comprafacil.pt/SIBSClick/webservice/">
<IDCliente>string</IDCliente>
<password>string</password>
<dataInicialStr>string</dataInicialStr>
<dataFinalStr>string</dataFinalStr>
<tipo>string</tipo>
</getInfo>
</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>
<getInfoResponse xmlns="http://hm.comprafacil.pt/SIBSClick/webservice/">
<getInfoResult>boolean</getInfoResult>
<referencias>string</referencias>
<IDs>string</IDs>
<error>string</error>
</getInfoResponse>
</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 /SIBSClick/webservice/clicksmsV4.asmx HTTP/1.1
Host: hm.comprafacil.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>
<getInfo xmlns="http://hm.comprafacil.pt/SIBSClick/webservice/">
<IDCliente>string</IDCliente>
<password>string</password>
<dataInicialStr>string</dataInicialStr>
<dataFinalStr>string</dataFinalStr>
<tipo>string</tipo>
</getInfo>
</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>
<getInfoResponse xmlns="http://hm.comprafacil.pt/SIBSClick/webservice/">
<getInfoResult>boolean</getInfoResult>
<referencias>string</referencias>
<IDs>string</IDs>
<error>string</error>
</getInfoResponse>
</soap12:Body>
</soap12:Envelope>