Get Role
The Get Role API retrieves a list of user roles defined in the system. Roles are critical for managing access permissions and defining what actions users can perform within the application.
API Method
GET
Endpoint
https://cebuana-apiuat.veryfyglobal.com/enums/role
Headers
Key
Value
Accept
application/json
Authorization
Bearer <YOUR_TOKEN>
Response Sample
{
"message": "Ok",
"data": [
{
"value": 0,
"key": "SuperAdmin",
"description": "Super Admin"
},
{
"value": 1,
"key": "BranchPersonnel",
"description": "Branch Personnel"
},
{
"value": 2,
"key": "BranchManager",
"description": "Branch Manager"
},
{
"value": 3,
"key": "RegionalManager",
"description": "Regional Manager"
},
{
"value": 4,
"key": "Treasury",
"description": "Treasury"
},
{
"value": 5,
"key": "Support",
"description": "Support"
},
{
"value": 6,
"key": "ReportingAnalysis",
"description": "Reporting Analysis"
},
{
"value": 7,
"key": "MG",
"description": "MG"
}
]
}Last updated