FrameAppWS

<back to all web services

GetUsersRQ

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

class GetUsersRS implements IConvertible
{
    String? usua_login;
    String? usua_nombre;

    GetUsersRS({this.usua_login,this.usua_nombre});
    GetUsersRS.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

    Map<String, dynamic> toJson() => {
        'usua_login': usua_login,
        'usua_nombre': usua_nombre
    };

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

class GetUsersRQ implements IConvertible
{
    int? empr_empr;
    int? sist_sist;

    GetUsersRQ({this.empr_empr,this.sist_sist});
    GetUsersRQ.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

    Map<String, dynamic> toJson() => {
        'empr_empr': empr_empr,
        'sist_sist': sist_sist
    };

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

TypeContext _ctx = TypeContext(library: 'soluser_recaudo.sgsas.co', types: <String, TypeInfo> {
    'GetUsersRS': TypeInfo(TypeOf.Class, create:() => GetUsersRS()),
    'GetUsersRQ': TypeInfo(TypeOf.Class, create:() => GetUsersRQ()),
});

Dart GetUsersRQ 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 /restfiles/GetUsersRQ HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	empr_empr: 0,
	sist_sist: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	usua_login: String,
	usua_nombre: String
}