| GET | /Smtp/SmtpConfigDelete |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
// @DataContract
class SmtpConfigDeleteResponse implements IConvertible
{
SmtpConfigDeleteResponse();
SmtpConfigDeleteResponse.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "SmtpConfigDeleteResponse";
TypeContext? context = _ctx;
}
// @DataContract
class SmtpConfigDelete implements IConvertible
{
SmtpConfigDelete();
SmtpConfigDelete.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "SmtpConfigDelete";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'andreiuologmbh_servdesk.eras_online.de', types: <String, TypeInfo> {
'SmtpConfigDeleteResponse': TypeInfo(TypeOf.Class, create:() => SmtpConfigDeleteResponse()),
'SmtpConfigDelete': TypeInfo(TypeOf.Class, create:() => SmtpConfigDelete()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Smtp/SmtpConfigDelete HTTP/1.1 Host: andreiuologmbh-servdesk.eras-online.de Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <SmtpConfigDeleteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eras2Web.Service.Desktop.Server.ServiceModel.Eras2Client.Smtp" />