This module helps to get the user roles from the system. The Service URL of the module is given by the following link-
https://{domain}.qevalpro.com/api/ManageUser/GetRoles
The domain can be: “app” or “ai”.
- Method–
Post
- JSON Formats-
1. Code snippet for Web Service Use-
{
Headers
Every API call must include two-factor authentication by providing the following headers:
- Authorization: Bearer <Generated_Token>
- The Bearer Token is generated upon a successful login.
- X_API_KEY: <Your_Unique_API_Key>
- Note: This key is assigned by the QEval team. If not available, you can request it via email at Qeval@etechtexas.com
}
2. Description for Request Parameters-
S.No |
Name |
Type |
Description |
1 |
Token |
String |
Authentication Token |
3. Response Example-
Success:
[
{
“Selected”: true,
“Text”: “Select Role Name”,
“Value”: “0”
},
{
“Selected”: false,
“Text”: “Admin”,
“Value”: “7”
}
]
Fail:
{“Message”: “The request is invalid”}
Video