FrameAppWS

<back to all web services

ListaProcesosEmpresaRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/ListaEjecucionEmpresa
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Administrador.Modelo.Tipos

Namespace Global

    Namespace Administrador.Modelo.Tipos

        Public Partial Class EmpresaEjecucion
            Public Sub New()
                ListaProcesos = New List(Of EstadoEjecucion)
            End Sub

            Public Overridable Property IdEmpresa As Decimal
            Public Overridable Property Nombre As String
            Public Overridable Property ListaProcesos As List(Of EstadoEjecucion)
        End Class

        Public Partial Class EstadoEjecucion
            Public Overridable Property CodigoEjecucion As Decimal
            Public Overridable Property AliasFuncion As String
            Public Overridable Property Descripcion As String
            Public Overridable Property Usuario As String
            Public Overridable Property FechaHoraIni As Date
            Public Overridable Property FechaHoraFin As Nullable(Of Date)
            Public Overridable Property FechaHoraAct As Nullable(Of Date)
            Public Overridable Property TotalRegistros As Nullable(Of Integer)
            Public Overridable Property CantProcesados As Nullable(Of Integer)
            Public Overridable Property Response As String
            Public Overridable Property Estado As String
            Public Overridable Property UsuarioCancela As String
            Public Overridable Property MotivoCancela As String
        End Class

        Public Partial Class GeneralRS
            '''<Summary>
            '''Id del código de respuesta 1: Correcto, -1: Error
            '''</Summary>
            <ApiMember(DataType:="int", Description:="Id del código de respuesta 1: Correcto, -1: Error", IsRequired:=true, ParameterType:="body")>
            Public Overridable Property Codigo As Integer

            '''<Summary>
            '''Mensaje que se envía al ejecutar el servicio
            '''</Summary>
            <ApiMember(DataType:="string", Description:="Mensaje que se envía al ejecutar el servicio", IsRequired:=true, ParameterType:="body")>
            Public Overridable Property Mensaje As String
        End Class

        Public Partial Class ListaProcesosEmpresaRQ
            Public Overridable Property CodigoEmpresa As Nullable(Of Decimal)
            Public Overridable Property Estado As String
            Public Overridable Property FechaInicio As Nullable(Of Date)
            Public Overridable Property FechaFin As Nullable(Of Date)
        End Class

        Public Partial Class ListaProcesosEmpresaRS
            Inherits GeneralRS
            Public Sub New()
                EmpresasEjecucion = New List(Of EmpresaEjecucion)
            End Sub

            Public Overridable Property EmpresasEjecucion As List(Of EmpresaEjecucion)
            '''<Summary>
            '''Id del código de respuesta 1: Correcto, -1: Error
            '''</Summary>
            <ApiMember(DataType:="int", Description:="Id del código de respuesta 1: Correcto, -1: Error", IsRequired:=true, ParameterType:="body")>
            Public Overridable Property Codigo As Integer

            '''<Summary>
            '''Mensaje que se envía al ejecutar el servicio
            '''</Summary>
            <ApiMember(DataType:="string", Description:="Mensaje que se envía al ejecutar el servicio", IsRequired:=true, ParameterType:="body")>
            Public Overridable Property Mensaje As String
        End Class
    End Namespace
End Namespace

VB.NET 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
}