Role API
The API API provides ways for all User roles information.
Endpoints
Staff roles
This endpoint provides the role uuid and information that the current user can create users
Request
GET /web/roles/staff
Response (StaffRolesResp)
{
"success": true,
"message": "",
"data": [
{
"id": "81fc87fa-2930-11ef-b50f-4a12d8c2d6fc",
"name": "專業同工"
},
{
"id": "81fc8868-2930-11ef-b50f-4a12d8c2d6fc",
"name": "支援同工"
}
]
}
Resources
StaffRolesResp
properties
id
Stringrequired職位ID
name
Stringrequired職位名稱