| All Verbs | /Utilidades/ListaEjecucionEmpresa |
|---|
namespace Administrador.Modelo.Tipos
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type 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")>]
member val Codigo:Int32 = new Int32() with get,set
///<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")>]
member val Mensaje:String = null with get,set
[<AllowNullLiteral>]
type EstadoEjecucion() =
member val CodigoEjecucion:Decimal = new Decimal() with get,set
member val AliasFuncion:String = null with get,set
member val Descripcion:String = null with get,set
member val Usuario:String = null with get,set
member val FechaHoraIni:DateTime = new DateTime() with get,set
member val FechaHoraFin:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val FechaHoraAct:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val TotalRegistros:Nullable<Int32> = new Nullable<Int32>() with get,set
member val CantProcesados:Nullable<Int32> = new Nullable<Int32>() with get,set
member val Response:String = null with get,set
member val Estado:String = null with get,set
member val UsuarioCancela:String = null with get,set
member val MotivoCancela:String = null with get,set
[<AllowNullLiteral>]
type EmpresaEjecucion() =
member val IdEmpresa:Decimal = new Decimal() with get,set
member val Nombre:String = null with get,set
member val ListaProcesos:ResizeArray<EstadoEjecucion> = new ResizeArray<EstadoEjecucion>() with get,set
[<AllowNullLiteral>]
type ListaProcesosEmpresaRS() =
inherit GeneralRS()
member val EmpresasEjecucion:ResizeArray<EmpresaEjecucion> = new ResizeArray<EmpresaEjecucion>() with get,set
///<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")>]
member val Codigo:Int32 = new Int32() with get,set
///<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")>]
member val Mensaje:String = null with get,set
[<AllowNullLiteral>]
type ListaProcesosEmpresaRQ() =
member val CodigoEmpresa:Nullable<Decimal> = new Nullable<Decimal>() with get,set
member val Estado:String = null with get,set
member val FechaInicio:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val FechaFin:Nullable<DateTime> = new Nullable<DateTime>() with get,set
F# 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>