| GET | /Config/RemoveDeadEntries |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
// @DataContract
class RemoveDeadEntriesResponse implements IConvertible
{
RemoveDeadEntriesResponse();
RemoveDeadEntriesResponse.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "RemoveDeadEntriesResponse";
TypeContext? context = _ctx;
}
// @DataContract
class RemoveDeadEntries implements IConvertible
{
RemoveDeadEntries();
RemoveDeadEntries.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "RemoveDeadEntries";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'demo_servdesk.eras_online.de', types: <String, TypeInfo> {
'RemoveDeadEntriesResponse': TypeInfo(TypeOf.Class, create:() => RemoveDeadEntriesResponse()),
'RemoveDeadEntries': TypeInfo(TypeOf.Class, create:() => RemoveDeadEntries()),
});
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 /Config/RemoveDeadEntries HTTP/1.1 Host: demo-servdesk.eras-online.de Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <RemoveDeadEntriesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eras2Web.Service.Desktop.Server.ServiceModel.Eras2Client.Config" />