Core


Click here for a complete list of operations.

ObtenLoginAs

ObtenLoginAs (1) por Usuario, Aplicacion y Proyecto. Recibe usuarioAs, usuario nuevo, un grupoSucursal, un grupoAgencia y perfil, la IP de origen, la aplicación y el proyecto de trabajo. Verifica que el usuarioAs tenga permiso especial para accesar al metodo, verifica existencia de usuario nuevo, se actualiza o crea segun sea el caso. Devuelve un objeto de la clase IDTicket conteniendo la información resultante del intento de login. El ticket deberá manejarse en cualquier otro método de acceso al servicio. Respuesta correcta: GSTR_RESPUESTA_OK_DEFAULT (0)

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WsUsuarios/WsUsuarios.asmx HTTP/1.1
Host: normatividadiso.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://Digipro.servicios/WsUsuarios/WsUsuarios/ObtenLoginAs"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ObtenLoginAs xmlns="http://Digipro.servicios/WsUsuarios/WsUsuarios">
      <psUsrAs>string</psUsrAs>
      <psUsr>string</psUsr>
      <psGrupo>string</psGrupo>
      <pGrupoAgencia>string</pGrupoAgencia>
      <psPerfil>string</psPerfil>
      <plngVersionAplicacionID>int</plngVersionAplicacionID>
      <psAplicacion>string</psAplicacion>
      <piProyectoID>int</piProyectoID>
      <pstrIP>string</pstrIP>
      <pRespuesta>
        <RespuestaID>string</RespuestaID>
        <Categoria>string</Categoria>
        <DescripcionCategoria>string</DescripcionCategoria>
        <DescripcionRespuesta>string</DescripcionRespuesta>
        <RespuestaToString>string</RespuestaToString>
      </pRespuesta>
    </ObtenLoginAs>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ObtenLoginAsResponse xmlns="http://Digipro.servicios/WsUsuarios/WsUsuarios">
      <ObtenLoginAsResult>
        <TicketID>base64Binary</TicketID>
        <UsrID>string</UsrID>
        <IP>string</IP>
        <ProyectoID>int</ProyectoID>
        <VersionAplicacionID>int</VersionAplicacionID>
        <FechaHoraInicio>dateTime</FechaHoraInicio>
        <FechaHoraUltimoAcceso>dateTime</FechaHoraUltimoAcceso>
        <TiempoVida>int</TiempoVida>
        <TiempoRestante>int</TiempoRestante>
        <NombreCompleto>string</NombreCompleto>
        <NombreUsuario>string</NombreUsuario>
        <GrupoAdminID>int</GrupoAdminID>
        <ClienteID>int</ClienteID>
        <PerfilUsuarioID>int</PerfilUsuarioID>
        <TiempoVidaPwd>int</TiempoVidaPwd>
        <TiempoActualizoPwd>int</TiempoActualizoPwd>
        <NoIdentidad>int</NoIdentidad>
        <FechaUltLogin>dateTime</FechaUltLogin>
        <DuracionDias>int</DuracionDias>
        <AvisoCaducidadPwdDias>int</AvisoCaducidadPwdDias>
        <FechaCreacionPwd>dateTime</FechaCreacionPwd>
        <RespuestaID>string</RespuestaID>
      </ObtenLoginAsResult>
      <pRespuesta>
        <RespuestaID>string</RespuestaID>
        <Categoria>string</Categoria>
        <DescripcionCategoria>string</DescripcionCategoria>
        <DescripcionRespuesta>string</DescripcionRespuesta>
        <RespuestaToString>string</RespuestaToString>
      </pRespuesta>
    </ObtenLoginAsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WsUsuarios/WsUsuarios.asmx HTTP/1.1
Host: normatividadiso.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ObtenLoginAs xmlns="http://Digipro.servicios/WsUsuarios/WsUsuarios">
      <psUsrAs>string</psUsrAs>
      <psUsr>string</psUsr>
      <psGrupo>string</psGrupo>
      <pGrupoAgencia>string</pGrupoAgencia>
      <psPerfil>string</psPerfil>
      <plngVersionAplicacionID>int</plngVersionAplicacionID>
      <psAplicacion>string</psAplicacion>
      <piProyectoID>int</piProyectoID>
      <pstrIP>string</pstrIP>
      <pRespuesta>
        <RespuestaID>string</RespuestaID>
        <Categoria>string</Categoria>
        <DescripcionCategoria>string</DescripcionCategoria>
        <DescripcionRespuesta>string</DescripcionRespuesta>
        <RespuestaToString>string</RespuestaToString>
      </pRespuesta>
    </ObtenLoginAs>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ObtenLoginAsResponse xmlns="http://Digipro.servicios/WsUsuarios/WsUsuarios">
      <ObtenLoginAsResult>
        <TicketID>base64Binary</TicketID>
        <UsrID>string</UsrID>
        <IP>string</IP>
        <ProyectoID>int</ProyectoID>
        <VersionAplicacionID>int</VersionAplicacionID>
        <FechaHoraInicio>dateTime</FechaHoraInicio>
        <FechaHoraUltimoAcceso>dateTime</FechaHoraUltimoAcceso>
        <TiempoVida>int</TiempoVida>
        <TiempoRestante>int</TiempoRestante>
        <NombreCompleto>string</NombreCompleto>
        <NombreUsuario>string</NombreUsuario>
        <GrupoAdminID>int</GrupoAdminID>
        <ClienteID>int</ClienteID>
        <PerfilUsuarioID>int</PerfilUsuarioID>
        <TiempoVidaPwd>int</TiempoVidaPwd>
        <TiempoActualizoPwd>int</TiempoActualizoPwd>
        <NoIdentidad>int</NoIdentidad>
        <FechaUltLogin>dateTime</FechaUltLogin>
        <DuracionDias>int</DuracionDias>
        <AvisoCaducidadPwdDias>int</AvisoCaducidadPwdDias>
        <FechaCreacionPwd>dateTime</FechaCreacionPwd>
        <RespuestaID>string</RespuestaID>
      </ObtenLoginAsResult>
      <pRespuesta>
        <RespuestaID>string</RespuestaID>
        <Categoria>string</Categoria>
        <DescripcionCategoria>string</DescripcionCategoria>
        <DescripcionRespuesta>string</DescripcionRespuesta>
        <RespuestaToString>string</RespuestaToString>
      </pRespuesta>
    </ObtenLoginAsResponse>
  </soap12:Body>
</soap12:Envelope>