All Verbs | /Utilidades/VerificarAppToken |
---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class VerificarAppTokenRS implements IConvertible
{
dynamic? Respuesta;
dynamic? Datos;
double? IdEmpresa;
double? IdSistema;
String? Login;
String? NombreUsuario;
VerificarAppTokenRS({this.Respuesta,this.Datos,this.IdEmpresa,this.IdSistema,this.Login,this.NombreUsuario});
VerificarAppTokenRS.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Respuesta = JsonConverters.fromJson(json['Respuesta'],'dynamic',context!);
Datos = JsonConverters.fromJson(json['Datos'],'dynamic',context!);
IdEmpresa = JsonConverters.toDouble(json['IdEmpresa']);
IdSistema = JsonConverters.toDouble(json['IdSistema']);
Login = json['Login'];
NombreUsuario = json['NombreUsuario'];
return this;
}
Map<String, dynamic> toJson() => {
'Respuesta': JsonConverters.toJson(Respuesta,'dynamic',context!),
'Datos': JsonConverters.toJson(Datos,'dynamic',context!),
'IdEmpresa': IdEmpresa,
'IdSistema': IdSistema,
'Login': Login,
'NombreUsuario': NombreUsuario
};
getTypeName() => "VerificarAppTokenRS";
TypeContext? context = _ctx;
}
class VerificarAppTokenRQ implements IConvertible
{
String? Id;
String? NombreApp;
VerificarAppTokenRQ({this.Id,this.NombreApp});
VerificarAppTokenRQ.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Id = json['Id'];
NombreApp = json['NombreApp'];
return this;
}
Map<String, dynamic> toJson() => {
'Id': Id,
'NombreApp': NombreApp
};
getTypeName() => "VerificarAppTokenRQ";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'soluser_recaudo.sgsas.co', types: <String, TypeInfo> {
'VerificarAppTokenRS': TypeInfo(TypeOf.Class, create:() => VerificarAppTokenRS()),
'VerificarAppTokenRQ': TypeInfo(TypeOf.Class, create:() => VerificarAppTokenRQ()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Utilidades/VerificarAppToken HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<VerificarAppTokenRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
<Id>String</Id>
<NombreApp>String</NombreApp>
</VerificarAppTokenRQ>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <VerificarAppTokenRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos"> <Datos /> <IdEmpresa>0</IdEmpresa> <IdSistema>0</IdSistema> <Login>String</Login> <NombreUsuario>String</NombreUsuario> <Respuesta /> </VerificarAppTokenRS>