This module helps to get the user roles from the system. The Service URL of the module is given by the following link-
https://qevalpro.com/api/ManageUser/GetRoles
•Method–
Post
•Json Formats-
1. Code snippet for Web Service Use-
{
“Token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImVicyIsImV4cCI6MTQ5MDk4MTgzOH0.9jUzPnkKXEMkvg4q7ZNZ4JmoM6JYwlsXyrdV4kNXP4E”
}
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