> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://developer.gitiho.com/gitiho-business-api/lms/list-of-personnel-assigned-to-the-learning-path/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.gitiho.com/_mcp/server. # List of personnel assigned to the learning path GET https://example.gitiho.com/api/lms/learning-path/%7Blearning_path_id%7D/assigned-users **Mô tả:** API trả về danh sách nhân sự đã được gán vào một lộ trình học tập cụ thể, bao gồm thông tin tiến độ học tập và thời hạn hoàn thành. Reference: https://developer.gitiho.com/gitiho-business-api/lms/list-of-personnel-assigned-to-the-learning-path ## Request ### Query parameters - `search` (string, optional) ## Response ### 200 OK - `data` (list of ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItem, required) - `success` (boolean, required) - `pagination` (ListOfPersonnelAssignedToTheLearningPathLmsResponsePagination, required) ## Types ### ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItem - `id` (integer, required) - `due_date` (datetime, required) - `employer` (ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItemEmployer, required) - `completed` (integer, required) - `assigned_date` (datetime, required) - `learning_path` (ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItemLearningPath, required) - `deadline_course` (string, required) - `due_date_remain` (integer, required) - `department` (any, optional, nullable) - `completed_at` (any, optional, nullable) ### ListOfPersonnelAssignedToTheLearningPathLmsResponsePagination - `to` (integer, required) - `from` (integer, required) - `path` (string, required) - `links` (list of ListOfPersonnelAssignedToTheLearningPathLmsResponsePaginationLinksItem, required) - `total` (integer, required) - `per_page` (integer, required) - `last_page` (integer, required) - `current_page` (integer, required) - `last_page_url` (string, required) - `next_page_url` (string, required) - `first_page_url` (string, required) - `prev_page_url` (any, optional, nullable) ### ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItemEmployer - `id` (integer, required) - `name` (string, required) - `email` (string, required) - `username` (any, optional, nullable) ### ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItemLearningPath - `id` (integer, required) - `name` (string, required) ### ListOfPersonnelAssignedToTheLearningPathLmsResponsePaginationLinksItem - `label` (string, required) - `active` (boolean, required) - `url` (any, optional, nullable) ## Examples **Response** ```json { "data": [ { "id": 706, "due_date": "2025-07-10T06:48:54Z", "employer": { "id": 266, "name": "demo@bcompass.vn", "email": "demo1@bcompass.vn" }, "completed": 0, "assigned_date": "2025-03-21T06:48:54Z", "learning_path": { "id": 97, "name": "Lộ trình số 1" }, "deadline_course": "111", "due_date_remain": 20 }, { "id": 707, "due_date": "2025-07-10T06:52:06Z", "employer": { "id": 2222, "name": "Nguyễn Hải Yến", "email": "yenlinh170813@gmail.com" }, "completed": 0, "assigned_date": "2025-03-21T06:52:06Z", "learning_path": { "id": 97, "name": "Lộ trình số 1" }, "deadline_course": "111", "due_date_remain": 20 }, { "id": 708, "due_date": "2025-07-10T06:52:20Z", "employer": { "id": 2219, "name": "Nguyễn Nhật Linh", "email": "linhnhatnguyen.cv@gmail.com" }, "completed": 0, "assigned_date": "2025-03-21T06:52:20Z", "learning_path": { "id": 97, "name": "Lộ trình số 1" }, "deadline_course": "111", "due_date_remain": 20 }, { "id": 709, "due_date": "2025-07-10T06:57:36Z", "employer": { "id": 2214, "name": "Đào Ngọc Dũng", "email": "quaydung02.melya@gmail.com" }, "completed": 0, "assigned_date": "2025-03-21T06:57:36Z", "learning_path": { "id": 97, "name": "Lộ trình số 1" }, "deadline_course": "111", "due_date_remain": 20 }, { "id": 711, "due_date": "2025-07-10T07:15:33Z", "employer": { "id": 2447, "name": "Hilel Horton", "email": "caku@mailinator.com" }, "completed": 0, "assigned_date": "2025-03-21T07:15:33Z", "learning_path": { "id": 97, "name": "Lộ trình số 1" }, "deadline_course": "111", "due_date_remain": 20 }, { "id": 712, "due_date": "2025-07-10T07:16:45Z", "employer": { "id": 2448, "name": "Benjamin Hodges", "email": "tyzywyc@mailinator.com" }, "completed": 0, "assigned_date": "2025-03-21T07:16:45Z", "learning_path": { "id": 97, "name": "Lộ trình số 1" }, "deadline_course": "111", "due_date_remain": 20 }, { "id": 713, "due_date": "2025-07-10T07:17:45Z", "employer": { "id": 293, "name": "QƯEWQEQW", "email": "kuhezenaj@mailinator.com" }, "completed": 0, "assigned_date": "2025-03-21T07:17:45Z", "learning_path": { "id": 97, "name": "Lộ trình số 1" }, "deadline_course": "111", "due_date_remain": 20 }, { "id": 714, "due_date": "2025-07-10T08:47:08Z", "employer": { "id": 2449, "name": "Alice Holmes", "email": "wamece@mailinator.com" }, "completed": 0, "assigned_date": "2025-03-21T08:47:08Z", "learning_path": { "id": 97, "name": "Lộ trình số 1" }, "deadline_course": "111", "due_date_remain": 20 }, { "id": 715, "due_date": "2025-07-10T08:57:38Z", "employer": { "id": 2450, "name": "Wanda Barker", "email": "nyvinify@mailinator.com" }, "completed": 0, "assigned_date": "2025-03-21T08:57:38Z", "learning_path": { "id": 97, "name": "Lộ trình số 1" }, "deadline_course": "111", "due_date_remain": 20 }, { "id": 716, "due_date": "2025-07-10T09:02:20Z", "employer": { "id": 2451, "name": "Lynn Stark", "email": "vifijo@mailinator.com" }, "completed": 0, "assigned_date": "2025-03-21T09:02:20Z", "learning_path": { "id": 97, "name": "Lộ trình số 1" }, "deadline_course": "111", "due_date_remain": 20 } ], "success": true, "pagination": { "to": 10, "from": 1, "path": "https://datao.gitiho.com/api/lms/learning-path/97/assigned-users", "links": [ { "label": "« Trang trước", "active": false }, { "label": "1", "active": true, "url": "https://datao.gitiho.com/api/lms/learning-path/97/assigned-users?page=1" }, { "label": "2", "active": false, "url": "https://datao.gitiho.com/api/lms/learning-path/97/assigned-users?page=2" }, { "label": "3", "active": false, "url": "https://datao.gitiho.com/api/lms/learning-path/97/assigned-users?page=3" }, { "label": "4", "active": false, "url": "https://datao.gitiho.com/api/lms/learning-path/97/assigned-users?page=4" }, { "label": "5", "active": false, "url": "https://datao.gitiho.com/api/lms/learning-path/97/assigned-users?page=5" }, { "label": "6", "active": false, "url": "https://datao.gitiho.com/api/lms/learning-path/97/assigned-users?page=6" }, { "label": "Trang sau »", "active": false, "url": "https://datao.gitiho.com/api/lms/learning-path/97/assigned-users?page=2" } ], "total": 57, "per_page": 10, "last_page": 6, "current_page": 1, "last_page_url": "https://datao.gitiho.com/api/lms/learning-path/97/assigned-users?page=6", "next_page_url": "https://datao.gitiho.com/api/lms/learning-path/97/assigned-users?page=2", "first_page_url": "https://datao.gitiho.com/api/lms/learning-path/97/assigned-users?page=1" } } ``` **SDK Code** ```python import requests url = "https://example.gitiho.com/api/lms/learning-path/%7Blearning_path_id%7D/assigned-users" response = requests.get(url) print(response.json()) ``` ```javascript const url = 'https://example.gitiho.com/api/lms/learning-path/%7Blearning_path_id%7D/assigned-users'; const options = {method: 'GET'}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://example.gitiho.com/api/lms/learning-path/%7Blearning_path_id%7D/assigned-users" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://example.gitiho.com/api/lms/learning-path/%7Blearning_path_id%7D/assigned-users") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://example.gitiho.com/api/lms/learning-path/%7Blearning_path_id%7D/assigned-users") .asString(); ``` ```php request('GET', 'https://example.gitiho.com/api/lms/learning-path/%7Blearning_path_id%7D/assigned-users'); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://example.gitiho.com/api/lms/learning-path/%7Blearning_path_id%7D/assigned-users"); var request = new RestRequest(Method.GET); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let request = NSMutableURLRequest(url: NSURL(string: "https://example.gitiho.com/api/lms/learning-path/%7Blearning_path_id%7D/assigned-users")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```