FrameAppWS

<back to all web services

EjecutaQueryBackRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/Consultas/Listados/EjecucionBackground
"use strict";
export class EjecutaQueryBackgroundRS {
    /** @param {{Empresa?:number,Sistema?:number,Login?:string,AppAdm?:boolean,TxtSQL?:string,URLArchivo?:string,Success?:boolean,Error?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    Empresa;
    /** @type {number} */
    Sistema;
    /** @type {string} */
    Login;
    /** @type {boolean} */
    AppAdm;
    /** @type {string} */
    TxtSQL;
    /** @type {string} */
    URLArchivo;
    /** @type {boolean} */
    Success;
    /** @type {string} */
    Error;
}
/** @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 EjecutaQueryBackRQ {
    /** @param {{IDVista?:number,DatosDetalles?:boolean,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} */
    IDVista;
    /** @type {boolean} */
    DatosDetalles;
    /** @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 EjecutaQueryBackRQ 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/Listados/EjecucionBackground HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	IDVista: 0,
	DatosDetalles: False,
	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

{
	Empresa: 0,
	Sistema: 0,
	Login: String,
	AppAdm: False,
	TxtSQL: String,
	URLArchivo: String,
	Success: False,
	Error: String
}