> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.gitiho.com/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

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/lms/report/learn-path-completed:
    get:
      operationId: Get Learning Path Report of Employee
      summary: Get Learning Path Report of Employee
      description: >-
        - 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 |
      tags:
        - LMS
      parameters:
        - name: keyword
          in: query
          required: false
          schema:
            type: string
        - name: department_id
          in: query
          required: false
          schema:
            type: string
        - name: learn_path_id
          in: query
          required: false
          schema:
            type: string
        - name: page
          in: query
          required: false
          schema:
            type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/type_lms:GetLearningPathReportOfEmployeeLmsResponse
servers:
  - url: https://example.gitiho.com
    description: Default
components:
  schemas:
    type_lms:GetLearningPathReportOfEmployeeLmsResponseDataItemLearnPath:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
      required:
        - id
        - name
      title: GetLearningPathReportOfEmployeeLmsResponseDataItemLearnPath
    type_lms:GetLearningPathReportOfEmployeeLmsResponseDataItemBizEmployer:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        email:
          type: string
          format: email
        username:
          type: string
      required:
        - id
        - name
        - email
        - username
      title: GetLearningPathReportOfEmployeeLmsResponseDataItemBizEmployer
    type_lms:GetLearningPathReportOfEmployeeLmsResponseDataItem:
      type: object
      properties:
        id:
          type: integer
        completed:
          type: integer
        created_at:
          type: string
          format: date-time
        learn_path:
          $ref: >-
            #/components/schemas/type_lms:GetLearningPathReportOfEmployeeLmsResponseDataItemLearnPath
        updated_at:
          type: string
          format: date-time
        biz_employer:
          $ref: >-
            #/components/schemas/type_lms:GetLearningPathReportOfEmployeeLmsResponseDataItemBizEmployer
        completed_at:
          oneOf:
            - description: Any type
            - type: 'null'
        due_date_remain:
          oneOf:
            - description: Any type
            - type: 'null'
        deadline_completed:
          type: integer
      required:
        - id
        - completed
        - created_at
        - learn_path
        - updated_at
        - biz_employer
        - deadline_completed
      title: GetLearningPathReportOfEmployeeLmsResponseDataItem
    type_lms:GetLearningPathReportOfEmployeeLmsResponseLinksItem:
      type: object
      properties:
        url:
          oneOf:
            - description: Any type
            - type: 'null'
        label:
          type: string
        active:
          type: boolean
      required:
        - label
        - active
      title: GetLearningPathReportOfEmployeeLmsResponseLinksItem
    type_lms:GetLearningPathReportOfEmployeeLmsResponse:
      type: object
      properties:
        to:
          type: integer
        data:
          type: array
          items:
            $ref: >-
              #/components/schemas/type_lms:GetLearningPathReportOfEmployeeLmsResponseDataItem
        from:
          type: integer
        path:
          type: string
          format: uri
        links:
          type: array
          items:
            $ref: >-
              #/components/schemas/type_lms:GetLearningPathReportOfEmployeeLmsResponseLinksItem
        total:
          type: integer
        per_page:
          type: integer
        last_page:
          type: integer
        current_page:
          type: integer
        last_page_url:
          type: string
          format: uri
        next_page_url:
          type: string
          format: uri
        prev_page_url:
          oneOf:
            - description: Any type
            - type: 'null'
        first_page_url:
          type: string
          format: uri
      required:
        - to
        - data
        - from
        - path
        - links
        - total
        - per_page
        - last_page
        - current_page
        - last_page_url
        - next_page_url
        - first_page_url
      title: GetLearningPathReportOfEmployeeLmsResponse

```

## 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": "&laquo; 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 &raquo;",
      "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<String> response = Unirest.get("https://example.gitiho.com/api/lms/report/learn-path-completed")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->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()
```