All Verbs | /Utilidades/ListaEjecucionEmpresa |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class ListaProcesosEmpresaRQ
{
public BigDecimal CodigoEmpresa = null;
public String Estado = null;
public Date FechaInicio = null;
public Date FechaFin = null;
public BigDecimal getCodigoEmpresa() { return CodigoEmpresa; }
public ListaProcesosEmpresaRQ setCodigoEmpresa(BigDecimal value) { this.CodigoEmpresa = value; return this; }
public String getEstado() { return Estado; }
public ListaProcesosEmpresaRQ setEstado(String value) { this.Estado = value; return this; }
public Date getFechaInicio() { return FechaInicio; }
public ListaProcesosEmpresaRQ setFechaInicio(Date value) { this.FechaInicio = value; return this; }
public Date getFechaFin() { return FechaFin; }
public ListaProcesosEmpresaRQ setFechaFin(Date value) { this.FechaFin = value; return this; }
}
public static class ListaProcesosEmpresaRS extends GeneralRS
{
public ArrayList<EmpresaEjecucion> EmpresasEjecucion = null;
/**
* Id del código de respuesta 1: Correcto, -1: Error
*/
@ApiMember(DataType="int", Description="Id del código de respuesta 1: Correcto, -1: Error", IsRequired=true, ParameterType="body")
public Integer Codigo = null;
/**
* Mensaje que se envía al ejecutar el servicio
*/
@ApiMember(DataType="string", Description="Mensaje que se envía al ejecutar el servicio", IsRequired=true, ParameterType="body")
public String Mensaje = null;
public ArrayList<EmpresaEjecucion> getEmpresasEjecucion() { return EmpresasEjecucion; }
public ListaProcesosEmpresaRS setEmpresasEjecucion(ArrayList<EmpresaEjecucion> value) { this.EmpresasEjecucion = value; return this; }
public Integer getCodigo() { return Codigo; }
public ListaProcesosEmpresaRS setCodigo(Integer value) { this.Codigo = value; return this; }
public String getMensaje() { return Mensaje; }
public ListaProcesosEmpresaRS setMensaje(String value) { this.Mensaje = value; return this; }
}
public static class GeneralRS
{
/**
* Id del código de respuesta 1: Correcto, -1: Error
*/
@ApiMember(DataType="int", Description="Id del código de respuesta 1: Correcto, -1: Error", IsRequired=true, ParameterType="body")
public Integer Codigo = null;
/**
* Mensaje que se envía al ejecutar el servicio
*/
@ApiMember(DataType="string", Description="Mensaje que se envía al ejecutar el servicio", IsRequired=true, ParameterType="body")
public String Mensaje = null;
public Integer getCodigo() { return Codigo; }
public GeneralRS setCodigo(Integer value) { this.Codigo = value; return this; }
public String getMensaje() { return Mensaje; }
public GeneralRS setMensaje(String value) { this.Mensaje = value; return this; }
}
public static class EmpresaEjecucion
{
public BigDecimal IdEmpresa = null;
public String Nombre = null;
public ArrayList<EstadoEjecucion> ListaProcesos = null;
public BigDecimal getIdEmpresa() { return IdEmpresa; }
public EmpresaEjecucion setIdEmpresa(BigDecimal value) { this.IdEmpresa = value; return this; }
public String getNombre() { return Nombre; }
public EmpresaEjecucion setNombre(String value) { this.Nombre = value; return this; }
public ArrayList<EstadoEjecucion> getListaProcesos() { return ListaProcesos; }
public EmpresaEjecucion setListaProcesos(ArrayList<EstadoEjecucion> value) { this.ListaProcesos = value; return this; }
}
public static class EstadoEjecucion
{
public BigDecimal CodigoEjecucion = null;
public String AliasFuncion = null;
public String Descripcion = null;
public String Usuario = null;
public Date FechaHoraIni = null;
public Date FechaHoraFin = null;
public Date FechaHoraAct = null;
public Integer TotalRegistros = null;
public Integer CantProcesados = null;
public String Response = null;
public String Estado = null;
public String UsuarioCancela = null;
public String MotivoCancela = null;
public BigDecimal getCodigoEjecucion() { return CodigoEjecucion; }
public EstadoEjecucion setCodigoEjecucion(BigDecimal value) { this.CodigoEjecucion = value; return this; }
public String getAliasFuncion() { return AliasFuncion; }
public EstadoEjecucion setAliasFuncion(String value) { this.AliasFuncion = value; return this; }
public String getDescripcion() { return Descripcion; }
public EstadoEjecucion setDescripcion(String value) { this.Descripcion = value; return this; }
public String getUsuario() { return Usuario; }
public EstadoEjecucion setUsuario(String value) { this.Usuario = value; return this; }
public Date getFechaHoraIni() { return FechaHoraIni; }
public EstadoEjecucion setFechaHoraIni(Date value) { this.FechaHoraIni = value; return this; }
public Date getFechaHoraFin() { return FechaHoraFin; }
public EstadoEjecucion setFechaHoraFin(Date value) { this.FechaHoraFin = value; return this; }
public Date getFechaHoraAct() { return FechaHoraAct; }
public EstadoEjecucion setFechaHoraAct(Date value) { this.FechaHoraAct = value; return this; }
public Integer getTotalRegistros() { return TotalRegistros; }
public EstadoEjecucion setTotalRegistros(Integer value) { this.TotalRegistros = value; return this; }
public Integer getCantProcesados() { return CantProcesados; }
public EstadoEjecucion setCantProcesados(Integer value) { this.CantProcesados = value; return this; }
public String getResponse() { return Response; }
public EstadoEjecucion setResponse(String value) { this.Response = value; return this; }
public String getEstado() { return Estado; }
public EstadoEjecucion setEstado(String value) { this.Estado = value; return this; }
public String getUsuarioCancela() { return UsuarioCancela; }
public EstadoEjecucion setUsuarioCancela(String value) { this.UsuarioCancela = value; return this; }
public String getMotivoCancela() { return MotivoCancela; }
public EstadoEjecucion setMotivoCancela(String value) { this.MotivoCancela = value; return this; }
}
}
Java ListaProcesosEmpresaRQ DTOs
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/ListaEjecucionEmpresa HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ListaProcesosEmpresaRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
<CodigoEmpresa>0</CodigoEmpresa>
<Estado>String</Estado>
<FechaFin>0001-01-01T00:00:00</FechaFin>
<FechaInicio>0001-01-01T00:00:00</FechaInicio>
</ListaProcesosEmpresaRQ>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ListaProcesosEmpresaRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos"> <Codigo>0</Codigo> <Mensaje>String</Mensaje> <EmpresasEjecucion> <EmpresaEjecucion> <IdEmpresa>0</IdEmpresa> <ListaProcesos> <EstadoEjecucion> <AliasFuncion>String</AliasFuncion> <CantProcesados>0</CantProcesados> <CodigoEjecucion>0</CodigoEjecucion> <Descripcion>String</Descripcion> <Estado>String</Estado> <FechaHoraAct>0001-01-01T00:00:00</FechaHoraAct> <FechaHoraFin>0001-01-01T00:00:00</FechaHoraFin> <FechaHoraIni>0001-01-01T00:00:00</FechaHoraIni> <MotivoCancela>String</MotivoCancela> <Response>String</Response> <TotalRegistros>0</TotalRegistros> <Usuario>String</Usuario> <UsuarioCancela>String</UsuarioCancela> </EstadoEjecucion> </ListaProcesos> <Nombre>String</Nombre> </EmpresaEjecucion> </EmpresasEjecucion> </ListaProcesosEmpresaRS>