FIBUdataServiceStack

<back to all web services

WaehrungsListeRequest

The following routes are available for this service:
GET, POST/fibuscan/Onlinehandel/WaehrungsListe
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using FIBUdataServiceStack.ServiceModel.Messages;
using FIBUdataServiceStack.ServiceModel.Models;

namespace FIBUdataServiceStack.ServiceModel.Messages
{
    public partial class WaehrungsListeRequest
    {
    }

    public partial class WaehrungsListeResponse
    {
        public WaehrungsListeResponse()
        {
            Liste = new List<waehrung>{};
        }

        public virtual List<waehrung> Liste { get; set; }
    }

}

namespace FIBUdataServiceStack.ServiceModel.Models
{
    public partial class waehrung
        : IPrimaryKey, ITableBase
    {
        public virtual long? id { get; set; }
        public virtual string iso4217 { get; set; }
        public virtual string iso4217num { get; set; }
        public virtual string bezeichnung { get; set; }
        public virtual DateTime? _erstellt { get; set; }
        public virtual DateTime? _aenderung { get; set; }
        public virtual string symbol { get; set; }
        public virtual int prio { get; set; }
        [Ignore]
        public virtual long? PrimaryKey { get; set; }
    }

}

C# WaehrungsListeRequest 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/WaehrungsListe HTTP/1.1 
Host: ws4.fibudata.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<WaehrungsListeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<WaehrungsListeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <Liste xmlns:d2p1="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Models">
    <d2p1:waehrung>
      <d2p1:PrimaryKey>0</d2p1:PrimaryKey>
      <d2p1:_aenderung>0001-01-01T00:00:00</d2p1:_aenderung>
      <d2p1:_erstellt>0001-01-01T00:00:00</d2p1:_erstellt>
      <d2p1:bezeichnung>String</d2p1:bezeichnung>
      <d2p1:id>0</d2p1:id>
      <d2p1:iso4217>String</d2p1:iso4217>
      <d2p1:iso4217num>String</d2p1:iso4217num>
      <d2p1:prio>0</d2p1:prio>
      <d2p1:symbol>String</d2p1:symbol>
    </d2p1:waehrung>
  </Liste>
</WaehrungsListeResponse>