FrameAppWS

<back to all web services

EjecutaListaFrameRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/Consultas/Frames/Listar
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class EjecutaFrameRS implements IConvertible
{
    Map<String,dynamic?>? DatosConsulta;

    EjecutaFrameRS({this.DatosConsulta});
    EjecutaFrameRS.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

enum Lenguajes
{
    ES,
    PT,
    EN,
}

class EjecutaListaFrameRQ implements IConvertible
{
    int? IDFrame;
    String? ListWhere;
    Lenguajes? Lenguaje;

    EjecutaListaFrameRQ({this.IDFrame,this.ListWhere,this.Lenguaje});
    EjecutaListaFrameRQ.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        IDFrame = json['IDFrame'];
        ListWhere = json['ListWhere'];
        Lenguaje = JsonConverters.fromJson(json['Lenguaje'],'Lenguajes',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'IDFrame': IDFrame,
        'ListWhere': ListWhere,
        'Lenguaje': JsonConverters.toJson(Lenguaje,'Lenguajes',context!)
    };

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

TypeContext _ctx = TypeContext(library: 'soluser_recaudo.sgsas.co', types: <String, TypeInfo> {
    'EjecutaFrameRS': TypeInfo(TypeOf.Class, create:() => EjecutaFrameRS()),
    'Map<String,dynamic?>': TypeInfo(TypeOf.Class, create:() => Map<String,dynamic?>()),
    'Lenguajes': TypeInfo(TypeOf.Enum, enumValues:Lenguajes.values),
    'EjecutaListaFrameRQ': TypeInfo(TypeOf.Class, create:() => EjecutaListaFrameRQ()),
});

Dart EjecutaListaFrameRQ 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

HTTP + JSON

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

POST /Utilidades/Consultas/Frames/Listar HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"IDFrame":0,"ListWhere":"String","Lenguaje":"ES"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"DatosConsulta":{"String":{}}}