FrameAppWS

<back to all web services

CreateUserAdm

Requires Authentication
The following routes are available for this service:
All Verbs/admin/crearusuario

export class NovedadesCarga
{
    public Fila: number;
    public Columna: number;
    public TipoError: string;
    public Novedad: string;

    public constructor(init?: Partial<NovedadesCarga>) { (Object as any).assign(this, init); }
}

export class GuardarDatosFormaDetalleRS
{
    public IDDetalle: number;
    public Novedades: NovedadesCarga[];

    public constructor(init?: Partial<GuardarDatosFormaDetalleRS>) { (Object as any).assign(this, init); }
}

export class GeneralRS
{
    /** @description 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 Codigo: number;

    /** @description 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 Mensaje: string;

    public constructor(init?: Partial<GeneralRS>) { (Object as any).assign(this, init); }
}

export class ExecuteDBFunctionRS extends GeneralRS
{
    public Respuesta: Object;
    public IDEjecucion: number;
    public URLArchivo: string;
    public TipoRespuesta: string;
    public Background: boolean;
    public TiempoRespuestaBD: number;
    public TiempoRespuestaTotal: number;
    /** @description 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 Codigo: number;

    /** @description 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 Mensaje: string;

    public constructor(init?: Partial<ExecuteDBFunctionRS>) { super(init); (Object as any).assign(this, init); }
}

export class GuardarDatosFormaRS
{
    public Success: boolean;
    public Error: string;
    public DatosLlaveMaestro: { [index: string]: Object; };
    public NovedadesDetalles: GuardarDatosFormaDetalleRS[];
    public RespuestaProcAlmacenado: ExecuteDBFunctionRS;

    public constructor(init?: Partial<GuardarDatosFormaRS>) { (Object as any).assign(this, init); }
}

export class CreateUserAdm extends GuardarDatosFormaRS
{
    public Identificacion: string;
    public Nombres: string;
    public Direccion: string;
    public Telefonos: string;
    public Email: string;
    public UsuarioCreo: string;
    public Estado: string;
    public LoginAdicional: string;
    public ID: number;
    public CodSistema: number;
    public CodEmpresa: number;
    public Success: boolean;
    public Error: string;
    public DatosLlaveMaestro: { [index: string]: Object; };
    public NovedadesDetalles: GuardarDatosFormaDetalleRS[];
    public RespuestaProcAlmacenado: ExecuteDBFunctionRS;

    public constructor(init?: Partial<CreateUserAdm>) { super(init); (Object as any).assign(this, init); }
}

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

<CreateUserAdm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
  <DatosLlaveMaestro xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
  </DatosLlaveMaestro>
  <Error>String</Error>
  <NovedadesDetalles>
    <GuardarDatosFormaDetalleRS>
      <IDDetalle>0</IDDetalle>
      <Novedades xmlns:d4p1="http://schemas.datacontract.org/2004/07/Administrador.Modelo">
        <d4p1:NovedadesCarga>
          <d4p1:Columna>0</d4p1:Columna>
          <d4p1:Fila>0</d4p1:Fila>
          <d4p1:Novedad>String</d4p1:Novedad>
          <d4p1:TipoError>String</d4p1:TipoError>
        </d4p1:NovedadesCarga>
      </Novedades>
    </GuardarDatosFormaDetalleRS>
  </NovedadesDetalles>
  <RespuestaProcAlmacenado>
    <Codigo>0</Codigo>
    <Mensaje>String</Mensaje>
    <Background>false</Background>
    <IDEjecucion>0</IDEjecucion>
    <Respuesta />
    <TiempoRespuestaBD>0</TiempoRespuestaBD>
    <TiempoRespuestaTotal>0</TiempoRespuestaTotal>
    <TipoRespuesta>String</TipoRespuesta>
    <URLArchivo>String</URLArchivo>
  </RespuestaProcAlmacenado>
  <Success>false</Success>
  <CodEmpresa>0</CodEmpresa>
  <CodSistema>0</CodSistema>
  <Direccion>String</Direccion>
  <Email>String</Email>
  <Estado>String</Estado>
  <ID>0</ID>
  <Identificacion>String</Identificacion>
  <LoginAdicional>String</LoginAdicional>
  <Nombres>String</Nombres>
  <Telefonos>String</Telefonos>
  <UsuarioCreo>String</UsuarioCreo>
</CreateUserAdm>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GuardarDatosFormaRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Administrador.Modelo.Tipos">
  <DatosLlaveMaestro xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
  </DatosLlaveMaestro>
  <Error>String</Error>
  <NovedadesDetalles>
    <GuardarDatosFormaDetalleRS>
      <IDDetalle>0</IDDetalle>
      <Novedades xmlns:d4p1="http://schemas.datacontract.org/2004/07/Administrador.Modelo">
        <d4p1:NovedadesCarga>
          <d4p1:Columna>0</d4p1:Columna>
          <d4p1:Fila>0</d4p1:Fila>
          <d4p1:Novedad>String</d4p1:Novedad>
          <d4p1:TipoError>String</d4p1:TipoError>
        </d4p1:NovedadesCarga>
      </Novedades>
    </GuardarDatosFormaDetalleRS>
  </NovedadesDetalles>
  <RespuestaProcAlmacenado>
    <Codigo>0</Codigo>
    <Mensaje>String</Mensaje>
    <Background>false</Background>
    <IDEjecucion>0</IDEjecucion>
    <Respuesta />
    <TiempoRespuestaBD>0</TiempoRespuestaBD>
    <TiempoRespuestaTotal>0</TiempoRespuestaTotal>
    <TipoRespuesta>String</TipoRespuesta>
    <URLArchivo>String</URLArchivo>
  </RespuestaProcAlmacenado>
  <Success>false</Success>
</GuardarDatosFormaRS>