Get Role List
The below API is used to get user roles from Role Management.
Request: GET
Signature: /api/mobile/GetRoleList?Token={Login_Token}&IsExternal={Boolean_Value}
Sample: /api/mobile/GetRoleList?Token=VomYEMiECFFyAQ3==&IsExternal=false
Response:
{
"Code": 1,
"Info": "",
"RowsAffected": 4,
"Scalar": null,
"Identity": 0,
"RetInfo": [
{
"RoleName": "Region Admin"
},
{
"RoleName": "Operations"
},
{
"RoleName": "Ops Manager"
},
{
"RoleName": "Basic Access"
}
]
}
Things to know about this API:
- Token - You can use Login API to get token displayed under Info
- IsExternal
- true will display External Users
- false will display Internal Users