FrameAppWS

<back to all web services

ArbolPermisosFormasRQ

Requires Authentication
The following routes are available for this service:
All Verbs/Usuarios/Permisos/Forma
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class ArbolPermisosFormasRQ
    {
        public String Usuario = null;
        public Integer CodSistema = null;
        public Integer CodEmpresa = null;
        public Integer CodModulo = null;
        public Integer CodForma = null;
        public Lenguajes Lenguaje = null;
        
        public String getUsuario() { return Usuario; }
        public ArbolPermisosFormasRQ setUsuario(String value) { this.Usuario = value; return this; }
        public Integer getCodSistema() { return CodSistema; }
        public ArbolPermisosFormasRQ setCodSistema(Integer value) { this.CodSistema = value; return this; }
        public Integer getCodEmpresa() { return CodEmpresa; }
        public ArbolPermisosFormasRQ setCodEmpresa(Integer value) { this.CodEmpresa = value; return this; }
        public Integer getCodModulo() { return CodModulo; }
        public ArbolPermisosFormasRQ setCodModulo(Integer value) { this.CodModulo = value; return this; }
        public Integer getCodForma() { return CodForma; }
        public ArbolPermisosFormasRQ setCodForma(Integer value) { this.CodForma = value; return this; }
        public Lenguajes getLenguaje() { return Lenguaje; }
        public ArbolPermisosFormasRQ setLenguaje(Lenguajes value) { this.Lenguaje = value; return this; }
    }

    public static enum Lenguajes
    {
        Es,
        Pt,
        En;
    }

    public static class PermisosFormas
    {
        public Integer CodForma = null;
        public String Nombre = null;
        public String Descripcion = null;
        public ArrayList<PermisosItems> Items = null;
        
        public Integer getCodForma() { return CodForma; }
        public PermisosFormas setCodForma(Integer value) { this.CodForma = value; return this; }
        public String getNombre() { return Nombre; }
        public PermisosFormas setNombre(String value) { this.Nombre = value; return this; }
        public String getDescripcion() { return Descripcion; }
        public PermisosFormas setDescripcion(String value) { this.Descripcion = value; return this; }
        public ArrayList<PermisosItems> getItems() { return Items; }
        public PermisosFormas setItems(ArrayList<PermisosItems> value) { this.Items = value; return this; }
    }

    public static class PermisosItems
    {
        public BigDecimal CodigoMenu = null;
        public BigDecimal CodigoPadre = null;
        public String Nombre = null;
        public String Descripcion = null;
        public Boolean TienePermiso = null;
        public String TipoEjecucion = null;
        public String IDEjecucion = null;
        public String InfoAdicional = null;
        public Integer Orden = null;
        public ArrayList<PermisosItems> Items = null;
        public String Icono = null;
        
        public BigDecimal getCodigoMenu() { return CodigoMenu; }
        public PermisosItems setCodigoMenu(BigDecimal value) { this.CodigoMenu = value; return this; }
        public BigDecimal getCodigoPadre() { return CodigoPadre; }
        public PermisosItems setCodigoPadre(BigDecimal value) { this.CodigoPadre = value; return this; }
        public String getNombre() { return Nombre; }
        public PermisosItems setNombre(String value) { this.Nombre = value; return this; }
        public String getDescripcion() { return Descripcion; }
        public PermisosItems setDescripcion(String value) { this.Descripcion = value; return this; }
        public Boolean isTienePermiso() { return TienePermiso; }
        public PermisosItems setTienePermiso(Boolean value) { this.TienePermiso = value; return this; }
        public String getTipoEjecucion() { return TipoEjecucion; }
        public PermisosItems setTipoEjecucion(String value) { this.TipoEjecucion = value; return this; }
        public String getIdEjecucion() { return IDEjecucion; }
        public PermisosItems setIdEjecucion(String value) { this.IDEjecucion = value; return this; }
        public String getInfoAdicional() { return InfoAdicional; }
        public PermisosItems setInfoAdicional(String value) { this.InfoAdicional = value; return this; }
        public Integer getOrden() { return Orden; }
        public PermisosItems setOrden(Integer value) { this.Orden = value; return this; }
        public ArrayList<PermisosItems> getItems() { return Items; }
        public PermisosItems setItems(ArrayList<PermisosItems> value) { this.Items = value; return this; }
        public String getIcono() { return Icono; }
        public PermisosItems setIcono(String value) { this.Icono = value; return this; }
    }

}

Java ArbolPermisosFormasRQ DTOs

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

HTTP + OTHER

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/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Usuario":"String","CodSistema":0,"CodEmpresa":0,"CodModulo":0,"CodForma":0,"Lenguaje":"ES"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
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,"Items":null,"Icono":"String"}],"Icono":"String"}],"Icono":"String"}]}