| GET, POST | /fibuscan/DokumentDownload |
|---|
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 DokumentDownloadRequest
Public Overridable Property expression As String
End Class
Public Partial Class DokumentDownloadResponse
Public Sub New()
dokument_bin = New Byte(){}
End Sub
Public Overridable Property dokument_bin As Byte()
Public Overridable Property dokument As 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 DokumentDownloadRequest 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/DokumentDownload HTTP/1.1
Host: ws4.fibudata.net
Accept: application/json
Content-Type: application/json
Content-Length: length
{"expression":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"dokument_bin":"AA==","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}}