FIBUdataServiceStack

<back to all web services

OnlinehandelInfoBoxAktivRequest

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

class OnlinehandelInfoBoxAktivResponse implements IConvertible
{
    String? error;
    bool? result;

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

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

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

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

class OnlinehandelInfoBoxAktivRequest implements IConvertible
{
    bool? aktiv;

    OnlinehandelInfoBoxAktivRequest({this.aktiv});
    OnlinehandelInfoBoxAktivRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

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

Dart OnlinehandelInfoBoxAktivRequest 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/infobox/aktiv HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	aktiv: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	error: String,
	result: False
}