FrameAppWS

<back to all web services

GetFormPermBtnsRQ

Requires Authentication
The following routes are available for this service:
All Verbs/form/permissionsxbuttons
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class GetFormPermBtnsRS implements IConvertible
{
    List<Map<String,dynamic>>? Data;
    String? ErrorMessage;
    String? Status;

    GetFormPermBtnsRS({this.Data,this.ErrorMessage,this.Status});
    GetFormPermBtnsRS.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Data = JsonConverters.fromJson(json['Data'],'List<Map<String,dynamic>>',context!);
        ErrorMessage = json['ErrorMessage'];
        Status = json['Status'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Data': JsonConverters.toJson(Data,'List<Map<String,dynamic>>',context!),
        'ErrorMessage': ErrorMessage,
        'Status': Status
    };

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

class GetFormPermBtnsRQ implements IConvertible
{
    int? form;
    int? modu;

    GetFormPermBtnsRQ({this.form,this.modu});
    GetFormPermBtnsRQ.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        form = json['form'];
        modu = json['modu'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'form': form,
        'modu': modu
    };

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

TypeContext _ctx = TypeContext(library: 'soluser_recaudo.sgsas.co', types: <String, TypeInfo> {
    'GetFormPermBtnsRS': TypeInfo(TypeOf.Class, create:() => GetFormPermBtnsRS()),
    'List<Map<String,dynamic>>': TypeInfo(TypeOf.Class, create:() => <Map<String,dynamic>>[]),
    'Map<String,dynamic>': TypeInfo(TypeOf.Class, create:() => Map<String,dynamic>()),
    'GetFormPermBtnsRQ': TypeInfo(TypeOf.Class, create:() => GetFormPermBtnsRQ()),
});

Dart GetFormPermBtnsRQ DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /form/permissionsxbuttons HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"form":0,"modu":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Data":[{"String":{}}],"ErrorMessage":"String","Status":"String"}