A Product of Global Services

API Documentation

Login

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://qevalpro.com/api/Authenticate/Login

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”}

 

wpChatIcon
wpChatIcon