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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
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: application/json Content-Length: length {"Empresa":0,"Sistema":0,"Login":"String","AppAdm":false,"TxtSQL":"String","URLArchivo":"String","Success":false,"Error":"String"}