| GET, POST | /fibuscan/Onlinehandel/WaehrungenSpeichern |
|---|
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 WaehrungenSpeichernRequest
Public Sub New()
Waehrungen = New List(Of NameValue)
End Sub
Public Overridable Property Waehrungen As List(Of NameValue)
Public Overridable Property bankid As Long
End Class
Public Partial Class WaehrungenSpeichernResponse
Public Overridable Property error As String
Public Overridable Property result As Boolean
End Class
End Namespace
Namespace FIBUdataServiceStack.ServiceModel.Models
Public Partial Class NameValue
Public Overridable Property name As String
Public Overridable Property value As String
Public Overridable Property _erstellt As Nullable(Of Date)
Public Overridable Property _aenderung As Nullable(Of Date)
End Class
End Namespace
End Namespace
VB.NET WaehrungenSpeichernRequest 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/Onlinehandel/WaehrungenSpeichern HTTP/1.1
Host: ws4.fibudata.net
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Waehrungen":[{"name":"String","value":"String","_erstellt":"\/Date(-62135596800000-0000)\/","_aenderung":"\/Date(-62135596800000-0000)\/"}],"bankid":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"error":"String","result":false}