FIBUdataServiceStack

<back to all web services

WaehrungenSpeichernRequest

The following routes are available for this service:
GET, POST/fibuscan/Onlinehandel/WaehrungenSpeichern
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 WaehrungenSpeichernRequest
    {
        public WaehrungenSpeichernRequest()
        {
            Waehrungen = new List<NameValue>{};
        }

        public virtual List<NameValue> Waehrungen { get; set; }
        public virtual long bankid { get; set; }
    }

    public partial class WaehrungenSpeichernResponse
    {
        public virtual string error { get; set; }
        public virtual bool result { get; set; }
    }

}

namespace FIBUdataServiceStack.ServiceModel.Models
{
    public partial class NameValue
    {
        public virtual string name { get; set; }
        public virtual string value { get; set; }
        public virtual DateTime? _erstellt { get; set; }
        public virtual DateTime? _aenderung { get; set; }
    }

}

C# WaehrungenSpeichernRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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/csv
Content-Type: text/csv
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: text/csv
Content-Length: length

{"error":"String","result":false}