> 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.

# 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

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/lms/learning-path/%7Blearning_path_id%7D/assigned-users:
    get:
      operationId: List of personnel assigned to the learning path
      summary: List of personnel assigned to the learning path
      description: >-
        **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.
      tags:
        - LMS
      parameters:
        - name: search
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/type_lms:ListOfPersonnelAssignedToTheLearningPathLmsResponse
servers:
  - url: https://example.gitiho.com
    description: Default
components:
  schemas:
    type_lms:ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItemEmployer:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
          format: email
        email:
          type: string
          format: email
        username:
          oneOf:
            - description: Any type
            - type: 'null'
      required:
        - id
        - name
        - email
      title: ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItemEmployer
    type_lms:ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItemLearningPath:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
      required:
        - id
        - name
      title: ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItemLearningPath
    type_lms:ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItem:
      type: object
      properties:
        id:
          type: integer
        due_date:
          type: string
          format: date-time
        employer:
          $ref: >-
            #/components/schemas/type_lms:ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItemEmployer
        completed:
          type: integer
        department:
          oneOf:
            - description: Any type
            - type: 'null'
        completed_at:
          oneOf:
            - description: Any type
            - type: 'null'
        assigned_date:
          type: string
          format: date-time
        learning_path:
          $ref: >-
            #/components/schemas/type_lms:ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItemLearningPath
        deadline_course:
          type: string
        due_date_remain:
          type: integer
      required:
        - id
        - due_date
        - employer
        - completed
        - assigned_date
        - learning_path
        - deadline_course
        - due_date_remain
      title: ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItem
    type_lms:ListOfPersonnelAssignedToTheLearningPathLmsResponsePaginationLinksItem:
      type: object
      properties:
        url:
          oneOf:
            - description: Any type
            - type: 'null'
        label:
          type: string
        active:
          type: boolean
      required:
        - label
        - active
      title: ListOfPersonnelAssignedToTheLearningPathLmsResponsePaginationLinksItem
    type_lms:ListOfPersonnelAssignedToTheLearningPathLmsResponsePagination:
      type: object
      properties:
        to:
          type: integer
        from:
          type: integer
        path:
          type: string
          format: uri
        links:
          type: array
          items:
            $ref: >-
              #/components/schemas/type_lms:ListOfPersonnelAssignedToTheLearningPathLmsResponsePaginationLinksItem
        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
        - from
        - path
        - links
        - total
        - per_page
        - last_page
        - current_page
        - last_page_url
        - next_page_url
        - first_page_url
      title: ListOfPersonnelAssignedToTheLearningPathLmsResponsePagination
    type_lms:ListOfPersonnelAssignedToTheLearningPathLmsResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: >-
              #/components/schemas/type_lms:ListOfPersonnelAssignedToTheLearningPathLmsResponseDataItem
        success:
          type: boolean
        pagination:
          $ref: >-
            #/components/schemas/type_lms:ListOfPersonnelAssignedToTheLearningPathLmsResponsePagination
      required:
        - data
        - success
        - pagination
      title: ListOfPersonnelAssignedToTheLearningPathLmsResponse

```

## 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": "&laquo; 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 &raquo;",
        "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<String> response = Unirest.get("https://example.gitiho.com/api/lms/learning-path/%7Blearning_path_id%7D/assigned-users")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

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