| GET, POST | /fibuscan/WaehrungsAbfragen |
|---|
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 WaehrungskurseAbfragenRequest
Public Overridable Property Von As Nullable(Of Date)
Public Overridable Property Bis As Nullable(Of Date)
Public Overridable Property Waehrung As String
End Class
Public Partial Class WaehrungskurseAbfragenResponse
Public Sub New()
ResultDictionary = New Dictionary(Of Date, waehrungskurse)
End Sub
Public Overridable Property ResultDictionary As Dictionary(Of Date, waehrungskurse)
End Class
End Namespace
Namespace FIBUdataServiceStack.ServiceModel.Models
Public Partial Class waehrungskurse
Implements IPrimaryKey
Implements IDel
Implements ITableBase
Public Overridable Property id As Nullable(Of Long)
Public Overridable Property iso4217 As String
Public Overridable Property datum As Nullable(Of Date)
Public Overridable Property betrag As Nullable(Of Decimal)
Public Overridable Property del As Nullable(Of Long)
Public Overridable Property _erstellt As Nullable(Of Date)
Public Overridable Property _aenderung As Nullable(Of Date)
<Ignore>
Public Overridable Property PrimaryKey As Nullable(Of Long)
End Class
End Namespace
End Namespace
VB.NET WaehrungskurseAbfragenRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/WaehrungsAbfragen HTTP/1.1
Host: ws4.fibudata.net
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Von":"\/Date(-62135596800000-0000)\/","Bis":"\/Date(-62135596800000-0000)\/","Waehrung":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResultDictionary":{"\/Date(-62135596800000-0000)\/":{"id":0,"iso4217":"String","datum":"\/Date(-62135596800000-0000)\/","betrag":0,"del":0,"_erstellt":"\/Date(-62135596800000-0000)\/","_aenderung":"\/Date(-62135596800000-0000)\/","PrimaryKey":0}}}