FIBUdataServiceStack

<back to all web services

OnlinehandelNeuerTypAnlegenRequest

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

class OnlinehandelNeuerTypAnlegenResponse implements IConvertible
{
    String? errorMSG;

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

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

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

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

class OnlinehandelNeuerTypAnlegenRequest implements IConvertible
{
    String? bezeichnung;
    int? suchfeld1;
    String? suchfeld1_text;
    int? suchfeld2;
    String? suchfeld2_text;
    int? del;
    int? parent_id;
    bool? soll_parsen;
    String? guid;

    OnlinehandelNeuerTypAnlegenRequest({this.bezeichnung,this.suchfeld1,this.suchfeld1_text,this.suchfeld2,this.suchfeld2_text,this.del,this.parent_id,this.soll_parsen,this.guid});
    OnlinehandelNeuerTypAnlegenRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        bezeichnung = json['bezeichnung'];
        suchfeld1 = json['suchfeld1'];
        suchfeld1_text = json['suchfeld1_text'];
        suchfeld2 = json['suchfeld2'];
        suchfeld2_text = json['suchfeld2_text'];
        del = json['del'];
        parent_id = json['parent_id'];
        soll_parsen = json['soll_parsen'];
        guid = json['guid'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'bezeichnung': bezeichnung,
        'suchfeld1': suchfeld1,
        'suchfeld1_text': suchfeld1_text,
        'suchfeld2': suchfeld2,
        'suchfeld2_text': suchfeld2_text,
        'del': del,
        'parent_id': parent_id,
        'soll_parsen': soll_parsen,
        'guid': guid
    };

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

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

Dart OnlinehandelNeuerTypAnlegenRequest 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/NeuerTypAnlegen HTTP/1.1 
Host: ws4.fibudata.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<OnlinehandelNeuerTypAnlegenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <bezeichnung>String</bezeichnung>
  <del>0</del>
  <guid>String</guid>
  <parent_id>0</parent_id>
  <soll_parsen>false</soll_parsen>
  <suchfeld1>0</suchfeld1>
  <suchfeld1_text>String</suchfeld1_text>
  <suchfeld2>0</suchfeld2>
  <suchfeld2_text>String</suchfeld2_text>
</OnlinehandelNeuerTypAnlegenRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<OnlinehandelNeuerTypAnlegenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <errorMSG>String</errorMSG>
</OnlinehandelNeuerTypAnlegenResponse>