DbService


Click here for a complete list of operations.

Fatt_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/Fatt_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>
    <Fatt_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>
        <Magaz>string</Magaz>
        <aRighe>
          <FattureCliente_Riga>
            <DatiTestata xsi:nil="true" />
            <Prodotto xsi:nil="true" />
            <Lotto1>string</Lotto1>
            <Lotto2>string</Lotto2>
            <Dipendente>string</Dipendente>
            <NonStampaPrezzo>boolean</NonStampaPrezzo>
            <RifBol xsi:nil="true" />
            <RifRicFisc>float</RifRicFisc>
            <NumOrd>long</NumOrd>
            <Utility_ArticoloMagaz>string</Utility_ArticoloMagaz>
          </FattureCliente_Riga>
          <FattureCliente_Riga>
            <DatiTestata xsi:nil="true" />
            <Prodotto xsi:nil="true" />
            <Lotto1>string</Lotto1>
            <Lotto2>string</Lotto2>
            <Dipendente>string</Dipendente>
            <NonStampaPrezzo>boolean</NonStampaPrezzo>
            <RifBol xsi:nil="true" />
            <RifRicFisc>float</RifRicFisc>
            <NumOrd>long</NumOrd>
            <Utility_ArticoloMagaz>string</Utility_ArticoloMagaz>
          </FattureCliente_Riga>
        </aRighe>
        <ReturnMessage>string</ReturnMessage>
      </ClsIn>
      <SaveDetails>boolean</SaveDetails>
    </Fatt_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>
    <Fatt_WriteResponse xmlns="http://tempuri.org/">
      <Fatt_WriteResult>
        <Value>string</Value>
        <ReturnMessage>string</ReturnMessage>
      </Fatt_WriteResult>
    </Fatt_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>
    <Fatt_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>
        <Magaz>string</Magaz>
        <aRighe>
          <FattureCliente_Riga>
            <DatiTestata xsi:nil="true" />
            <Prodotto xsi:nil="true" />
            <Lotto1>string</Lotto1>
            <Lotto2>string</Lotto2>
            <Dipendente>string</Dipendente>
            <NonStampaPrezzo>boolean</NonStampaPrezzo>
            <RifBol xsi:nil="true" />
            <RifRicFisc>float</RifRicFisc>
            <NumOrd>long</NumOrd>
            <Utility_ArticoloMagaz>string</Utility_ArticoloMagaz>
          </FattureCliente_Riga>
          <FattureCliente_Riga>
            <DatiTestata xsi:nil="true" />
            <Prodotto xsi:nil="true" />
            <Lotto1>string</Lotto1>
            <Lotto2>string</Lotto2>
            <Dipendente>string</Dipendente>
            <NonStampaPrezzo>boolean</NonStampaPrezzo>
            <RifBol xsi:nil="true" />
            <RifRicFisc>float</RifRicFisc>
            <NumOrd>long</NumOrd>
            <Utility_ArticoloMagaz>string</Utility_ArticoloMagaz>
          </FattureCliente_Riga>
        </aRighe>
        <ReturnMessage>string</ReturnMessage>
      </ClsIn>
      <SaveDetails>boolean</SaveDetails>
    </Fatt_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>
    <Fatt_WriteResponse xmlns="http://tempuri.org/">
      <Fatt_WriteResult>
        <Value>string</Value>
        <ReturnMessage>string</ReturnMessage>
      </Fatt_WriteResult>
    </Fatt_WriteResponse>
  </soap12:Body>
</soap12:Envelope>