RestAPI


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

updProdotto

Test

Per eseguire il test dell'operazione utilizzando il protocollo HTTP POST, fare clic sul pulsante Richiama.
Parametro Valore
token:
idMittente:
idProdotto:
codice:
denominazione:
um:
descrizione:
prezzounitario:

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

<?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>
    <updProdotto xmlns="http://tempuri.org/">
      <token>string</token>
      <idMittente>string</idMittente>
      <idProdotto>int</idProdotto>
      <codice>string</codice>
      <denominazione>string</denominazione>
      <um>string</um>
      <descrizione>string</descrizione>
      <prezzounitario>string</prezzounitario>
    </updProdotto>
  </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>
    <updProdottoResponse xmlns="http://tempuri.org/">
      <updProdottoResult>string</updProdottoResult>
    </updProdottoResponse>
  </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>
    <updProdotto xmlns="http://tempuri.org/">
      <token>string</token>
      <idMittente>string</idMittente>
      <idProdotto>int</idProdotto>
      <codice>string</codice>
      <denominazione>string</denominazione>
      <um>string</um>
      <descrizione>string</descrizione>
      <prezzounitario>string</prezzounitario>
    </updProdotto>
  </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>
    <updProdottoResponse xmlns="http://tempuri.org/">
      <updProdottoResult>string</updProdottoResult>
    </updProdottoResponse>
  </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/updProdotto?token=string&idMittente=string&idProdotto=string&codice=string&denominazione=string&um=string&descrizione=string&prezzounitario=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/updProdotto HTTP/1.1
Host: fattura.effatta.it
Content-Type: application/x-www-form-urlencoded
Content-Length: length

token=string&idMittente=string&idProdotto=string&codice=string&denominazione=string&um=string&descrizione=string&prezzounitario=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>