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 .xml suffix or ?format=xml

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<ResolveMicroAppRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HarbourAssist.Api.MicroApp.Dtos.Requests">
  <AdditionalParams>String</AdditionalParams>
  <Key>String</Key>
  <Query>String</Query>
  <TenantKey>String</TenantKey>
</ResolveMicroAppRequest>