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.*


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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

{"CodigoEmpresa":0,"Estado":"String","FechaInicio":"0001-01-01T00:00:00.0000000","FechaFin":"0001-01-01T00:00:00.0000000"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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