All Verbs | /Utilidades/Consultas/Listados/EjecutarMultiempresa |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Administrador.Modelo.Tipos;
namespace Administrador.Modelo.Tipos
{
public partial class EjecutaQueryMxEmpFileRQ
{
public EjecutaQueryMxEmpFileRQ()
{
Parametros = new Dictionary<string, Object>{};
ListaEmpresas = new decimal[]{};
}
public virtual int IDVista { get; set; }
public virtual Dictionary<string, Object> Parametros { get; set; }
public virtual Lenguajes Lenguaje { get; set; }
public virtual decimal[] ListaEmpresas { get; set; }
}
public partial class EjecutaQueryRS
{
public EjecutaQueryRS()
{
DatosConsulta = new List<Dictionary<String,Object>>{};
SummaryList = new List<Object>{};
}
public virtual List<Dictionary<String,Object>> DatosConsulta { get; set; }
public virtual int TotalRegistros { get; set; }
public virtual int TotalGrupos { get; set; }
public virtual List<Object> SummaryList { get; set; }
}
public enum Lenguajes
{
ES,
PT,
EN,
}
}
C# EjecutaQueryMxEmpFileRQ 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/Consultas/Listados/EjecutarMultiempresa HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
IDVista: 0,
Parametros:
{
String: {}
},
Lenguaje: ES,
ListaEmpresas:
[
0
]
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { DatosConsulta: [ { String: {} } ], TotalRegistros: 0, TotalGrupos: 0, SummaryList: [ { } ] }