All Verbs | /Utilidades/Archivos/EstadoCargaPlano |
---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class EstadoCargaPlanoDetalleRS implements IConvertible
{
String? Estado;
double? IDDetalle;
double? IDCarga;
EstadoCargaPlanoDetalleRS({this.Estado,this.IDDetalle,this.IDCarga});
EstadoCargaPlanoDetalleRS.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Estado = json['Estado'];
IDDetalle = JsonConverters.toDouble(json['IDDetalle']);
IDCarga = JsonConverters.toDouble(json['IDCarga']);
return this;
}
Map<String, dynamic> toJson() => {
'Estado': Estado,
'IDDetalle': IDDetalle,
'IDCarga': IDCarga
};
getTypeName() => "EstadoCargaPlanoDetalleRS";
TypeContext? context = _ctx;
}
class EstadoCargaPlanoRS implements IConvertible
{
List<EstadoCargaPlanoDetalleRS>? Lista;
EstadoCargaPlanoRS({this.Lista});
EstadoCargaPlanoRS.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Lista = JsonConverters.fromJson(json['Lista'],'List<EstadoCargaPlanoDetalleRS>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Lista': JsonConverters.toJson(Lista,'List<EstadoCargaPlanoDetalleRS>',context!)
};
getTypeName() => "EstadoCargaPlanoRS";
TypeContext? context = _ctx;
}
class EstadoCargaPlanoRQ implements IConvertible
{
int? IDForma;
Map<String,dynamic?>? DatosLlaveMaestro;
EstadoCargaPlanoRQ({this.IDForma,this.DatosLlaveMaestro});
EstadoCargaPlanoRQ.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
IDForma = json['IDForma'];
DatosLlaveMaestro = JsonConverters.fromJson(json['DatosLlaveMaestro'],'Map<String,dynamic?>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'IDForma': IDForma,
'DatosLlaveMaestro': JsonConverters.toJson(DatosLlaveMaestro,'Map<String,dynamic?>',context!)
};
getTypeName() => "EstadoCargaPlanoRQ";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'soluser_recaudo.sgsas.co', types: <String, TypeInfo> {
'EstadoCargaPlanoDetalleRS': TypeInfo(TypeOf.Class, create:() => EstadoCargaPlanoDetalleRS()),
'EstadoCargaPlanoRS': TypeInfo(TypeOf.Class, create:() => EstadoCargaPlanoRS()),
'List<EstadoCargaPlanoDetalleRS>': TypeInfo(TypeOf.Class, create:() => <EstadoCargaPlanoDetalleRS>[]),
'EstadoCargaPlanoRQ': TypeInfo(TypeOf.Class, create:() => EstadoCargaPlanoRQ()),
'Map<String,dynamic?>': TypeInfo(TypeOf.Class, create:() => Map<String,dynamic?>()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Utilidades/Archivos/EstadoCargaPlano HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
IDForma: 0,
DatosLlaveMaestro:
{
String: {}
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Lista: [ { Estado: String, IDDetalle: 0, IDCarga: 0 } ] }