FrameAppWS

<back to all web services

EjecutaCuboOpRemotasRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Utilidades/Consultas/Cubos/OperacionesRemotas
"use strict";
export class EjecutaCuboOpRemotasRS {
    /** @param {{data?:{ [index:string]: Object; }[],totalCount?:number,Error?:string,SQL?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {{ [index:string]: Object; }[]} */
    data;
    /** @type {number} */
    totalCount;
    /** @type {string} */
    Error;
    /** @type {string} */
    SQL;
}
/** @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 EjecutaCuboOpRemotasRQ {
    /** @param {{IDVista?:number,IDPivot?:number,Parametros?:{ [index: string]: Object; },Lenguaje?:Lenguajes,skip?:number,take?:number,filter?:Object[],sort?:gridSortOptions,group?:gridGroupOptions[],groupSummary?:gridSummaryOptions[],totalSummary?:gridSummaryOptions[],requireTotalCount?:boolean,requireGroupCount?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    IDVista;
    /** @type {number} */
    IDPivot;
    /** @type {{ [index: string]: Object; }} */
    Parametros;
    /** @type {Lenguajes} */
    Lenguaje;
    /** @type {number} */
    skip;
    /** @type {number} */
    take;
    /** @type {Object[]} */
    filter;
    /** @type {gridSortOptions} */
    sort;
    /** @type {gridGroupOptions[]} */
    group;
    /** @type {gridSummaryOptions[]} */
    groupSummary;
    /** @type {gridSummaryOptions[]} */
    totalSummary;
    /** @type {boolean} */
    requireTotalCount;
    /** @type {boolean} */
    requireGroupCount;
}
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 gridSummaryOptions {
    /** @param {{selector?:string,summaryType?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    selector;
    /** @type {string} */
    summaryType;
}

JavaScript EjecutaCuboOpRemotasRQ 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/Cubos/OperacionesRemotas HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	IDVista: 0,
	IDPivot: 0,
	Parametros: 
	{
		String: {}
	},
	Lenguaje: ES,
	skip: 0,
	take: 0,
	filter: 
	[
		{
			
		}
	],
	sort: 
	{
		selector: String,
		desc: False
	},
	group: 
	[
		{
			selector: String,
			desc: False,
			isExpanded: False
		}
	],
	groupSummary: 
	[
		{
			selector: String,
			summaryType: String
		}
	],
	totalSummary: 
	[
		{
			selector: String,
			summaryType: String
		}
	],
	requireTotalCount: False,
	requireGroupCount: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	data: 
	[
		{
			String: {}
		}
	],
	totalCount: 0,
	Error: String,
	SQL: String
}