FIBUdataServiceStack

<back to all web services

SchnittstelleZuruecksetztenRequest

The following routes are available for this service:
GET, POST/fibuscan/Onlinehandel/SchnittstelleZuruecksetzten
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class SchnittstelleZuruecksetztenResponse implements IConvertible
{
    String? error;
    bool? success;

    SchnittstelleZuruecksetztenResponse({this.error,this.success});
    SchnittstelleZuruecksetztenResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        error = json['error'];
        success = json['success'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'error': error,
        'success': success
    };

    getTypeName() => "SchnittstelleZuruecksetztenResponse";
    TypeContext? context = _ctx;
}

class SchnittstelleZuruecksetztenRequest implements IConvertible
{
    int? BankID;
    int? Schnittstelle;
    bool? ist_Paypal;
    String? AusgangsrechnungKontonummer;

    SchnittstelleZuruecksetztenRequest({this.BankID,this.Schnittstelle,this.ist_Paypal,this.AusgangsrechnungKontonummer});
    SchnittstelleZuruecksetztenRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        BankID = json['BankID'];
        Schnittstelle = json['Schnittstelle'];
        ist_Paypal = json['ist_Paypal'];
        AusgangsrechnungKontonummer = json['AusgangsrechnungKontonummer'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'BankID': BankID,
        'Schnittstelle': Schnittstelle,
        'ist_Paypal': ist_Paypal,
        'AusgangsrechnungKontonummer': AusgangsrechnungKontonummer
    };

    getTypeName() => "SchnittstelleZuruecksetztenRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'ws4.fibudata.net', types: <String, TypeInfo> {
    'SchnittstelleZuruecksetztenResponse': TypeInfo(TypeOf.Class, create:() => SchnittstelleZuruecksetztenResponse()),
    'SchnittstelleZuruecksetztenRequest': TypeInfo(TypeOf.Class, create:() => SchnittstelleZuruecksetztenRequest()),
});

Dart SchnittstelleZuruecksetztenRequest DTOs

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

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /fibuscan/Onlinehandel/SchnittstelleZuruecksetzten HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	BankID: 0,
	Schnittstelle: 0,
	ist_Paypal: False,
	AusgangsrechnungKontonummer: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	error: String,
	success: False
}