| GET | /documenti/query/scadenze |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Unico3.Link.API.Messages.Documenti
Imports Unico3.Link.API.Messages
Namespace Global
Namespace Unico3.Link.API.Messages
Public Partial Class FK
Public Overridable Property Id As Nullable(Of Integer)
End Class
End Namespace
Namespace Unico3.Link.API.Messages.Documenti
Public Partial Class FK_Anagrafica
Inherits FK
Implements IUniqueCodiceNumerico
Implements IUniqueCodiceExport
Public Overridable Property Codice As Nullable(Of Integer)
Public Overridable Property CodiceExport As String
End Class
Public Partial Class QueryScadenze
Public Overridable Property AttivaPassiva As Nullable(Of SezioneScadenza)
Public Overridable Property DataScadenzaDa As Nullable(Of Date)
Public Overridable Property DataScadenzaA As Nullable(Of Date)
Public Overridable Property ModificatiDal As Nullable(Of Date)
Public Overridable Property CodiceAnagrafica As Nullable(Of Integer)
Public Overridable Property Tipo As Nullable(Of TipoScadenza)
Public Overridable Property Stato As Nullable(Of StatoScadenza)
Public Overridable Property Skip As Nullable(Of Integer)
Public Overridable Property Take As Nullable(Of Integer)
End Class
Public Partial Class QueryScadenzeResponse
Public Sub New()
Risultati = New List(Of ScadenzaElenco)
End Sub
Public Overridable Property Totale As Integer
Public Overridable Property Skip As Integer
Public Overridable Property Take As Integer
Public Overridable Property Risultati As List(Of ScadenzaElenco)
End Class
Public Partial Class ScadenzaElenco
Public Overridable Property Id As Integer
Public Overridable Property CodiceExport As String
Public Overridable Property AttivaPassiva As SezioneScadenza
Public Overridable Property Tipo As TipoScadenza
Public Overridable Property Stato As Nullable(Of StatoScadenza)
Public Overridable Property Anagrafica As FK_Anagrafica
Public Overridable Property Importo As Double
Public Overridable Property DataScadenza As Date
Public Overridable Property DataCompensazione As Nullable(Of Date)
Public Overridable Property DataDocumento As Date
Public Overridable Property DataUltimaModifica As Nullable(Of Date)
Public Overridable Property NumeroDocumento As String
Public Overridable Property SuffissoDocumento As String
Public Overridable Property DescrizioneTipologiaDocumento As String
Public Overridable Property NumeroInsoluto As Nullable(Of Integer)
Public Overridable Property NumeroPagamento As Nullable(Of Integer)
Public Overridable Property NumeroCompensazione As Nullable(Of Integer)
End Class
Public Enum SezioneScadenza
ATTIVA
PASSIVA
End Enum
Public Enum StatoScadenza
Aperto
Chiuso
Insoluto
Presentato
Contestuale
End Enum
Public Enum TipoScadenza
Bonifico
Insoluto
RID
RicevutaBancaria
RimessaDiretta
RitenutaAcconto
RitenutaEnasarco
ScontoBonus
SplitPayment
Tratta
End Enum
End Namespace
End Namespace
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/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}]}