FIBUdataServiceStack

<back to all web services

OnlinehandelParserAbbrechenRequest

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

class OnlinehandelImportAusgangsrechnungResponse implements IConvertible
{
    bool? ok;
    String? fehler;

    OnlinehandelImportAusgangsrechnungResponse({this.ok,this.fehler});
    OnlinehandelImportAusgangsrechnungResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

class OnlinehandelParserAbbrechenRequest implements IConvertible
{
    String? vorgang_guid;
    String? servername;
    bool? ist_forciert;

    OnlinehandelParserAbbrechenRequest({this.vorgang_guid,this.servername,this.ist_forciert});
    OnlinehandelParserAbbrechenRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

    Map<String, dynamic> toJson() => {
        'vorgang_guid': vorgang_guid,
        'servername': servername,
        'ist_forciert': ist_forciert
    };

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

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

Dart OnlinehandelParserAbbrechenRequest DTOs

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

HTTP + OTHER

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

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

{"vorgang_guid":"String","servername":"String","ist_forciert":false}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ok":false,"fehler":"String"}