MicroApp API

<back to all web services

ResolveMicroAppRequest

The following routes are available for this service:
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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	key: String,
	query: String,
	tenantKey: String,
	additionalParams: String
}