What is the requirement of 'AUTH_VAHANA' and 'SPDPGETUSERSESSION' in vFlow?

What is the requirement of ‘AUTH_VAHANA’ and ‘SPDPGETUSERSESSION’ in vFlow?

3 Likes

When we pass login parameter in AUTH_VAHANA service, it captures the details and then validate the login details
4 input parameters needs to pass in request

  • Request Type
  • Login ID
  • User ID
  • Password
5 Likes

@Nikhil.Dhanda Can you please describe the requirement of SPDPGETUSERSESSION?

2 Likes

vFlow already has some built in templates for Login screen

To consume these built in templates, you need to configure two services:

  • AUTH_VAHANA

    • Device Level Session
    • Body JSON
    • Expects Response [{“p_gprs_string”:”y”}]
  • SPDPGETUSERSESSION

    • User Level Session
    • Expects Reponse [{“STATUS”:”SUCCESS”}]

NOTE: Parameters can be different as per your requirement.
Also, you can add APIs as per the requirement and bind them with these services.

4 Likes