DbService


Click here for a complete list of operations.

Ordi_Write

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 /dbservice.asmx HTTP/1.1
Host: www.fborghi.it
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/Ordi_Write"

<?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>
    <Ordi_Write xmlns="http://tempuri.org/">
      <iLoginData>
        <SecurKey>string</SecurKey>
        <CompanyName>string</CompanyName>
        <PathDatabase>string</PathDatabase>
        <Application_Config>string</Application_Config>
        <Application_DBName>string</Application_DBName>
        <Application_DBConnString>string</Application_DBConnString>
        <UserName>string</UserName>
        <UserProfile>string</UserProfile>
        <UserIsAdmin>boolean</UserIsAdmin>
        <Culture>string</Culture>
        <ReturnMessage>string</ReturnMessage>
      </iLoginData>
      <ClsIn>
        <Numero>string</Numero>
        <DatiDoc>
          <TipoDocumento>string</TipoDocumento>
          <Stato>string</Stato>
          <Num_Es>
            <Serie>string</Serie>
            <Numero>int</Numero>
            <Ext>string</Ext>
            <Data>dateTime</Data>
            <Anno>int</Anno>
          </Num_Es>
          <DataDoc>dateTime</DataDoc>
          <CliForFat>string</CliForFat>
          <CliForDest>string</CliForDest>
          <Note>string</Note>
          <Valuta>string</Valuta>
          <Pagam>string</Pagam>
          <Agente>string</Agente>
          <SubAgente>string</SubAgente>
          <Iva>
            <PercIVA>float</PercIVA>
            <PercINDED>float</PercINDED>
            <Esenz>string</Esenz>
            <Esenz_Desc>string</Esenz_Desc>
            <Omaggio>boolean</Omaggio>
          </Iva>
          <TotImpon>double</TotImpon>
          <TotIVA>double</TotIVA>
          <TotEsenzioni>double</TotEsenzioni>
          <TotFat>double</TotFat>
          <ElencoScadenze>string</ElencoScadenze>
          <ElencoIVA>string</ElencoIVA>
        </DatiDoc>
        <DataCons>dateTime</DataCons>
        <VsRif>string</VsRif>
        <Stato>string</Stato>
        <Evaso>boolean</Evaso>
        <aRighe>
          <OrdiniCliente_Riga>
            <DatiTestata xsi:nil="true" />
            <Prodotto xsi:nil="true" />
            <QtaCons xsi:nil="true" />
            <QtaRim xsi:nil="true" />
            <QtaLan xsi:nil="true" />
            <QtaPro xsi:nil="true" />
            <QtaImp xsi:nil="true" />
            <NumPP>long</NumPP>
            <Qta_UnMis1 xsi:nil="true" />
            <QtaCons_UnMis1 xsi:nil="true" />
            <DataPCons>dateTime</DataPCons>
            <DataRCons>dateTime</DataRCons>
            <DataLanProd>dateTime</DataLanProd>
            <DataPProd>dateTime</DataPProd>
            <DataEvasione>dateTime</DataEvasione>
            <TempoInst>float</TempoInst>
          </OrdiniCliente_Riga>
          <OrdiniCliente_Riga>
            <DatiTestata xsi:nil="true" />
            <Prodotto xsi:nil="true" />
            <QtaCons xsi:nil="true" />
            <QtaRim xsi:nil="true" />
            <QtaLan xsi:nil="true" />
            <QtaPro xsi:nil="true" />
            <QtaImp xsi:nil="true" />
            <NumPP>long</NumPP>
            <Qta_UnMis1 xsi:nil="true" />
            <QtaCons_UnMis1 xsi:nil="true" />
            <DataPCons>dateTime</DataPCons>
            <DataRCons>dateTime</DataRCons>
            <DataLanProd>dateTime</DataLanProd>
            <DataPProd>dateTime</DataPProd>
            <DataEvasione>dateTime</DataEvasione>
            <TempoInst>float</TempoInst>
          </OrdiniCliente_Riga>
        </aRighe>
        <ReturnMessage>string</ReturnMessage>
      </ClsIn>
      <SaveDetails>boolean</SaveDetails>
    </Ordi_Write>
  </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>
    <Ordi_WriteResponse xmlns="http://tempuri.org/">
      <Ordi_WriteResult>
        <Value>string</Value>
        <ReturnMessage>string</ReturnMessage>
      </Ordi_WriteResult>
    </Ordi_WriteResponse>
  </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 /dbservice.asmx HTTP/1.1
Host: www.fborghi.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>
    <Ordi_Write xmlns="http://tempuri.org/">
      <iLoginData>
        <SecurKey>string</SecurKey>
        <CompanyName>string</CompanyName>
        <PathDatabase>string</PathDatabase>
        <Application_Config>string</Application_Config>
        <Application_DBName>string</Application_DBName>
        <Application_DBConnString>string</Application_DBConnString>
        <UserName>string</UserName>
        <UserProfile>string</UserProfile>
        <UserIsAdmin>boolean</UserIsAdmin>
        <Culture>string</Culture>
        <ReturnMessage>string</ReturnMessage>
      </iLoginData>
      <ClsIn>
        <Numero>string</Numero>
        <DatiDoc>
          <TipoDocumento>string</TipoDocumento>
          <Stato>string</Stato>
          <Num_Es>
            <Serie>string</Serie>
            <Numero>int</Numero>
            <Ext>string</Ext>
            <Data>dateTime</Data>
            <Anno>int</Anno>
          </Num_Es>
          <DataDoc>dateTime</DataDoc>
          <CliForFat>string</CliForFat>
          <CliForDest>string</CliForDest>
          <Note>string</Note>
          <Valuta>string</Valuta>
          <Pagam>string</Pagam>
          <Agente>string</Agente>
          <SubAgente>string</SubAgente>
          <Iva>
            <PercIVA>float</PercIVA>
            <PercINDED>float</PercINDED>
            <Esenz>string</Esenz>
            <Esenz_Desc>string</Esenz_Desc>
            <Omaggio>boolean</Omaggio>
          </Iva>
          <TotImpon>double</TotImpon>
          <TotIVA>double</TotIVA>
          <TotEsenzioni>double</TotEsenzioni>
          <TotFat>double</TotFat>
          <ElencoScadenze>string</ElencoScadenze>
          <ElencoIVA>string</ElencoIVA>
        </DatiDoc>
        <DataCons>dateTime</DataCons>
        <VsRif>string</VsRif>
        <Stato>string</Stato>
        <Evaso>boolean</Evaso>
        <aRighe>
          <OrdiniCliente_Riga>
            <DatiTestata xsi:nil="true" />
            <Prodotto xsi:nil="true" />
            <QtaCons xsi:nil="true" />
            <QtaRim xsi:nil="true" />
            <QtaLan xsi:nil="true" />
            <QtaPro xsi:nil="true" />
            <QtaImp xsi:nil="true" />
            <NumPP>long</NumPP>
            <Qta_UnMis1 xsi:nil="true" />
            <QtaCons_UnMis1 xsi:nil="true" />
            <DataPCons>dateTime</DataPCons>
            <DataRCons>dateTime</DataRCons>
            <DataLanProd>dateTime</DataLanProd>
            <DataPProd>dateTime</DataPProd>
            <DataEvasione>dateTime</DataEvasione>
            <TempoInst>float</TempoInst>
          </OrdiniCliente_Riga>
          <OrdiniCliente_Riga>
            <DatiTestata xsi:nil="true" />
            <Prodotto xsi:nil="true" />
            <QtaCons xsi:nil="true" />
            <QtaRim xsi:nil="true" />
            <QtaLan xsi:nil="true" />
            <QtaPro xsi:nil="true" />
            <QtaImp xsi:nil="true" />
            <NumPP>long</NumPP>
            <Qta_UnMis1 xsi:nil="true" />
            <QtaCons_UnMis1 xsi:nil="true" />
            <DataPCons>dateTime</DataPCons>
            <DataRCons>dateTime</DataRCons>
            <DataLanProd>dateTime</DataLanProd>
            <DataPProd>dateTime</DataPProd>
            <DataEvasione>dateTime</DataEvasione>
            <TempoInst>float</TempoInst>
          </OrdiniCliente_Riga>
        </aRighe>
        <ReturnMessage>string</ReturnMessage>
      </ClsIn>
      <SaveDetails>boolean</SaveDetails>
    </Ordi_Write>
  </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>
    <Ordi_WriteResponse xmlns="http://tempuri.org/">
      <Ordi_WriteResult>
        <Value>string</Value>
        <ReturnMessage>string</ReturnMessage>
      </Ordi_WriteResult>
    </Ordi_WriteResponse>
  </soap12:Body>
</soap12:Envelope>