FrameAppWS

<back to all web services

ExecuteDBFunctionRouteRQ

Requires Authentication
The following routes are available for this service:
All Verbs/api/{executeDBFunction*}
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class ExecuteDBFunctionRouteRQ implements IConvertible
{
    String? executeDBFunction;
    Map<String,dynamic?>? rq;

    ExecuteDBFunctionRouteRQ({this.executeDBFunction,this.rq});
    ExecuteDBFunctionRouteRQ.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        executeDBFunction = json['executeDBFunction'];
        rq = JsonConverters.fromJson(json['rq'],'Map<String,dynamic?>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'executeDBFunction': executeDBFunction,
        'rq': JsonConverters.toJson(rq,'Map<String,dynamic?>',context!)
    };

    getTypeName() => "ExecuteDBFunctionRouteRQ";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'ws.jimsnwa.com', types: <String, TypeInfo> {
    'ExecuteDBFunctionRouteRQ': TypeInfo(TypeOf.Class, create:() => ExecuteDBFunctionRouteRQ()),
    'Map<String,dynamic?>': TypeInfo(TypeOf.Class, create:() => Map<String,dynamic?>()),
});

Dart ExecuteDBFunctionRouteRQ 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 /api/{executeDBFunction*} HTTP/1.1 
Host: ws.jimsnwa.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	executeDBFunction: String,
	rq: 
	{
		String: {}
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	
}