FrameAppWS

<back to all web services

ArbolPermisosFormasRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Usuarios/Permisos/Forma
"use strict";
export class PermisosItems {
    /** @param {{CodigoMenu?:number,CodigoPadre?:number,Nombre?:string,Descripcion?:string,TienePermiso?:boolean,TipoEjecucion?:string,IDEjecucion?:string,InfoAdicional?:string,Orden?:number,Items?:PermisosItems[],Icono?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    CodigoMenu;
    /** @type {number} */
    CodigoPadre;
    /** @type {string} */
    Nombre;
    /** @type {string} */
    Descripcion;
    /** @type {boolean} */
    TienePermiso;
    /** @type {string} */
    TipoEjecucion;
    /** @type {string} */
    IDEjecucion;
    /** @type {string} */
    InfoAdicional;
    /** @type {number} */
    Orden;
    /** @type {PermisosItems[]} */
    Items;
    /** @type {string} */
    Icono;
}
export class PermisosFormas {
    /** @param {{CodForma?:number,Nombre?:string,Descripcion?:string,Items?:PermisosItems[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    CodForma;
    /** @type {string} */
    Nombre;
    /** @type {string} */
    Descripcion;
    /** @type {PermisosItems[]} */
    Items;
}
/** @typedef {'ES'|'PT'|'EN'} */
export var Lenguajes;
(function (Lenguajes) {
    Lenguajes["ES"] = "ES"
    Lenguajes["PT"] = "PT"
    Lenguajes["EN"] = "EN"
})(Lenguajes || (Lenguajes = {}));
export class ArbolPermisosFormasRQ {
    /** @param {{Usuario?:string,CodSistema?:number,CodEmpresa?:number,CodModulo?:number,CodForma?:number,Lenguaje?:Lenguajes}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Usuario;
    /** @type {number} */
    CodSistema;
    /** @type {number} */
    CodEmpresa;
    /** @type {number} */
    CodModulo;
    /** @type {number} */
    CodForma;
    /** @type {Lenguajes} */
    Lenguaje;
}

JavaScript ArbolPermisosFormasRQ 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 /Usuarios/Permisos/Forma HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Usuario: String,
	CodSistema: 0,
	CodEmpresa: 0,
	CodModulo: 0,
	CodForma: 0,
	Lenguaje: ES
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	CodForma: 0,
	Nombre: String,
	Descripcion: String,
	Items: 
	[
		{
			CodigoMenu: 0,
			CodigoPadre: 0,
			Nombre: String,
			Descripcion: String,
			TienePermiso: False,
			TipoEjecucion: String,
			IDEjecucion: String,
			InfoAdicional: String,
			Orden: 0,
			Items: 
			[
				{
					CodigoMenu: 0,
					CodigoPadre: 0,
					Nombre: String,
					Descripcion: String,
					TienePermiso: False,
					TipoEjecucion: String,
					IDEjecucion: String,
					InfoAdicional: String,
					Orden: 0,
					Items: 
					[
						{
							CodigoMenu: 0,
							CodigoPadre: 0,
							Nombre: String,
							Descripcion: String,
							TienePermiso: False,
							TipoEjecucion: String,
							IDEjecucion: String,
							InfoAdicional: String,
							Orden: 0,
							Icono: String
						}
					],
					Icono: String
				}
			],
			Icono: String
		}
	]
}