Unico3.Link.API

<back to all web services

Scadenza

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

public class dtos
{

    public static class Scadenza
    {
        public String CodiceExport = null;
        public Integer Id = 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 String NumeroDocumento = null;
        public String SuffissoDocumento = null;
        public Date DataDocumento = null;
        public String DescrizioneTipologiaDocumento = null;
        
        public String getCodiceExport() { return CodiceExport; }
        public Scadenza setCodiceExport(String value) { this.CodiceExport = value; return this; }
        public Integer getId() { return Id; }
        public Scadenza setId(Integer value) { this.Id = value; return this; }
        public SezioneScadenza getAttivaPassiva() { return AttivaPassiva; }
        public Scadenza setAttivaPassiva(SezioneScadenza value) { this.AttivaPassiva = value; return this; }
        public TipoScadenza getTipo() { return Tipo; }
        public Scadenza setTipo(TipoScadenza value) { this.Tipo = value; return this; }
        public StatoScadenza getStato() { return Stato; }
        public Scadenza setStato(StatoScadenza value) { this.Stato = value; return this; }
        public FK_Anagrafica getAnagrafica() { return Anagrafica; }
        public Scadenza setAnagrafica(FK_Anagrafica value) { this.Anagrafica = value; return this; }
        public Double getImporto() { return Importo; }
        public Scadenza setImporto(Double value) { this.Importo = value; return this; }
        public Date getDataScadenza() { return DataScadenza; }
        public Scadenza setDataScadenza(Date value) { this.DataScadenza = value; return this; }
        public String getNumeroDocumento() { return NumeroDocumento; }
        public Scadenza setNumeroDocumento(String value) { this.NumeroDocumento = value; return this; }
        public String getSuffissoDocumento() { return SuffissoDocumento; }
        public Scadenza setSuffissoDocumento(String value) { this.SuffissoDocumento = value; return this; }
        public Date getDataDocumento() { return DataDocumento; }
        public Scadenza setDataDocumento(Date value) { this.DataDocumento = value; return this; }
        public String getDescrizioneTipologiaDocumento() { return DescrizioneTipologiaDocumento; }
        public Scadenza setDescrizioneTipologiaDocumento(String value) { this.DescrizioneTipologiaDocumento = 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 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 Scadenza 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/scadenze/ HTTP/1.1 
Host: unico3.link.api 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"CodiceExport":"String","Id":0,"AttivaPassiva":"ATTIVA","Tipo":"Bonifico","Stato":"Aperto","Anagrafica":{"Codice":0,"CodiceExport":"String","Id":0},"Importo":0,"DataScadenza":"0001-01-01T00:00:00.0000000","NumeroDocumento":"String","SuffissoDocumento":"String","DataDocumento":"0001-01-01T00:00:00.0000000","DescrizioneTipologiaDocumento":"String"}