ec


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

SalvaOrdine

Test

Il form di test è disponibile solo per le richieste dal computer locale.

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 /ec.asmx HTTP/1.1
Host: ws.jolandadecolo.it
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://jolandadecolo.it/SalvaOrdine"

<?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>
    <SalvaOrdine xmlns="http://jolandadecolo.it/">
      <ord_cli>
        <id_ord>int</id_ord>
        <dt_ord>dateTime</dt_ord>
        <sp_sped>double</sp_sped>
        <nome>string</nome>
        <cognome>string</cognome>
        <indirizzo>string</indirizzo>
        <cap>string</cap>
        <localita>string</localita>
        <cod_prov>string</cod_prov>
        <cod_fisc>string</cod_fisc>
        <part_iva>string</part_iva>
        <tel>string</tel>
        <email>string</email>
        <nome_dest>string</nome_dest>
        <indirizzo_dest>string</indirizzo_dest>
        <cap_dest>string</cap_dest>
        <localita_dest>string</localita_dest>
        <cod_prov_dest>string</cod_prov_dest>
        <tel_dest>string</tel_dest>
        <note>string</note>
        <paymentid>string</paymentid>
        <tranid>string</tranid>
        <payment_data>string</payment_data>
        <cod_art_spsped>string</cod_art_spsped>
        <cod_iva_spsped>string</cod_iva_spsped>
        <aliq_iva_spsped>double</aliq_iva_spsped>
        <fl_fattura>string</fl_fattura>
        <righe>
          <OrdCliDet>
            <nr_riga>int</nr_riga>
            <cod_art>string</cod_art>
            <prezzo>double</prezzo>
            <qta_um_prz>double</qta_um_prz>
            <qta_um_cli>double</qta_um_cli>
            <aliq_iva>double</aliq_iva>
            <cod_iva>string</cod_iva>
          </OrdCliDet>
          <OrdCliDet>
            <nr_riga>int</nr_riga>
            <cod_art>string</cod_art>
            <prezzo>double</prezzo>
            <qta_um_prz>double</qta_um_prz>
            <qta_um_cli>double</qta_um_cli>
            <aliq_iva>double</aliq_iva>
            <cod_iva>string</cod_iva>
          </OrdCliDet>
        </righe>
      </ord_cli>
      <timestamp_utc>string</timestamp_utc>
      <check_code>string</check_code>
    </SalvaOrdine>
  </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>
    <SalvaOrdineResponse xmlns="http://jolandadecolo.it/">
      <SalvaOrdineResult>
        <err>int</err>
        <msg>string</msg>
        <data>int</data>
      </SalvaOrdineResult>
    </SalvaOrdineResponse>
  </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 /ec.asmx HTTP/1.1
Host: ws.jolandadecolo.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>
    <SalvaOrdine xmlns="http://jolandadecolo.it/">
      <ord_cli>
        <id_ord>int</id_ord>
        <dt_ord>dateTime</dt_ord>
        <sp_sped>double</sp_sped>
        <nome>string</nome>
        <cognome>string</cognome>
        <indirizzo>string</indirizzo>
        <cap>string</cap>
        <localita>string</localita>
        <cod_prov>string</cod_prov>
        <cod_fisc>string</cod_fisc>
        <part_iva>string</part_iva>
        <tel>string</tel>
        <email>string</email>
        <nome_dest>string</nome_dest>
        <indirizzo_dest>string</indirizzo_dest>
        <cap_dest>string</cap_dest>
        <localita_dest>string</localita_dest>
        <cod_prov_dest>string</cod_prov_dest>
        <tel_dest>string</tel_dest>
        <note>string</note>
        <paymentid>string</paymentid>
        <tranid>string</tranid>
        <payment_data>string</payment_data>
        <cod_art_spsped>string</cod_art_spsped>
        <cod_iva_spsped>string</cod_iva_spsped>
        <aliq_iva_spsped>double</aliq_iva_spsped>
        <fl_fattura>string</fl_fattura>
        <righe>
          <OrdCliDet>
            <nr_riga>int</nr_riga>
            <cod_art>string</cod_art>
            <prezzo>double</prezzo>
            <qta_um_prz>double</qta_um_prz>
            <qta_um_cli>double</qta_um_cli>
            <aliq_iva>double</aliq_iva>
            <cod_iva>string</cod_iva>
          </OrdCliDet>
          <OrdCliDet>
            <nr_riga>int</nr_riga>
            <cod_art>string</cod_art>
            <prezzo>double</prezzo>
            <qta_um_prz>double</qta_um_prz>
            <qta_um_cli>double</qta_um_cli>
            <aliq_iva>double</aliq_iva>
            <cod_iva>string</cod_iva>
          </OrdCliDet>
        </righe>
      </ord_cli>
      <timestamp_utc>string</timestamp_utc>
      <check_code>string</check_code>
    </SalvaOrdine>
  </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>
    <SalvaOrdineResponse xmlns="http://jolandadecolo.it/">
      <SalvaOrdineResult>
        <err>int</err>
        <msg>string</msg>
        <data>int</data>
      </SalvaOrdineResult>
    </SalvaOrdineResponse>
  </soap12:Body>
</soap12:Envelope>