FIBUdataServiceStack

<back to all web services

WaehrungenSpeichernRequest

The following routes are available for this service:
GET, POST/fibuscan/Onlinehandel/WaehrungenSpeichern
namespace FIBUdataServiceStack.ServiceModel.Messages

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type WaehrungenSpeichernResponse() = 
        member val error:String = null with get,set
        member val result:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type NameValue() = 
        member val name:String = null with get,set
        member val value:String = null with get,set
        member val _erstellt:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val _aenderung:Nullable<DateTime> = new Nullable<DateTime>() with get,set

    [<AllowNullLiteral>]
    type WaehrungenSpeichernRequest() = 
        member val Waehrungen:ResizeArray<NameValue> = new ResizeArray<NameValue>() with get,set
        member val bankid:Int64 = new Int64() with get,set

F# WaehrungenSpeichernRequest 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/Onlinehandel/WaehrungenSpeichern HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Waehrungen: 
	[
		{
			name: String,
			value: String,
			_erstellt: 0001-01-01,
			_aenderung: 0001-01-01
		}
	],
	bankid: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	error: String,
	result: False
}