> 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/get-learning-path-report-of-employee/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.gitiho.com/_mcp/server. # Get Learning Path Report of Employee GET https://example.gitiho.com/api/lms/report/learn-path-completed - API này trả về báo cáo tổng hợp về việc hoàn thành **lộ trình học tập** của các nhân sự trong doanh nghiệp | Tham số | Kiểu dữ liệu | Bắt buộc | Mô tả | | --- | --- | --- | --- | | `department_id` | string | Không | Tìm kiếm theo tên nhân sự hoặc email | | `groupId` | integer | Không | Lọc theo nhóm nhân sự (ví dụ: phòng ban) | | `learn_path_id` | integer | Không | Lọc theo ID của lộ trình học tập | | `page` | integer | Không | Số trang hiện tại để phân trang dữ liệu | Reference: https://developer.gitiho.com/gitiho-business-api/lms/get-learning-path-report-of-employee ## Request ### Query parameters - `keyword` (string, optional) - `department_id` (string, optional) - `learn_path_id` (string, optional) - `page` (integer, optional) ## Response ### 200 OK - `to` (integer, required) - `data` (list of GetLearningPathReportOfEmployeeLmsResponseDataItem, required) - `from` (integer, required) - `path` (string, required) - `links` (list of GetLearningPathReportOfEmployeeLmsResponseLinksItem, 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) ## Types ### GetLearningPathReportOfEmployeeLmsResponseDataItem - `id` (integer, required) - `completed` (integer, required) - `created_at` (datetime, required) - `learn_path` (GetLearningPathReportOfEmployeeLmsResponseDataItemLearnPath, required) - `updated_at` (datetime, required) - `biz_employer` (GetLearningPathReportOfEmployeeLmsResponseDataItemBizEmployer, required) - `deadline_completed` (integer, required) - `completed_at` (any, optional, nullable) - `due_date_remain` (any, optional, nullable) ### GetLearningPathReportOfEmployeeLmsResponseLinksItem - `label` (string, required) - `active` (boolean, required) - `url` (any, optional, nullable) ### GetLearningPathReportOfEmployeeLmsResponseDataItemLearnPath - `id` (integer, required) - `name` (string, required) ### GetLearningPathReportOfEmployeeLmsResponseDataItemBizEmployer - `id` (integer, required) - `name` (string, required) - `email` (string, required) - `username` (string, required) ## Examples **Response** ```json { "to": 10, "data": [ { "id": 743, "completed": 0, "created_at": "2025-04-04T08:51:47Z", "learn_path": { "id": 97, "name": "Lộ trình số 1" }, "updated_at": "2025-04-04T08:51:47Z", "biz_employer": { "id": 2532, "name": "Brent Craig", "email": "syhoh@mailinator.com", "username": "degovehixe" }, "deadline_completed": 0 }, { "id": 733, "completed": 0, "created_at": "2025-03-28T08:10:53Z", "learn_path": { "id": 97, "name": "Lộ trình số 1" }, "updated_at": "2025-03-28T08:10:53Z", "biz_employer": { "id": 2501, "name": "Preston Wilder", "email": "bupelatug@mailinator.com", "username": "nysopyn231" }, "deadline_completed": 0 }, { "id": 724, "completed": 0, "created_at": "2025-03-21T09:35:24Z", "learn_path": { "id": 97, "name": "Lộ trình số 1" }, "updated_at": "2025-03-21T09:35:24Z", "biz_employer": { "id": 2459, "name": "Isaac Galloway", "email": "xeviwaros@mailinator.com", "username": "coqacid222" }, "deadline_completed": 0 }, { "id": 757, "completed": 0, "created_at": "2025-04-11T08:26:39Z", "learn_path": { "id": 97, "name": "Lộ trình số 1" }, "updated_at": "2025-04-11T08:26:39Z", "biz_employer": { "id": 2617, "name": "Karina Douglas", "email": "zivu@mailinator.com", "username": "sawotixo" }, "deadline_completed": 0 }, { "id": 715, "completed": 0, "created_at": "2025-03-21T08:57:38Z", "learn_path": { "id": 97, "name": "Lộ trình số 1" }, "updated_at": "2025-03-21T08:57:38Z", "biz_employer": { "id": 2450, "name": "Wanda Barker", "email": "nyvinify@mailinator.com", "username": "pypoq2" }, "deadline_completed": 0 }, { "id": 748, "completed": 0, "created_at": "2025-04-10T07:07:26Z", "learn_path": { "id": 97, "name": "Lộ trình số 1" }, "updated_at": "2025-04-10T07:07:26Z", "biz_employer": { "id": 2569, "name": "Brendan Townsend", "email": "reseg@mailinator.com", "username": "zutecale" }, "deadline_completed": 0 }, { "id": 738, "completed": 0, "created_at": "2025-04-01T07:48:35Z", "learn_path": { "id": 97, "name": "Lộ trình số 1" }, "updated_at": "2025-04-01T07:48:35Z", "biz_employer": { "id": 2506, "name": "Tạo mới tự động gán lộ trình no", "email": "nv1123123@gmail.com", "username": "username" }, "deadline_completed": 0 }, { "id": 729, "completed": 0, "created_at": "2025-03-27T02:17:48Z", "learn_path": { "id": 97, "name": "Lộ trình số 1" }, "updated_at": "2025-03-27T02:17:48Z", "biz_employer": { "id": 2480, "name": "Iliana Lawson", "email": "moqet@mailinator.com", "username": "zudeti123" }, "deadline_completed": 0 }, { "id": 720, "completed": 0, "created_at": "2025-03-21T09:10:00Z", "learn_path": { "id": 97, "name": "Lộ trình số 1" }, "updated_at": "2025-03-21T09:10:00Z", "biz_employer": { "id": 2455, "name": "Ferdinand Dudley", "email": "xolewegy@mailinator.com", "username": "gahijysy" }, "deadline_completed": 0 }, { "id": 753, "completed": 0, "created_at": "2025-04-11T06:38:15Z", "learn_path": { "id": 97, "name": "Lộ trình số 1" }, "updated_at": "2025-04-11T06:38:15Z", "biz_employer": { "id": 2586, "name": "Dakota Maxwell", "email": "myxivuhew@mailinator.com", "username": "taxyjegub" }, "deadline_completed": 0 } ], "from": 1, "path": "https://sonleduy.gitihov1.com/api/lms/report/learn-path-completed", "links": [ { "label": "« Trang trước", "active": false }, { "label": "1", "active": true, "url": "https://sonleduy.gitihov1.com/api/lms/report/learn-path-completed?page=1" }, { "label": "2", "active": false, "url": "https://sonleduy.gitihov1.com/api/lms/report/learn-path-completed?page=2" }, { "label": "3", "active": false, "url": "https://sonleduy.gitihov1.com/api/lms/report/learn-path-completed?page=3" }, { "label": "4", "active": false, "url": "https://sonleduy.gitihov1.com/api/lms/report/learn-path-completed?page=4" }, { "label": "5", "active": false, "url": "https://sonleduy.gitihov1.com/api/lms/report/learn-path-completed?page=5" }, { "label": "Trang sau »", "active": false, "url": "https://sonleduy.gitihov1.com/api/lms/report/learn-path-completed?page=2" } ], "total": 48, "per_page": 10, "last_page": 5, "current_page": 1, "last_page_url": "https://sonleduy.gitihov1.com/api/lms/report/learn-path-completed?page=5", "next_page_url": "https://sonleduy.gitihov1.com/api/lms/report/learn-path-completed?page=2", "first_page_url": "https://sonleduy.gitihov1.com/api/lms/report/learn-path-completed?page=1" } ``` **SDK Code** ```python import requests url = "https://example.gitiho.com/api/lms/report/learn-path-completed" response = requests.get(url) print(response.json()) ``` ```javascript const url = 'https://example.gitiho.com/api/lms/report/learn-path-completed'; 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/report/learn-path-completed" 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/report/learn-path-completed") 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/report/learn-path-completed") .asString(); ``` ```php request('GET', 'https://example.gitiho.com/api/lms/report/learn-path-completed'); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://example.gitiho.com/api/lms/report/learn-path-completed"); 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/report/learn-path-completed")! 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() ```