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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<ArbolPermisosFormasRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
  <CodEmpresa>0</CodEmpresa>
  <CodForma>0</CodForma>
  <CodModulo>0</CodModulo>
  <CodSistema>0</CodSistema>
  <Lenguaje>ES</Lenguaje>
  <Usuario>String</Usuario>
</ArbolPermisosFormasRQ>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PermisosFormas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
  <CodForma>0</CodForma>
  <Descripcion>String</Descripcion>
  <Items>
    <PermisosItems>
      <CodigoMenu>0</CodigoMenu>
      <CodigoPadre>0</CodigoPadre>
      <Descripcion>String</Descripcion>
      <IDEjecucion>String</IDEjecucion>
      <Icono>String</Icono>
      <InfoAdicional>String</InfoAdicional>
      <Items>
        <PermisosItems>
          <CodigoMenu>0</CodigoMenu>
          <CodigoPadre>0</CodigoPadre>
          <Descripcion>String</Descripcion>
          <IDEjecucion>String</IDEjecucion>
          <Icono>String</Icono>
          <InfoAdicional>String</InfoAdicional>
          <Items>
            <PermisosItems>
              <CodigoMenu>0</CodigoMenu>
              <CodigoPadre>0</CodigoPadre>
              <Descripcion>String</Descripcion>
              <IDEjecucion>String</IDEjecucion>
              <Icono>String</Icono>
              <InfoAdicional>String</InfoAdicional>
              <Items i:nil="true" />
              <Nombre>String</Nombre>
              <Orden>0</Orden>
              <TienePermiso>false</TienePermiso>
              <TipoEjecucion>String</TipoEjecucion>
            </PermisosItems>
          </Items>
          <Nombre>String</Nombre>
          <Orden>0</Orden>
          <TienePermiso>false</TienePermiso>
          <TipoEjecucion>String</TipoEjecucion>
        </PermisosItems>
      </Items>
      <Nombre>String</Nombre>
      <Orden>0</Orden>
      <TienePermiso>false</TienePermiso>
      <TipoEjecucion>String</TipoEjecucion>
    </PermisosItems>
  </Items>
  <Nombre>String</Nombre>
</PermisosFormas>