FrameAppWS

<back to all web services

EstadoCargaPlanoRQ

Requires Authentication
The following routes are available for this service:
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?>()),
});

Dart EstadoCargaPlanoRQ DTOs

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

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<EstadoCargaPlanoRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.General">
  <DatosLlaveMaestro xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
  </DatosLlaveMaestro>
  <IDForma>0</IDForma>
</EstadoCargaPlanoRQ>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<EstadoCargaPlanoRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.General">
  <Lista>
    <EstadoCargaPlanoDetalleRS>
      <Estado>String</Estado>
      <IDCarga>0</IDCarga>
      <IDDetalle>0</IDDetalle>
    </EstadoCargaPlanoDetalleRS>
  </Lista>
</EstadoCargaPlanoRS>