FIBUdataServiceStack

<back to all web services

WaehrungenSpeichernRequest

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

HTTP + 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>