All Verbs | /admin/crearusuario |
---|
"use strict";
export class NovedadesCarga {
/** @param {{Fila?:number,Columna?:number,TipoError?:string,Novedad?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Fila;
/** @type {number} */
Columna;
/** @type {string} */
TipoError;
/** @type {string} */
Novedad;
}
export class GuardarDatosFormaDetalleRS {
/** @param {{IDDetalle?:number,Novedades?:NovedadesCarga[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
IDDetalle;
/** @type {NovedadesCarga[]} */
Novedades;
}
export class GeneralRS {
/** @param {{Codigo?:number,Mensaje?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {number}
* @description Id del código de respuesta 1: Correcto, -1: Error */
Codigo;
/**
* @type {string}
* @description Mensaje que se envía al ejecutar el servicio */
Mensaje;
}
export class ExecuteDBFunctionRS extends GeneralRS {
/** @param {{Respuesta?:Object,IDEjecucion?:number,URLArchivo?:string,TipoRespuesta?:string,Background?:boolean,TiempoRespuestaBD?:number,TiempoRespuestaTotal?:number,Codigo?:number,Mensaje?:string,Codigo?:number,Mensaje?:string}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {Object} */
Respuesta;
/** @type {number} */
IDEjecucion;
/** @type {string} */
URLArchivo;
/** @type {string} */
TipoRespuesta;
/** @type {boolean} */
Background;
/** @type {number} */
TiempoRespuestaBD;
/** @type {number} */
TiempoRespuestaTotal;
/**
* @type {number}
* @description Id del código de respuesta 1: Correcto, -1: Error */
Codigo;
/**
* @type {string}
* @description Mensaje que se envía al ejecutar el servicio */
Mensaje;
}
export class GuardarDatosFormaRS {
/** @param {{Success?:boolean,Error?:string,DatosLlaveMaestro?:{ [index: string]: Object; },NovedadesDetalles?:GuardarDatosFormaDetalleRS[],RespuestaProcAlmacenado?:ExecuteDBFunctionRS}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
Success;
/** @type {string} */
Error;
/** @type {{ [index: string]: Object; }} */
DatosLlaveMaestro;
/** @type {GuardarDatosFormaDetalleRS[]} */
NovedadesDetalles;
/** @type {ExecuteDBFunctionRS} */
RespuestaProcAlmacenado;
}
export class CreateUserAdm extends GuardarDatosFormaRS {
/** @param {{Identificacion?:string,Nombres?:string,Direccion?:string,Telefonos?:string,Email?:string,UsuarioCreo?:string,Estado?:string,LoginAdicional?:string,ID?:number,CodSistema?:number,CodEmpresa?:number,Success?:boolean,Error?:string,DatosLlaveMaestro?:{ [index: string]: Object; },NovedadesDetalles?:GuardarDatosFormaDetalleRS[],RespuestaProcAlmacenado?:ExecuteDBFunctionRS,Success?:boolean,Error?:string,DatosLlaveMaestro?:{ [index: string]: Object; },NovedadesDetalles?:GuardarDatosFormaDetalleRS[],RespuestaProcAlmacenado?:ExecuteDBFunctionRS}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {string} */
Identificacion;
/** @type {string} */
Nombres;
/** @type {string} */
Direccion;
/** @type {string} */
Telefonos;
/** @type {string} */
Email;
/** @type {string} */
UsuarioCreo;
/** @type {string} */
Estado;
/** @type {string} */
LoginAdicional;
/** @type {number} */
ID;
/** @type {number} */
CodSistema;
/** @type {number} */
CodEmpresa;
/** @type {boolean} */
Success;
/** @type {string} */
Error;
/** @type {{ [index: string]: Object; }} */
DatosLlaveMaestro;
/** @type {GuardarDatosFormaDetalleRS[]} */
NovedadesDetalles;
/** @type {ExecuteDBFunctionRS} */
RespuestaProcAlmacenado;
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=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>