FrameAppWS

<back to all web services

EjecutaQueryRQ

Requires Authentication
The following routes are available for this service:
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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: 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"}],"omitirPaginacion":false,"multiEmpresaSel":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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