servUsuario


Click here for a complete list of operations.

validar_solo_usuario

Valida solamente el usuario

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 /servUsuario.asmx HTTP/1.1
Host: smprog-ws.coamperu.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://sinfoec.com/validar_solo_usuario"

<?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>
    <validar_solo_usuario xmlns="http://sinfoec.com/">
      <_moUsuario>
        <_usuario>string</_usuario>
        <_clave>string</_clave>
        <_id_usuario>short</_id_usuario>
        <_estadoUsuario>string</_estadoUsuario>
        <_nombre>string</_nombre>
        <_apellido>string</_apellido>
        <_cargo>string</_cargo>
        <_email>string</_email>
        <_telefono>string</_telefono>
        <_desactivar_usuario>string</_desactivar_usuario>
        <_cambiarclave>string</_cambiarclave>
        <_ManipulaOT>char</_ManipulaOT>
        <_autoriza_ejec_OT>string</_autoriza_ejec_OT>
        <_solicita_ejec_OT>string</_solicita_ejec_OT>
        <_supervisa_OT>string</_supervisa_OT>
        <_mod_cts_serv>string</_mod_cts_serv>
        <_mod_cts_mat>string</_mod_cts_mat>
        <_mod_otros_cts>string</_mod_otros_cts>
        <_cad_ini_ses>string</_cad_ini_ses>
        <_dias_caduca_clave>short</_dias_caduca_clave>
        <_nueva_clave>string</_nueva_clave>
        <_conectado>string</_conectado>
        <_observacion>string</_observacion>
        <_cod_perfil>int</_cod_perfil>
        <_tipoFiltro>string</_tipoFiltro>
        <_cod_modulo>int</_cod_modulo>
        <_v_descripcion>string</_v_descripcion>
        <_descripcion>string</_descripcion>
        <_cod_tipo_doc>int</_cod_tipo_doc>
        <_autoriza_traslado>string</_autoriza_traslado>
        <_modifica_porc_ganancia>char</_modifica_porc_ganancia>
        <_errNumero>int</_errNumero>
        <_errLinea>int</_errLinea>
        <_errDetalle>string</_errDetalle>
      </_moUsuario>
    </validar_solo_usuario>
  </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>
    <validar_solo_usuarioResponse xmlns="http://sinfoec.com/">
      <validar_solo_usuarioResult>
        <xsd:schema>schema</xsd:schema>xml</validar_solo_usuarioResult>
    </validar_solo_usuarioResponse>
  </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 /servUsuario.asmx HTTP/1.1
Host: smprog-ws.coamperu.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>
    <validar_solo_usuario xmlns="http://sinfoec.com/">
      <_moUsuario>
        <_usuario>string</_usuario>
        <_clave>string</_clave>
        <_id_usuario>short</_id_usuario>
        <_estadoUsuario>string</_estadoUsuario>
        <_nombre>string</_nombre>
        <_apellido>string</_apellido>
        <_cargo>string</_cargo>
        <_email>string</_email>
        <_telefono>string</_telefono>
        <_desactivar_usuario>string</_desactivar_usuario>
        <_cambiarclave>string</_cambiarclave>
        <_ManipulaOT>char</_ManipulaOT>
        <_autoriza_ejec_OT>string</_autoriza_ejec_OT>
        <_solicita_ejec_OT>string</_solicita_ejec_OT>
        <_supervisa_OT>string</_supervisa_OT>
        <_mod_cts_serv>string</_mod_cts_serv>
        <_mod_cts_mat>string</_mod_cts_mat>
        <_mod_otros_cts>string</_mod_otros_cts>
        <_cad_ini_ses>string</_cad_ini_ses>
        <_dias_caduca_clave>short</_dias_caduca_clave>
        <_nueva_clave>string</_nueva_clave>
        <_conectado>string</_conectado>
        <_observacion>string</_observacion>
        <_cod_perfil>int</_cod_perfil>
        <_tipoFiltro>string</_tipoFiltro>
        <_cod_modulo>int</_cod_modulo>
        <_v_descripcion>string</_v_descripcion>
        <_descripcion>string</_descripcion>
        <_cod_tipo_doc>int</_cod_tipo_doc>
        <_autoriza_traslado>string</_autoriza_traslado>
        <_modifica_porc_ganancia>char</_modifica_porc_ganancia>
        <_errNumero>int</_errNumero>
        <_errLinea>int</_errLinea>
        <_errDetalle>string</_errDetalle>
      </_moUsuario>
    </validar_solo_usuario>
  </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>
    <validar_solo_usuarioResponse xmlns="http://sinfoec.com/">
      <validar_solo_usuarioResult>
        <xsd:schema>schema</xsd:schema>xml</validar_solo_usuarioResult>
    </validar_solo_usuarioResponse>
  </soap12:Body>
</soap12:Envelope>