All Verbs | /app/resolve/{Key} |
---|
import 'package:servicestack/servicestack.dart';
class ResolveMicroAppRequest implements IHasTenantKey, IConvertible
{
String? key;
String? query;
String? tenantKey;
String? additionalParams;
ResolveMicroAppRequest({this.key,this.query,this.tenantKey,this.additionalParams});
ResolveMicroAppRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
key = json['key'];
query = json['query'];
tenantKey = json['tenantKey'];
additionalParams = json['additionalParams'];
return this;
}
Map<String, dynamic> toJson() => {
'key': key,
'query': query,
'tenantKey': tenantKey,
'additionalParams': additionalParams
};
getTypeName() => "ResolveMicroAppRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'apps.harbourassist.com', types: <String, TypeInfo> {
'ResolveMicroAppRequest': TypeInfo(TypeOf.Class, create:() => ResolveMicroAppRequest()),
});
Dart ResolveMicroAppRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /app/resolve/{Key} HTTP/1.1
Host: apps.harbourassist.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"key":"String","query":"String","tenantKey":"String","additionalParams":"String"}