| GET, POST | /fibuscan/Onlinehandel/SchnittstelleAuthUrlErstellen |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class SchnittstelleAuthUrlErstellenResponse implements IConvertible
{
String? error;
bool? result;
String? AuthUrl;
SchnittstelleAuthUrlErstellenResponse({this.error,this.result,this.AuthUrl});
SchnittstelleAuthUrlErstellenResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
error = json['error'];
result = json['result'];
AuthUrl = json['AuthUrl'];
return this;
}
Map<String, dynamic> toJson() => {
'error': error,
'result': result,
'AuthUrl': AuthUrl
};
getTypeName() => "SchnittstelleAuthUrlErstellenResponse";
TypeContext? context = _ctx;
}
class SchnittstelleAuthUrlErstellenRequest implements IConvertible
{
int? Schnittstelle;
int? BankID;
String? ShopUrl;
String? request_type;
String? AusgangsrechnungKontonummer;
SchnittstelleAuthUrlErstellenRequest({this.Schnittstelle,this.BankID,this.ShopUrl,this.request_type,this.AusgangsrechnungKontonummer});
SchnittstelleAuthUrlErstellenRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Schnittstelle = json['Schnittstelle'];
BankID = json['BankID'];
ShopUrl = json['ShopUrl'];
request_type = json['request_type'];
AusgangsrechnungKontonummer = json['AusgangsrechnungKontonummer'];
return this;
}
Map<String, dynamic> toJson() => {
'Schnittstelle': Schnittstelle,
'BankID': BankID,
'ShopUrl': ShopUrl,
'request_type': request_type,
'AusgangsrechnungKontonummer': AusgangsrechnungKontonummer
};
getTypeName() => "SchnittstelleAuthUrlErstellenRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'ws4.fibudata.net', types: <String, TypeInfo> {
'SchnittstelleAuthUrlErstellenResponse': TypeInfo(TypeOf.Class, create:() => SchnittstelleAuthUrlErstellenResponse()),
'SchnittstelleAuthUrlErstellenRequest': TypeInfo(TypeOf.Class, create:() => SchnittstelleAuthUrlErstellenRequest()),
});
Dart SchnittstelleAuthUrlErstellenRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/Onlinehandel/SchnittstelleAuthUrlErstellen HTTP/1.1
Host: ws4.fibudata.net
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Schnittstelle":0,"BankID":0,"ShopUrl":"String","request_type":"String","AusgangsrechnungKontonummer":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"error":"String","result":false,"AuthUrl":"String"}