Unico3.Link.API

<back to all web services

QueryScadenze

Documenti
The following routes are available for this service:
GET/documenti/query/scadenze
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class QueryScadenze
    {
        public SezioneScadenza AttivaPassiva = null;
        public Date DataScadenzaDa = null;
        public Date DataScadenzaA = null;
        public Date ModificatiDal = null;
        public Integer CodiceAnagrafica = null;
        public TipoScadenza Tipo = null;
        public StatoScadenza Stato = null;
        public Integer Skip = null;
        public Integer Take = null;
        
        public SezioneScadenza getAttivaPassiva() { return AttivaPassiva; }
        public QueryScadenze setAttivaPassiva(SezioneScadenza value) { this.AttivaPassiva = value; return this; }
        public Date getDataScadenzaDa() { return DataScadenzaDa; }
        public QueryScadenze setDataScadenzaDa(Date value) { this.DataScadenzaDa = value; return this; }
        public Date getDataScadenzaA() { return DataScadenzaA; }
        public QueryScadenze setDataScadenzaA(Date value) { this.DataScadenzaA = value; return this; }
        public Date getModificatiDal() { return ModificatiDal; }
        public QueryScadenze setModificatiDal(Date value) { this.ModificatiDal = value; return this; }
        public Integer getCodiceAnagrafica() { return CodiceAnagrafica; }
        public QueryScadenze setCodiceAnagrafica(Integer value) { this.CodiceAnagrafica = value; return this; }
        public TipoScadenza getTipo() { return Tipo; }
        public QueryScadenze setTipo(TipoScadenza value) { this.Tipo = value; return this; }
        public StatoScadenza getStato() { return Stato; }
        public QueryScadenze setStato(StatoScadenza value) { this.Stato = value; return this; }
        public Integer getSkip() { return Skip; }
        public QueryScadenze setSkip(Integer value) { this.Skip = value; return this; }
        public Integer getTake() { return Take; }
        public QueryScadenze setTake(Integer value) { this.Take = value; return this; }
    }

    public static enum SezioneScadenza
    {
        Attiva,
        Passiva;
    }

    public static enum TipoScadenza
    {
        Bonifico,
        Insoluto,
        Rid,
        RicevutaBancaria,
        RimessaDiretta,
        RitenutaAcconto,
        RitenutaEnasarco,
        ScontoBonus,
        SplitPayment,
        Tratta;
    }

    public static enum StatoScadenza
    {
        Aperto,
        Chiuso,
        Insoluto,
        Presentato,
        Contestuale;
    }

    public static class QueryScadenzeResponse
    {
        public Integer Totale = null;
        public Integer Skip = null;
        public Integer Take = null;
        public ArrayList<ScadenzaElenco> Risultati = null;
        
        public Integer getTotale() { return Totale; }
        public QueryScadenzeResponse setTotale(Integer value) { this.Totale = value; return this; }
        public Integer getSkip() { return Skip; }
        public QueryScadenzeResponse setSkip(Integer value) { this.Skip = value; return this; }
        public Integer getTake() { return Take; }
        public QueryScadenzeResponse setTake(Integer value) { this.Take = value; return this; }
        public ArrayList<ScadenzaElenco> getRisultati() { return Risultati; }
        public QueryScadenzeResponse setRisultati(ArrayList<ScadenzaElenco> value) { this.Risultati = value; return this; }
    }

    public static class ScadenzaElenco
    {
        public Integer Id = null;
        public String CodiceExport = null;
        public SezioneScadenza AttivaPassiva = null;
        public TipoScadenza Tipo = null;
        public StatoScadenza Stato = null;
        public FK_Anagrafica Anagrafica = null;
        public Double Importo = null;
        public Date DataScadenza = null;
        public Date DataCompensazione = null;
        public Date DataDocumento = null;
        public Date DataUltimaModifica = null;
        public String NumeroDocumento = null;
        public String SuffissoDocumento = null;
        public String DescrizioneTipologiaDocumento = null;
        public Integer NumeroInsoluto = null;
        public Integer NumeroPagamento = null;
        public Integer NumeroCompensazione = null;
        
        public Integer getId() { return Id; }
        public ScadenzaElenco setId(Integer value) { this.Id = value; return this; }
        public String getCodiceExport() { return CodiceExport; }
        public ScadenzaElenco setCodiceExport(String value) { this.CodiceExport = value; return this; }
        public SezioneScadenza getAttivaPassiva() { return AttivaPassiva; }
        public ScadenzaElenco setAttivaPassiva(SezioneScadenza value) { this.AttivaPassiva = value; return this; }
        public TipoScadenza getTipo() { return Tipo; }
        public ScadenzaElenco setTipo(TipoScadenza value) { this.Tipo = value; return this; }
        public StatoScadenza getStato() { return Stato; }
        public ScadenzaElenco setStato(StatoScadenza value) { this.Stato = value; return this; }
        public FK_Anagrafica getAnagrafica() { return Anagrafica; }
        public ScadenzaElenco setAnagrafica(FK_Anagrafica value) { this.Anagrafica = value; return this; }
        public Double getImporto() { return Importo; }
        public ScadenzaElenco setImporto(Double value) { this.Importo = value; return this; }
        public Date getDataScadenza() { return DataScadenza; }
        public ScadenzaElenco setDataScadenza(Date value) { this.DataScadenza = value; return this; }
        public Date getDataCompensazione() { return DataCompensazione; }
        public ScadenzaElenco setDataCompensazione(Date value) { this.DataCompensazione = value; return this; }
        public Date getDataDocumento() { return DataDocumento; }
        public ScadenzaElenco setDataDocumento(Date value) { this.DataDocumento = value; return this; }
        public Date getDataUltimaModifica() { return DataUltimaModifica; }
        public ScadenzaElenco setDataUltimaModifica(Date value) { this.DataUltimaModifica = value; return this; }
        public String getNumeroDocumento() { return NumeroDocumento; }
        public ScadenzaElenco setNumeroDocumento(String value) { this.NumeroDocumento = value; return this; }
        public String getSuffissoDocumento() { return SuffissoDocumento; }
        public ScadenzaElenco setSuffissoDocumento(String value) { this.SuffissoDocumento = value; return this; }
        public String getDescrizioneTipologiaDocumento() { return DescrizioneTipologiaDocumento; }
        public ScadenzaElenco setDescrizioneTipologiaDocumento(String value) { this.DescrizioneTipologiaDocumento = value; return this; }
        public Integer getNumeroInsoluto() { return NumeroInsoluto; }
        public ScadenzaElenco setNumeroInsoluto(Integer value) { this.NumeroInsoluto = value; return this; }
        public Integer getNumeroPagamento() { return NumeroPagamento; }
        public ScadenzaElenco setNumeroPagamento(Integer value) { this.NumeroPagamento = value; return this; }
        public Integer getNumeroCompensazione() { return NumeroCompensazione; }
        public ScadenzaElenco setNumeroCompensazione(Integer value) { this.NumeroCompensazione = value; return this; }
    }

    public static class FK_Anagrafica extends FK implements IUniqueCodiceNumerico, IUniqueCodiceExport
    {
        public Integer Codice = null;
        public String CodiceExport = null;
        
        public Integer getCodice() { return Codice; }
        public FK_Anagrafica setCodice(Integer value) { this.Codice = value; return this; }
        public String getCodiceExport() { return CodiceExport; }
        public FK_Anagrafica setCodiceExport(String value) { this.CodiceExport = value; return this; }
    }

    public static class FK
    {
        public Integer Id = null;
        
        public Integer getId() { return Id; }
        public FK setId(Integer value) { this.Id = value; return this; }
    }

}

Java QueryScadenze DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /documenti/query/scadenze HTTP/1.1 
Host: unico3.link.api 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Totale":0,"Skip":0,"Take":0,"Risultati":[{"Id":0,"CodiceExport":"String","AttivaPassiva":"ATTIVA","Tipo":"Bonifico","Stato":"Aperto","Anagrafica":{"Codice":0,"CodiceExport":"String","Id":0},"Importo":0,"DataScadenza":"0001-01-01T00:00:00.0000000","DataCompensazione":"0001-01-01T00:00:00.0000000","DataDocumento":"0001-01-01T00:00:00.0000000","DataUltimaModifica":"0001-01-01T00:00:00.0000000","NumeroDocumento":"String","SuffissoDocumento":"String","DescrizioneTipologiaDocumento":"String","NumeroInsoluto":0,"NumeroPagamento":0,"NumeroCompensazione":0}]}