Danh sách nhân sự
URL: {host}/api/employer
Method: GET
Header:
Path Parameters:
Response :
{
"status": "success",
"data": {
"items": [
{
"employer": {
"id": 1,
"name": "Thoại văn",
"email": "test@gmail.com",
"code": null,
"status": 1,
"login_status": 1,
"departments": [
"BOD"
],
"course_count": 9,
"exam_count": 1
}
},
{
"employer": {
"id": 2,
"name": "hoang6",
"email": "hoang6@gmail.com",
"code": null,
"status": 1,
"login_status": 1,
"departments": [
"BOD"
],
"course_count": 9,
"exam_count": 1
}
},
{
"employer": {
"id": 3,
"name": "Hoàng Nguyễn",
"email": "test2@gmail.com",
"code": null,
"status": 1,
"login_status": 1,
"departments": [],
"course_count": 7,
"exam_count": 0
}
}
],
"total": 3,
"current_page": 1,
"last_page": 1
}
}
Last updated