This module generates token for the user when logging into the system. The Service URL of the module is given by the following link-
https://{domain}.qevalpro.com/api/Authenticate/Login
The domain can be: “app” or “ai”.
- Method-
Post
- JSON Formats
1. Code snippet for Web Service Use-
{
“UserName”:”george@etechtexas.com”,
“Password”:”Password”
}
2. Description for Request Parameters-
S.No |
Name |
Type |
Description |
1 |
Username |
String |
Username for login |
2 |
Password |
String |
Password for login |
3. Response Example-
Success:
{
“Message”: “Success”,
“Token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImVicyIsImV4cCI6MTQ5MDk4MTgzOH0.9jUzPnkKXEMkvg4q7ZNZ4JmoM6JYwlsXyrdV4kNXP4E”,
“UserID”: 1234,
“UserName”: “Patrick”,
“UserFirstName”: “Patrick”,
“UserLastName”: “James”,
“RoleId”: 8,
“ClientID”: 12,
“EmpId”: 22445
}
Fail:
{“Message”: “The request is invalid”}
Video