FrameAppWS

<back to all web services

EjecutaQueryMxEmpFileRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/Consultas/Listados/EjecutarMultiempresa
"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 EjecutaQueryMxEmpFileRQ {
    /** @param {{IDVista?:number,Parametros?:{ [index: string]: Object; },Lenguaje?:Lenguajes,ListaEmpresas?:number[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    IDVista;
    /** @type {{ [index: string]: Object; }} */
    Parametros;
    /** @type {Lenguajes} */
    Lenguaje;
    /** @type {number[]} */
    ListaEmpresas;
}

JavaScript EjecutaQueryMxEmpFileRQ DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Utilidades/Consultas/Listados/EjecutarMultiempresa HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"IDVista":0,"Parametros":{"String":{}},"Lenguaje":"ES","ListaEmpresas":[0]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

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