| GET, POST | /fibuscan/DokumentDownloadBeiBNR |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports FIBUdataServiceStack.ServiceModel.Messages
Imports FIBUdataServiceStack.ServiceModel.Models
Namespace Global
Namespace FIBUdataServiceStack.ServiceModel.Messages
Public Partial Class BeraterDokumentDownloadListeRequest
Public Overridable Property Mandnr As Long
Public Overridable Property Bnr As Long
End Class
Public Partial Class BeraterDokumentDownloadListeResponse
Public Sub New()
dokument = New List(Of dokumente)
End Sub
Public Overridable Property dokument As List(Of dokumente)
End Class
End Namespace
Namespace FIBUdataServiceStack.ServiceModel.Models
Public Partial Class dokumente
Implements IPrimaryKey
Implements IMandnr
Implements IDel
Implements ITableBaseErstelltAenderung
Public Overridable Property ID As Nullable(Of Long)
Public Overridable Property _erstellt As Nullable(Of Date)
Public Overridable Property _aenderung As Nullable(Of Date)
Public Overridable Property mandant As Nullable(Of Long)
Public Overridable Property Datenindex As Nullable(Of Long)
Public Overridable Property Dateiname As String
Public Overridable Property zip_dateiname As String
Public Overridable Property SubPfad As String
Public Overridable Property Upload As Nullable(Of Integer)
Public Overridable Property DownloadExt As Nullable(Of Integer)
Public Overridable Property Datum As Nullable(Of Date)
Public Overridable Property Link As String
Public Overridable Property anlagen As String
Public Overridable Property metadaten As String
Public Overridable Property dateityp As Nullable(Of Integer)
Public Overridable Property del As Nullable(Of Long)
Public Overridable Property hash As String
Public Overridable Property guid As String
<Ignore>
Public Overridable Property server_hash As String
<Ignore>
Public Overridable Property PrimaryKey As Nullable(Of Long)
End Class
End Namespace
End Namespace
VB.NET BeraterDokumentDownloadListeRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/DokumentDownloadBeiBNR HTTP/1.1
Host: ws4.fibudata.net
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Mandnr":0,"Bnr":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"dokument":[{"ID":0,"_erstellt":"\/Date(-62135596800000-0000)\/","_aenderung":"\/Date(-62135596800000-0000)\/","mandant":0,"Datenindex":0,"Dateiname":"String","zip_dateiname":"String","SubPfad":"String","Upload":0,"DownloadExt":0,"Datum":"\/Date(-62135596800000-0000)\/","Link":"String","anlagen":"String","metadaten":"String","dateityp":0,"del":0,"hash":"String","guid":"String","server_hash":"String","PrimaryKey":0}]}