| GET | /documenti/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 Scadenza
Public Overridable Property CodiceExport As String
Public Overridable Property Id As Nullable(Of Integer)
Public Overridable Property AttivaPassiva As Nullable(Of SezioneScadenza)
Public Overridable Property Tipo As Nullable(Of TipoScadenza)
Public Overridable Property Stato As Nullable(Of StatoScadenza)
Public Overridable Property Anagrafica As FK_Anagrafica
Public Overridable Property Importo As Nullable(Of Double)
Public Overridable Property DataScadenza As Nullable(Of Date)
Public Overridable Property NumeroDocumento As String
Public Overridable Property SuffissoDocumento As String
Public Overridable Property DataDocumento As Nullable(Of Date)
Public Overridable Property DescrizioneTipologiaDocumento As String
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/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"}