FrameAppWS

<back to all web services

ListaProcesosEmpresaRQ

Requires Authentication
The following routes are available for this service:
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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	CodigoEmpresa: 0,
	Estado: String,
	FechaInicio: 0001-01-01,
	FechaFin: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	EmpresasEjecucion: 
	[
		{
			IdEmpresa: 0,
			Nombre: String,
			ListaProcesos: 
			[
				{
					CodigoEjecucion: 0,
					AliasFuncion: String,
					Descripcion: String,
					Usuario: String,
					FechaHoraFin: 0001-01-01,
					FechaHoraAct: 0001-01-01,
					TotalRegistros: 0,
					CantProcesados: 0,
					Response: String,
					Estado: String,
					UsuarioCancela: String,
					MotivoCancela: String
				}
			]
		}
	],
	Codigo: 0,
	Mensaje: String
}