FrameAppWS

<back to all web services

EjecutaLookupRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/Consultas/Lookups/Ejecucion
"use strict";
export class EjecutaLookupRS {
    /** @param {{DatosConsulta?:{ [index:string]: Object; }[],Version?:string,TotalRegistros?:number,TotalGrupos?:number,SummaryList?:Object[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {{ [index:string]: Object; }[]} */
    DatosConsulta;
    /** @type {string} */
    Version;
    /** @type {number} */
    TotalRegistros;
    /** @type {number} */
    TotalGrupos;
    /** @type {Object[]} */
    SummaryList;
}
/** @typedef {'ES'|'PT'|'EN'} */
export var Lenguajes;
(function (Lenguajes) {
    Lenguajes["ES"] = "ES"
    Lenguajes["PT"] = "PT"
    Lenguajes["EN"] = "EN"
})(Lenguajes || (Lenguajes = {}));
export class gridSortOptions {
    /** @param {{selector?:string,desc?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    selector;
    /** @type {boolean} */
    desc;
}
export class gridGroupOptions {
    /** @param {{selector?:string,desc?:boolean,isExpanded?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    selector;
    /** @type {boolean} */
    desc;
    /** @type {boolean} */
    isExpanded;
}
export class EjecutaLookupRQ {
    /** @param {{IDLookup?:number,Parametros?:{ [index: string]: Object; },Lenguaje?:Lenguajes,RecordSkip?:number,RecordTake?:number,Filter?:Object[],Sort?:gridSortOptions,Group?:gridGroupOptions,SummaryGroupItems?:gridSummaryOptions[],SummaryTotalItems?:gridSummaryOptions[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    IDLookup;
    /** @type {{ [index: string]: Object; }} */
    Parametros;
    /** @type {Lenguajes} */
    Lenguaje;
    /** @type {number} */
    RecordSkip;
    /** @type {number} */
    RecordTake;
    /** @type {Object[]} */
    Filter;
    /** @type {gridSortOptions} */
    Sort;
    /** @type {gridGroupOptions} */
    Group;
    /** @type {gridSummaryOptions[]} */
    SummaryGroupItems;
    /** @type {gridSummaryOptions[]} */
    SummaryTotalItems;
}
export class gridSummaryOptions {
    /** @param {{selector?:string,summaryType?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    selector;
    /** @type {string} */
    summaryType;
}

JavaScript 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: 
	[
		{
			
		}
	]
}