Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Este WEB Service, válida el token recibido, busca si hay un registro existente, si lo hay solo actualiza la información del token y su validez, si no crea un nuevo registro, llama al proceso que envía mensajes, para mandar el token y regresa mensaje de error o éxito.

...

EL MÉTODO A UTILIZAR ES DE TIPO POST

Este método para este Web Service en específico permite la Creación de Solicitudes de crédito individual en la Aplicación SIFCO WEB.

(green star) POST

URL= https://test.sifco.org/sifco/rest/

WSNotificaSolicitudAfiliacion

WSValidarToken

(green star) HEADERS

KEY

VALUE

Content-Type

application/json

Authorization

OAuth e12cbbcf-0042-4e30-96b3-c66d356c742b!d39d795cf5d242231636419b57079163144ef487087e5f2142e21dfbbaf66009ef5b7b27404978

GENEXUS-AGENT

SmartDevice Application

(green star) BODY

Code Block
{
    "ProovedorID": 0,
    "BotID": "TEST",
    "RedSocialID": 1,
    "RedSocialClienteID": "TEST",
    "ConversacionID": "TEST",
    "ClienteID": 3,
    "Telefono": "30213865",
    "TokenIn": "958446"    
}

 

...

 

NOTA: el VALUE OAuth se debe obtener primero el token de conexión, dirigirse hacia el siguiente documento y seguir las instrucciones.

...

Tip

Operación realizada con éxito 200 (SUCCESSFUL OPERATION)

 Resultado: Cuando el token se venció nos muestra la siguiente respuesta exitosa del consumo del servicio.

...