| 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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<WaehrungenSpeichernRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
<Waehrungen xmlns:d2p1="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Models">
<d2p1:NameValue>
<d2p1:_aenderung>0001-01-01T00:00:00</d2p1:_aenderung>
<d2p1:_erstellt>0001-01-01T00:00:00</d2p1:_erstellt>
<d2p1:name>String</d2p1:name>
<d2p1:value>String</d2p1:value>
</d2p1:NameValue>
</Waehrungen>
<bankid>0</bankid>
</WaehrungenSpeichernRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <WaehrungenSpeichernResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages"> <error>String</error> <result>false</result> </WaehrungenSpeichernResponse>