All Verbs | /Utilidades/ListaEjecucionEmpresa |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class ListaProcesosEmpresaRQ
{
var CodigoEmpresa:BigDecimal? = null
var Estado:String? = null
var FechaInicio:Date? = null
var FechaFin:Date? = null
}
open class ListaProcesosEmpresaRS : GeneralRS()
{
var EmpresasEjecucion:ArrayList<EmpresaEjecucion> = ArrayList<EmpresaEjecucion>()
/**
* 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")
var Codigo:Int? = 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")
var Mensaje:String? = null
}
open 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")
var Codigo:Int? = 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")
var Mensaje:String? = null
}
open class EmpresaEjecucion
{
var IdEmpresa:BigDecimal? = null
var Nombre:String? = null
var ListaProcesos:ArrayList<EstadoEjecucion> = ArrayList<EstadoEjecucion>()
}
open class EstadoEjecucion
{
var CodigoEjecucion:BigDecimal? = null
var AliasFuncion:String? = null
var Descripcion:String? = null
var Usuario:String? = null
var FechaHoraIni:Date? = null
var FechaHoraFin:Date? = null
var FechaHoraAct:Date? = null
var TotalRegistros:Int? = null
var CantProcesados:Int? = null
var Response:String? = null
var Estado:String? = null
var UsuarioCancela:String? = null
var MotivoCancela:String? = null
}
Kotlin ListaProcesosEmpresaRQ DTOs
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/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 }