FrameAppWS

<back to all web services

EjecutaLookupRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/Consultas/Lookups/Ejecucion
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Administrador.Modelo.Tipos;
using Administrador.Modelo.DevExtreme;

namespace Administrador.Modelo.DevExtreme
{
    public partial class gridGroupOptions
    {
        public virtual string selector { get; set; }
        public virtual bool desc { get; set; }
        public virtual bool isExpanded { get; set; }
    }

    public partial class gridSortOptions
    {
        public virtual string selector { get; set; }
        public virtual bool desc { get; set; }
    }

    public partial class gridSummaryOptions
    {
        public virtual string selector { get; set; }
        public virtual string summaryType { get; set; }
    }

}

namespace Administrador.Modelo.Tipos
{
    public partial class EjecutaLookupRQ
    {
        public EjecutaLookupRQ()
        {
            Parametros = new Dictionary<string, Object>{};
            Filter = new List<Object>{};
            SummaryGroupItems = new gridSummaryOptions[]{};
            SummaryTotalItems = new gridSummaryOptions[]{};
        }

        public virtual int IDLookup { get; set; }
        public virtual Dictionary<string, Object> Parametros { get; set; }
        public virtual Lenguajes Lenguaje { get; set; }
        public virtual int RecordSkip { get; set; }
        public virtual int RecordTake { get; set; }
        public virtual List<Object> Filter { get; set; }
        public virtual gridSortOptions Sort { get; set; }
        public virtual gridGroupOptions Group { get; set; }
        public virtual gridSummaryOptions[] SummaryGroupItems { get; set; }
        public virtual gridSummaryOptions[] SummaryTotalItems { get; set; }
    }

    public partial class EjecutaLookupRS
    {
        public EjecutaLookupRS()
        {
            DatosConsulta = new List<Dictionary<String,Object>>{};
            SummaryList = new List<Object>{};
        }

        public virtual List<Dictionary<String,Object>> DatosConsulta { get; set; }
        public virtual string Version { 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# EjecutaLookupRQ 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/Consultas/Lookups/Ejecucion HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	IDLookup: 0,
	Parametros: 
	{
		String: {}
	},
	Lenguaje: ES,
	RecordSkip: 0,
	RecordTake: 0,
	Filter: 
	[
		{
			
		}
	],
	Sort: 
	{
		selector: String,
		desc: False
	},
	Group: 
	{
		selector: String,
		desc: False,
		isExpanded: False
	},
	SummaryGroupItems: 
	[
		{
			selector: String,
			summaryType: String
		}
	],
	SummaryTotalItems: 
	[
		{
			selector: String,
			summaryType: String
		}
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	DatosConsulta: 
	[
		{
			String: {}
		}
	],
	Version: String,
	TotalRegistros: 0,
	TotalGrupos: 0,
	SummaryList: 
	[
		{
			
		}
	]
}