RestAPI


Fare clic qui per ottenere l'elenco completo delle operazioni.

registerApp

Test

Per eseguire il test dell'operazione utilizzando il protocollo HTTP POST, fare clic sul pulsante Richiama.
Parametro Valore
token:
nome:
cognome:
denominazione:
email:
partitaIVA:
codiceFiscale:
isPersonaFisica:
idPaese:
provincia:
comune:
cap:
indirizzo:
password:
regimeFiscale:
naturaEsenzioneIVA:
checkTerms:
checkSign:
checkPrivacyOfferte:
checkPrivacyRilevazioneQualita:
checkPrivacyRicercheMercato:

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

<?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>
    <registerApp xmlns="http://tempuri.org/">
      <token>string</token>
      <nome>string</nome>
      <cognome>string</cognome>
      <denominazione>string</denominazione>
      <email>string</email>
      <partitaIVA>string</partitaIVA>
      <codiceFiscale>string</codiceFiscale>
      <isPersonaFisica>string</isPersonaFisica>
      <idPaese>string</idPaese>
      <provincia>string</provincia>
      <comune>string</comune>
      <cap>string</cap>
      <indirizzo>string</indirizzo>
      <password>string</password>
      <regimeFiscale>string</regimeFiscale>
      <naturaEsenzioneIVA>string</naturaEsenzioneIVA>
      <checkTerms>int</checkTerms>
      <checkSign>int</checkSign>
      <checkPrivacyOfferte>int</checkPrivacyOfferte>
      <checkPrivacyRilevazioneQualita>int</checkPrivacyRilevazioneQualita>
      <checkPrivacyRicercheMercato>int</checkPrivacyRicercheMercato>
    </registerApp>
  </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>
    <registerAppResponse xmlns="http://tempuri.org/">
      <registerAppResult>string</registerAppResult>
    </registerAppResponse>
  </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>
    <registerApp xmlns="http://tempuri.org/">
      <token>string</token>
      <nome>string</nome>
      <cognome>string</cognome>
      <denominazione>string</denominazione>
      <email>string</email>
      <partitaIVA>string</partitaIVA>
      <codiceFiscale>string</codiceFiscale>
      <isPersonaFisica>string</isPersonaFisica>
      <idPaese>string</idPaese>
      <provincia>string</provincia>
      <comune>string</comune>
      <cap>string</cap>
      <indirizzo>string</indirizzo>
      <password>string</password>
      <regimeFiscale>string</regimeFiscale>
      <naturaEsenzioneIVA>string</naturaEsenzioneIVA>
      <checkTerms>int</checkTerms>
      <checkSign>int</checkSign>
      <checkPrivacyOfferte>int</checkPrivacyOfferte>
      <checkPrivacyRilevazioneQualita>int</checkPrivacyRilevazioneQualita>
      <checkPrivacyRicercheMercato>int</checkPrivacyRicercheMercato>
    </registerApp>
  </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>
    <registerAppResponse xmlns="http://tempuri.org/">
      <registerAppResult>string</registerAppResult>
    </registerAppResponse>
  </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/registerApp?token=string&nome=string&cognome=string&denominazione=string&email=string&partitaIVA=string&codiceFiscale=string&isPersonaFisica=string&idPaese=string&provincia=string&comune=string&cap=string&indirizzo=string&password=string&regimeFiscale=string&naturaEsenzioneIVA=string&checkTerms=string&checkSign=string&checkPrivacyOfferte=string&checkPrivacyRilevazioneQualita=string&checkPrivacyRicercheMercato=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/registerApp HTTP/1.1
Host: fattura.effatta.it
Content-Type: application/x-www-form-urlencoded
Content-Length: length

token=string&nome=string&cognome=string&denominazione=string&email=string&partitaIVA=string&codiceFiscale=string&isPersonaFisica=string&idPaese=string&provincia=string&comune=string&cap=string&indirizzo=string&password=string&regimeFiscale=string&naturaEsenzioneIVA=string&checkTerms=string&checkSign=string&checkPrivacyOfferte=string&checkPrivacyRilevazioneQualita=string&checkPrivacyRicercheMercato=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>