All Verbs | /Utilidades/Consultas/Listados/Ejecucion |
---|
"use strict";
export class EjecutaQueryRS {
/** @param {{DatosConsulta?:{ [index:string]: Object; }[],TotalRegistros?:number,TotalGrupos?:number,SummaryList?:Object[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {{ [index:string]: Object; }[]} */
DatosConsulta;
/** @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 EjecutaQueryRQ {
/** @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[],omitirPaginacion?:boolean,multiEmpresaSel?:boolean}} [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;
/** @type {boolean} */
omitirPaginacion;
/** @type {boolean} */
multiEmpresaSel;
}
export class gridSummaryOptions {
/** @param {{selector?:string,summaryType?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
selector;
/** @type {string} */
summaryType;
}
JavaScript EjecutaQueryRQ DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Utilidades/Consultas/Listados/Ejecucion HTTP/1.1
Host: soluser-recaudo.sgsas.co
Accept: text/csv
Content-Type: text/csv
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"}],"omitirPaginacion":false,"multiEmpresaSel":false}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"DatosConsulta":[{"String":{}}],"TotalRegistros":0,"TotalGrupos":0,"SummaryList":[{}]}