FrameAppWS

<back to all web services

LimpiarCacheLookupRQ

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

class LimpiarCacheLookupRS implements IConvertible
{
    bool? Success;
    String? Error;

    LimpiarCacheLookupRS({this.Success,this.Error});
    LimpiarCacheLookupRS.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

    Map<String, dynamic> toJson() => {
        'Success': Success,
        'Error': Error
    };

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

class LimpiarCacheLookupRQ implements IConvertible
{
    int? IDVista;

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

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

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

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

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

Dart LimpiarCacheLookupRQ DTOs

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

HTTP + CSV

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

POST /Utilidades/Consultas/Lookups/Limpiar HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"IDVista":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Success":false,"Error":"String"}