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

# Chi tiết hoàn thành khoá học

GET https://example.gitiho.com/api/detail/course/learning/101047/12347

- Trả về kết quả hoàn thành nội dung một khoá học của nhân sự
    
- Trong api sẽ có thông tin khóa học tham gia, phần trăm hoàn thành của từng bài học
    
- employer_id: 264 (ID của nhân sự, được trả về từ Enpoint api/report/course-completed)
    
- course_id: 121 (ID của khoá học, được trả về từ Enpoint api/report/course-completed))

Reference: https://developer.gitiho.com/gitiho-business-api/lms/chi-tiết-hoàn-thành-khoá-học

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/detail/course/learning/101047/12347:
    get:
      operationId: Chi tiết hoàn thành khoá học
      summary: Chi tiết hoàn thành khoá học
      description: >-
        - Trả về kết quả hoàn thành nội dung một khoá học của nhân sự
            
        - Trong api sẽ có thông tin khóa học tham gia, phần trăm hoàn thành của
        từng bài học
            
        - employer_id: 264 (ID của nhân sự, được trả về từ Enpoint
        api/report/course-completed)
            
        - course_id: 121 (ID của khoá học, được trả về từ Enpoint
        api/report/course-completed))
      tags:
        - LMS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponse
servers:
  - url: https://example.gitiho.com
    description: Default
components:
  schemas:
    type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataUser:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        email:
          type: string
          format: email
        title:
          oneOf:
            - description: Any type
            - type: 'null'
        avatar:
          type: string
          format: uri
        language:
          type: string
        username:
          oneOf:
            - description: Any type
            - type: 'null'
        short_name:
          type: string
        statusHtml:
          type: string
        avatar_disk:
          oneOf:
            - description: Any type
            - type: 'null'
        code_employer:
          type: string
        email_username:
          type: string
          format: email
      required:
        - id
        - name
        - email
        - avatar
        - language
        - short_name
        - statusHtml
        - code_employer
        - email_username
      title: ChiTiếtHoanThanhKhoaHọcLmsResponseDataUser
    type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourse:
      type: object
      properties:
        id:
          type: integer
        title:
          type: string
        status:
          type: integer
        cou_price:
          oneOf:
            - description: Any type
            - type: 'null'
        sale_price:
          oneOf:
            - description: Any type
            - type: 'null'
      required:
        - id
        - title
        - status
      title: ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourse
    type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents0LectureItem:
      type: object
      properties:
        id:
          type: integer
        type:
          type: string
        title:
          type: string
        completed_at:
          type: string
        completed_percent:
          type: integer
      required:
        - id
        - type
        - title
        - completed_at
        - completed_percent
      title: ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents0LectureItem
    type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents0:
      type: object
      properties:
        title:
          type: string
        lecture:
          type: array
          items:
            $ref: >-
              #/components/schemas/type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents0LectureItem
      required:
        - title
        - lecture
      title: ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents0
    type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents9LectureItem:
      type: object
      properties:
        id:
          type: integer
        type:
          type: string
        point:
          type: string
        title:
          type: string
        day_completed:
          type: string
          format: date-time
      required:
        - id
        - type
        - point
        - title
        - day_completed
      title: ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents9LectureItem
    type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents9:
      type: object
      properties:
        title:
          type: string
        lecture:
          type: array
          items:
            $ref: >-
              #/components/schemas/type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents9LectureItem
      required:
        - title
        - lecture
      title: ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents9
    type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents:
      type: object
      properties:
        '0':
          $ref: >-
            #/components/schemas/type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents0
        '9':
          $ref: >-
            #/components/schemas/type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents9
      required:
        - '0'
        - '9'
      title: ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents
    type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseData:
      type: object
      properties:
        user:
          $ref: >-
            #/components/schemas/type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataUser
        course:
          $ref: >-
            #/components/schemas/type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourse
        course_contents:
          $ref: >-
            #/components/schemas/type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseDataCourseContents
      required:
        - user
        - course
        - course_contents
      title: ChiTiếtHoanThanhKhoaHọcLmsResponseData
    type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/type_lms:ChiTiếtHoanThanhKhoaHọcLmsResponseData'
        success:
          type: boolean
      required:
        - data
        - success
      title: ChiTiếtHoanThanhKhoaHọcLmsResponse

```

## Examples

**Response**

```json
{
  "data": {
    "user": {
      "id": 16233,
      "name": "họ và tên",
      "email": "dev2@gitiho.com",
      "avatar": "https://daotao.gitiho.com/images/biz_avatar/folder_16/vu-thuy.png",
      "language": "vi",
      "short_name": "Vũ Thị Thủy",
      "statusHtml": "<span class=\"badge badge-success\"> Active </span>",
      "code_employer": "G0158",
      "email_username": "thuyvu@gitiho.com"
    },
    "course": {
      "id": 478,
      "title": "Khuyến khích giao tiếp và cộng tác trong team",
      "status": 1
    },
    "course_contents": {
      "0": {
        "title": "Nội dung Khóa học",
        "lecture": [
          {
            "id": 22026,
            "type": "Lecture",
            "title": "Giới thiệu khoá học",
            "completed_at": "2023-08-22 17:54:14",
            "completed_percent": 100
          },
          {
            "id": 22027,
            "type": "Lecture",
            "title": "Thế nào là giao tiếp đội nhóm lành mạnh?",
            "completed_at": "2023-08-22 17:54:30",
            "completed_percent": 100
          },
          {
            "id": 22028,
            "type": "Lecture",
            "title": "Xử lý vấn đề chỉ trích thái quá (Over Criticism)  và tư duy tập thể (Groupthink)",
            "completed_at": "2023-08-22 17:56:11",
            "completed_percent": 100
          },
          {
            "id": 22029,
            "type": "Lecture",
            "title": "Người chen ngang và người lười đóng góp",
            "completed_at": "2023-08-22 17:58:12",
            "completed_percent": 100
          },
          {
            "id": 22030,
            "type": "Lecture",
            "title": "Đạt tới sự cộng tác trong nhóm - những nhiệm vụ hướng tới đội nhóm",
            "completed_at": "2023-08-22 17:59:41",
            "completed_percent": 100
          },
          {
            "id": 22031,
            "type": "Lecture",
            "title": "Đạt tới cộng tác trong nhóm: Thông điệp hướng tới đội nhóm",
            "completed_at": "2023-08-22 18:01:24",
            "completed_percent": 100
          },
          {
            "id": 22032,
            "type": "Lecture",
            "title": "Công nghệ truyền thông cho đội nhóm ảo",
            "completed_at": "2023-08-22 18:03:02",
            "completed_percent": 100
          },
          {
            "id": 22033,
            "type": "Lecture",
            "title": "Thiết lập nguyên tắc giao tiếp cho đội nhóm ảo",
            "completed_at": "2023-08-22 18:05:02",
            "completed_percent": 100
          }
        ]
      },
      "9": {
        "title": "Kiểm tra cuối khóa",
        "lecture": [
          {
            "id": 29596,
            "type": "Exam",
            "point": "<div class='text-success'>75%</div>",
            "title": "Bài kiểm tra cuối khóa",
            "day_completed": "2023-08-22T11:07:08Z"
          }
        ]
      }
    }
  },
  "success": true
}
```

**SDK Code**

```python
import requests

url = "https://example.gitiho.com/api/detail/course/learning/101047/12347"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'https://example.gitiho.com/api/detail/course/learning/101047/12347';
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/detail/course/learning/101047/12347"

	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/detail/course/learning/101047/12347")

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/detail/course/learning/101047/12347")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://example.gitiho.com/api/detail/course/learning/101047/12347');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://example.gitiho.com/api/detail/course/learning/101047/12347");
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/detail/course/learning/101047/12347")! 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()
```