FIBUdataServiceStack

<back to all web services

WaehrungskurseAbfragenRequest

The following routes are available for this service:
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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

{
	Von: 0001-01-01,
	Bis: 0001-01-01,
	Waehrung: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResultDictionary: 
	{
		0001-01-01: 
		{
			id: 0,
			iso4217: String,
			datum: 0001-01-01,
			betrag: 0,
			del: 0,
			_erstellt: 0001-01-01,
			_aenderung: 0001-01-01,
			PrimaryKey: 0
		}
	}
}