RestAPI
Fare clic qui per ottenere l'elenco completo delle operazioni.
addCliente
Test
Per eseguire il test dell'operazione utilizzando il protocollo HTTP POST, fare clic sul pulsante Richiama.SOAP 1.1
Di seguito è riportato un esempio di richiesta e risposta SOAP 1.1. I segnaposto devono essere sostituiti con i valori appropriati.
POST /webservice/RestAPI.asmx HTTP/1.1
Host: fattura.effatta.it
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/addCliente"
<?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>
<addCliente xmlns="http://tempuri.org/">
<token>string</token>
<idMittente>string</idMittente>
<idPaese>string</idPaese>
<idCodice>string</idCodice>
<codiceFiscale>string</codiceFiscale>
<checkPersonaFisica>string</checkPersonaFisica>
<denominazione>string</denominazione>
<titolo>string</titolo>
<nome>string</nome>
<cognome>string</cognome>
<codEORI>string</codEORI>
<indirizzo>string</indirizzo>
<comune>string</comune>
<cap>string</cap>
<provincia>string</provincia>
<nazione>string</nazione>
<pecDestinatario>string</pecDestinatario>
<soggettoPrivato>string</soggettoPrivato>
<codiceDestinatario>string</codiceDestinatario>
<telefono>string</telefono>
<fax>string</fax>
<referente>string</referente>
<referentePartitaIva>string</referentePartitaIva>
</addCliente>
</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>
<addClienteResponse xmlns="http://tempuri.org/">
<addClienteResult>string</addClienteResult>
</addClienteResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
Di seguito è riportato un esempio di richiesta e risposta SOAP 1.2. I segnaposto devono essere sostituiti con i valori appropriati.
POST /webservice/RestAPI.asmx HTTP/1.1
Host: fattura.effatta.it
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>
<addCliente xmlns="http://tempuri.org/">
<token>string</token>
<idMittente>string</idMittente>
<idPaese>string</idPaese>
<idCodice>string</idCodice>
<codiceFiscale>string</codiceFiscale>
<checkPersonaFisica>string</checkPersonaFisica>
<denominazione>string</denominazione>
<titolo>string</titolo>
<nome>string</nome>
<cognome>string</cognome>
<codEORI>string</codEORI>
<indirizzo>string</indirizzo>
<comune>string</comune>
<cap>string</cap>
<provincia>string</provincia>
<nazione>string</nazione>
<pecDestinatario>string</pecDestinatario>
<soggettoPrivato>string</soggettoPrivato>
<codiceDestinatario>string</codiceDestinatario>
<telefono>string</telefono>
<fax>string</fax>
<referente>string</referente>
<referentePartitaIva>string</referentePartitaIva>
</addCliente>
</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>
<addClienteResponse xmlns="http://tempuri.org/">
<addClienteResult>string</addClienteResult>
</addClienteResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
Di seguito è riportato un esempio di richiesta e risposta HTTP GET. I segnaposto devono essere sostituiti con i valori appropriati.
GET /webservice/RestAPI.asmx/addCliente?token=string&idMittente=string&idPaese=string&idCodice=string&codiceFiscale=string&checkPersonaFisica=string&denominazione=string&titolo=string&nome=string&cognome=string&codEORI=string&indirizzo=string&comune=string&cap=string&provincia=string&nazione=string&pecDestinatario=string&soggettoPrivato=string&codiceDestinatario=string&telefono=string&fax=string&referente=string&referentePartitaIva=string HTTP/1.1 Host: fattura.effatta.it
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>
HTTP POST
Di seguito è riportato un esempio di richiesta e risposta HTTP POST. I segnaposto devono essere sostituiti con i valori appropriati.
POST /webservice/RestAPI.asmx/addCliente HTTP/1.1 Host: fattura.effatta.it Content-Type: application/x-www-form-urlencoded Content-Length: length token=string&idMittente=string&idPaese=string&idCodice=string&codiceFiscale=string&checkPersonaFisica=string&denominazione=string&titolo=string&nome=string&cognome=string&codEORI=string&indirizzo=string&comune=string&cap=string&provincia=string&nazione=string&pecDestinatario=string&soggettoPrivato=string&codiceDestinatario=string&telefono=string&fax=string&referente=string&referentePartitaIva=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>