| GET | /documenti/scadenze/ |
|---|
namespace Unico3.Link.API.Messages
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
type SezioneScadenza =
| ATTIVA = 0
| PASSIVA = 1
type TipoScadenza =
| Bonifico = 0
| Insoluto = 1
| RID = 2
| RicevutaBancaria = 3
| RimessaDiretta = 4
| RitenutaAcconto = 5
| RitenutaEnasarco = 6
| ScontoBonus = 7
| SplitPayment = 8
| Tratta = 9
type StatoScadenza =
| Aperto = 0
| Chiuso = 1
| Insoluto = 2
| Presentato = 3
| Contestuale = 4
[<AllowNullLiteral>]
type FK() =
member val Id:Nullable<Int32> = new Nullable<Int32>() with get,set
[<AllowNullLiteral>]
type FK_Anagrafica() =
inherit FK()
member val Codice:Nullable<Int32> = new Nullable<Int32>() with get,set
member val CodiceExport:String = null with get,set
[<AllowNullLiteral>]
type Scadenza() =
member val CodiceExport:String = null with get,set
member val Id:Nullable<Int32> = new Nullable<Int32>() with get,set
member val AttivaPassiva:Nullable<SezioneScadenza> = new Nullable<SezioneScadenza>() with get,set
member val Tipo:Nullable<TipoScadenza> = new Nullable<TipoScadenza>() with get,set
member val Stato:Nullable<StatoScadenza> = new Nullable<StatoScadenza>() with get,set
member val Anagrafica:FK_Anagrafica = null with get,set
member val Importo:Nullable<Double> = new Nullable<Double>() with get,set
member val DataScadenza:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val NumeroDocumento:String = null with get,set
member val SuffissoDocumento:String = null with get,set
member val DataDocumento:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val DescrizioneTipologiaDocumento:String = null with get,set
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
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"}