FrameAppWS

<back to all web services

CreateUserAdm

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

public class dtos
{

    public static class CreateUserAdm extends GuardarDatosFormaRS
    {
        public String Identificacion = null;
        public String Nombres = null;
        public String Direccion = null;
        public String Telefonos = null;
        public String Email = null;
        public String UsuarioCreo = null;
        public String Estado = null;
        public String LoginAdicional = null;
        public Long ID = null;
        public Integer CodSistema = null;
        public Integer CodEmpresa = null;
        public Boolean Success = null;
        public String Error = null;
        public HashMap<String,Object> DatosLlaveMaestro = null;
        public ArrayList<GuardarDatosFormaDetalleRS> NovedadesDetalles = null;
        public ExecuteDBFunctionRS RespuestaProcAlmacenado = null;
        
        public String getIdentificacion() { return Identificacion; }
        public CreateUserAdm setIdentificacion(String value) { this.Identificacion = value; return this; }
        public String getNombres() { return Nombres; }
        public CreateUserAdm setNombres(String value) { this.Nombres = value; return this; }
        public String getDireccion() { return Direccion; }
        public CreateUserAdm setDireccion(String value) { this.Direccion = value; return this; }
        public String getTelefonos() { return Telefonos; }
        public CreateUserAdm setTelefonos(String value) { this.Telefonos = value; return this; }
        public String getEmail() { return Email; }
        public CreateUserAdm setEmail(String value) { this.Email = value; return this; }
        public String getUsuarioCreo() { return UsuarioCreo; }
        public CreateUserAdm setUsuarioCreo(String value) { this.UsuarioCreo = value; return this; }
        public String getEstado() { return Estado; }
        public CreateUserAdm setEstado(String value) { this.Estado = value; return this; }
        public String getLoginAdicional() { return LoginAdicional; }
        public CreateUserAdm setLoginAdicional(String value) { this.LoginAdicional = value; return this; }
        public Long getId() { return ID; }
        public CreateUserAdm setId(Long value) { this.ID = value; return this; }
        public Integer getCodSistema() { return CodSistema; }
        public CreateUserAdm setCodSistema(Integer value) { this.CodSistema = value; return this; }
        public Integer getCodEmpresa() { return CodEmpresa; }
        public CreateUserAdm setCodEmpresa(Integer value) { this.CodEmpresa = value; return this; }
        public Boolean isSuccess() { return Success; }
        public CreateUserAdm setSuccess(Boolean value) { this.Success = value; return this; }
        public String getError() { return Error; }
        public CreateUserAdm setError(String value) { this.Error = value; return this; }
        public HashMap<String,Object> getDatosLlaveMaestro() { return DatosLlaveMaestro; }
        public CreateUserAdm setDatosLlaveMaestro(HashMap<String,Object> value) { this.DatosLlaveMaestro = value; return this; }
        public ArrayList<GuardarDatosFormaDetalleRS> getNovedadesDetalles() { return NovedadesDetalles; }
        public CreateUserAdm setNovedadesDetalles(ArrayList<GuardarDatosFormaDetalleRS> value) { this.NovedadesDetalles = value; return this; }
        public ExecuteDBFunctionRS getRespuestaProcAlmacenado() { return RespuestaProcAlmacenado; }
        public CreateUserAdm setRespuestaProcAlmacenado(ExecuteDBFunctionRS value) { this.RespuestaProcAlmacenado = value; return this; }
    }

    public static class GuardarDatosFormaRS
    {
        public Boolean Success = null;
        public String Error = null;
        public HashMap<String,Object> DatosLlaveMaestro = null;
        public ArrayList<GuardarDatosFormaDetalleRS> NovedadesDetalles = null;
        public ExecuteDBFunctionRS RespuestaProcAlmacenado = null;
        
        public Boolean isSuccess() { return Success; }
        public GuardarDatosFormaRS setSuccess(Boolean value) { this.Success = value; return this; }
        public String getError() { return Error; }
        public GuardarDatosFormaRS setError(String value) { this.Error = value; return this; }
        public HashMap<String,Object> getDatosLlaveMaestro() { return DatosLlaveMaestro; }
        public GuardarDatosFormaRS setDatosLlaveMaestro(HashMap<String,Object> value) { this.DatosLlaveMaestro = value; return this; }
        public ArrayList<GuardarDatosFormaDetalleRS> getNovedadesDetalles() { return NovedadesDetalles; }
        public GuardarDatosFormaRS setNovedadesDetalles(ArrayList<GuardarDatosFormaDetalleRS> value) { this.NovedadesDetalles = value; return this; }
        public ExecuteDBFunctionRS getRespuestaProcAlmacenado() { return RespuestaProcAlmacenado; }
        public GuardarDatosFormaRS setRespuestaProcAlmacenado(ExecuteDBFunctionRS value) { this.RespuestaProcAlmacenado = value; return this; }
    }

    public static class GuardarDatosFormaDetalleRS
    {
        public BigDecimal IDDetalle = null;
        public ArrayList<NovedadesCarga> Novedades = null;
        
        public BigDecimal getIdDetalle() { return IDDetalle; }
        public GuardarDatosFormaDetalleRS setIdDetalle(BigDecimal value) { this.IDDetalle = value; return this; }
        public ArrayList<NovedadesCarga> getNovedades() { return Novedades; }
        public GuardarDatosFormaDetalleRS setNovedades(ArrayList<NovedadesCarga> value) { this.Novedades = value; return this; }
    }

    public static class NovedadesCarga
    {
        public Integer Fila = null;
        public Integer Columna = null;
        public String TipoError = null;
        public String Novedad = null;
        
        public Integer getFila() { return Fila; }
        public NovedadesCarga setFila(Integer value) { this.Fila = value; return this; }
        public Integer getColumna() { return Columna; }
        public NovedadesCarga setColumna(Integer value) { this.Columna = value; return this; }
        public String getTipoError() { return TipoError; }
        public NovedadesCarga setTipoError(String value) { this.TipoError = value; return this; }
        public String getNovedad() { return Novedad; }
        public NovedadesCarga setNovedad(String value) { this.Novedad = value; return this; }
    }

    public static class ExecuteDBFunctionRS extends GeneralRS
    {
        public Object Respuesta = null;
        public BigDecimal IDEjecucion = null;
        public String URLArchivo = null;
        public String TipoRespuesta = null;
        public Boolean Background = null;
        public Long TiempoRespuestaBD = null;
        public Long TiempoRespuestaTotal = null;
        /**
        * Id del código de respuesta 1: Correcto, -1: Error
        */
        @ApiMember(DataType="int", Description="Id del código de respuesta 1: Correcto, -1: Error", IsRequired=true, ParameterType="body")
        public Integer Codigo = null;

        /**
        * Mensaje que se envía al ejecutar el servicio
        */
        @ApiMember(DataType="string", Description="Mensaje que se envía al ejecutar el servicio", IsRequired=true, ParameterType="body")
        public String Mensaje = null;
        
        public Object getRespuesta() { return Respuesta; }
        public ExecuteDBFunctionRS setRespuesta(Object value) { this.Respuesta = value; return this; }
        public BigDecimal getIdEjecucion() { return IDEjecucion; }
        public ExecuteDBFunctionRS setIdEjecucion(BigDecimal value) { this.IDEjecucion = value; return this; }
        public String getUrlArchivo() { return URLArchivo; }
        public ExecuteDBFunctionRS setUrlArchivo(String value) { this.URLArchivo = value; return this; }
        public String getTipoRespuesta() { return TipoRespuesta; }
        public ExecuteDBFunctionRS setTipoRespuesta(String value) { this.TipoRespuesta = value; return this; }
        public Boolean isBackground() { return Background; }
        public ExecuteDBFunctionRS setBackground(Boolean value) { this.Background = value; return this; }
        public Long getTiempoRespuestaBD() { return TiempoRespuestaBD; }
        public ExecuteDBFunctionRS setTiempoRespuestaBD(Long value) { this.TiempoRespuestaBD = value; return this; }
        public Long getTiempoRespuestaTotal() { return TiempoRespuestaTotal; }
        public ExecuteDBFunctionRS setTiempoRespuestaTotal(Long value) { this.TiempoRespuestaTotal = value; return this; }
        public Integer getCodigo() { return Codigo; }
        public ExecuteDBFunctionRS setCodigo(Integer value) { this.Codigo = value; return this; }
        public String getMensaje() { return Mensaje; }
        public ExecuteDBFunctionRS setMensaje(String value) { this.Mensaje = value; return this; }
    }

    public static class GeneralRS
    {
        /**
        * Id del código de respuesta 1: Correcto, -1: Error
        */
        @ApiMember(DataType="int", Description="Id del código de respuesta 1: Correcto, -1: Error", IsRequired=true, ParameterType="body")
        public Integer Codigo = null;

        /**
        * Mensaje que se envía al ejecutar el servicio
        */
        @ApiMember(DataType="string", Description="Mensaje que se envía al ejecutar el servicio", IsRequired=true, ParameterType="body")
        public String Mensaje = null;
        
        public Integer getCodigo() { return Codigo; }
        public GeneralRS setCodigo(Integer value) { this.Codigo = value; return this; }
        public String getMensaje() { return Mensaje; }
        public GeneralRS setMensaje(String value) { this.Mensaje = value; return this; }
    }

}

Java CreateUserAdm 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 /admin/crearusuario HTTP/1.1 
Host: soluser-recaudo.sgsas.co 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Identificacion":"String","Nombres":"String","Direccion":"String","Telefonos":"String","Email":"String","UsuarioCreo":"String","Estado":"String","LoginAdicional":"String","ID":0,"CodSistema":0,"CodEmpresa":0,"Success":false,"Error":"String","DatosLlaveMaestro":{"String":{}},"NovedadesDetalles":[{"IDDetalle":0,"Novedades":[{"Fila":0,"Columna":0,"TipoError":"String","Novedad":"String"}]}],"RespuestaProcAlmacenado":{"Respuesta":{},"IDEjecucion":0,"URLArchivo":"String","TipoRespuesta":"String","Background":false,"TiempoRespuestaBD":0,"TiempoRespuestaTotal":0,"Codigo":0,"Mensaje":"String"}}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Success":false,"Error":"String","DatosLlaveMaestro":{"String":{}},"NovedadesDetalles":[{"IDDetalle":0,"Novedades":[{"Fila":0,"Columna":0,"TipoError":"String","Novedad":"String"}]}],"RespuestaProcAlmacenado":{"Respuesta":{},"IDEjecucion":0,"URLArchivo":"String","TipoRespuesta":"String","Background":false,"TiempoRespuestaBD":0,"TiempoRespuestaTotal":0,"Codigo":0,"Mensaje":"String"}}