> 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-employer-certificates/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.gitiho.com/_mcp/server. # Get employer certificates GET https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates **Mô tả:** API trả về danh sách các chứng nhận hoàn thành khóa học của một nhân viên cụ thể trong hệ thống LMS. Reference: https://developer.gitiho.com/gitiho-business-api/lms/get-employer-certificates ## Request ### Query parameters - `page` (integer, optional) - `per_page` (integer, optional) ## Response ### 200 OK - `data` (GetEmployerCertificatesLmsResponseData, required) - `success` (boolean, required) ## Types ### GetEmployerCertificatesLmsResponseData - `to` (integer, required) - `data` (list of GetEmployerCertificatesLmsResponseDataDataItem, required) - `from` (integer, required) - `path` (string, required) - `links` (list of GetEmployerCertificatesLmsResponseDataLinksItem, required) - `total` (integer, required) - `per_page` (integer, required) - `last_page` (integer, required) - `current_page` (integer, required) - `last_page_url` (string, required) - `first_page_url` (string, required) - `next_page_url` (any, optional, nullable) - `prev_page_url` (any, optional, nullable) ### GetEmployerCertificatesLmsResponseDataDataItem - `id` (integer, required) - `key` (string, required) - `link` (string, required) - `certificate` (GetEmployerCertificatesLmsResponseDataDataItemCertificate, required) - `certificate_time` (datetime, required) ### GetEmployerCertificatesLmsResponseDataLinksItem - `label` (string, required) - `active` (boolean, required) - `url` (any, optional, nullable) ### GetEmployerCertificatesLmsResponseDataDataItemCertificate - `id` (integer, required) - `type` (string, required) - `name` (any, optional, nullable) ## Examples **Response** ```json { "data": { "to": 16, "data": [ { "id": 57, "key": "U3RgKr9E4yuSe2xmoMt61vVkp57Y", "link": "https://daotao.gitiho.com/my-cert/U3RgKr9E4yuSe2xmoMt61vVkp57Y/view", "certificate": { "id": 803, "type": "course" }, "certificate_time": "2025-05-23T07:48:29Z" }, { "id": 56, "key": "5cgJ_taPzR274uhGbKZCUiIB8qFQ", "link": "https://daotao.gitiho.com/my-cert/5cgJ_taPzR274uhGbKZCUiIB8qFQ/view", "certificate": { "id": 971, "type": "course" }, "certificate_time": "2025-01-03T07:03:41Z" }, { "id": 54, "key": "43bMi12g7OVBYHmuxkJ5rwNTnvXj", "link": "https://daotao.gitiho.com/my-cert/43bMi12g7OVBYHmuxkJ5rwNTnvXj/view", "certificate": { "id": 968, "type": "course" }, "certificate_time": "2024-10-25T07:14:45Z" }, { "id": 53, "key": "CA0JHptanN3S6og_5zEkcqfQRdDB", "link": "https://daotao.gitiho.com/my-cert/CA0JHptanN3S6og_5zEkcqfQRdDB/view", "certificate": { "id": 966, "type": "course" }, "certificate_time": "2024-10-03T03:55:08Z" }, { "id": 52, "key": "84_bxUmEFnO97gDrSklhoaJzytZ2", "link": "https://daotao.gitiho.com/my-cert/84_bxUmEFnO97gDrSklhoaJzytZ2/view", "certificate": { "id": 943, "type": "course" }, "certificate_time": "2024-09-14T06:52:18Z" }, { "id": 51, "key": "zbioB37u0waZIJA9OVtHk8M1gdvC", "link": "https://daotao.gitiho.com/my-cert/zbioB37u0waZIJA9OVtHk8M1gdvC/view", "certificate": { "id": 961, "type": "course" }, "certificate_time": "2024-09-10T09:45:17Z" }, { "id": 50, "key": "29sZ1xHELhIrymo367FBuYOSdVDf", "link": "https://daotao.gitiho.com/my-cert/29sZ1xHELhIrymo367FBuYOSdVDf/view", "certificate": { "id": 960, "type": "course" }, "certificate_time": "2024-09-10T09:08:45Z" }, { "id": 49, "key": "WKvdDShLyUYraTOZ7QpcXBARlCem", "link": "https://daotao.gitiho.com/my-cert/WKvdDShLyUYraTOZ7QpcXBARlCem/view", "certificate": { "id": 949, "type": "course" }, "certificate_time": "2024-09-09T01:26:12Z" }, { "id": 48, "key": "1xek7ZjK52qcItGbmOJXr_846AyQ", "link": "https://daotao.gitiho.com/my-cert/1xek7ZjK52qcItGbmOJXr_846AyQ/view", "certificate": { "id": 908, "type": "course" }, "certificate_time": "2024-08-19T02:01:47Z" }, { "id": 47, "key": "NQOigoCuf_eTL8W6h1jKRESaXHqd", "link": "https://daotao.gitiho.com/my-cert/NQOigoCuf_eTL8W6h1jKRESaXHqd/view", "certificate": { "id": 857, "type": "course" }, "certificate_time": "2024-08-08T02:43:37Z" }, { "id": 46, "key": "nhxcwTpz8CHF6Vtfa9LMPu3dNGKS", "link": "https://daotao.gitiho.com/my-cert/nhxcwTpz8CHF6Vtfa9LMPu3dNGKS/view", "certificate": { "id": 800, "type": "course" }, "certificate_time": "2024-08-02T07:55:42Z" }, { "id": 45, "key": "ypvUcV7nu1DmH8IGOEsPdKfrzSbT", "link": "https://daotao.gitiho.com/my-cert/ypvUcV7nu1DmH8IGOEsPdKfrzSbT/view", "certificate": { "id": 850, "type": "course" }, "certificate_time": "2024-08-01T09:17:52Z" }, { "id": 43, "key": "gdfhvcCD4Wm73lNoVnMkxGFb2tTH", "link": "https://daotao.gitiho.com/my-cert/gdfhvcCD4Wm73lNoVnMkxGFb2tTH/view", "certificate": { "id": 794, "type": "course" }, "certificate_time": "2024-07-26T09:09:53Z" }, { "id": 42, "key": "rax7gwc8JUqOoGNIj2_hKZCQ35FW", "link": "https://daotao.gitiho.com/my-cert/rax7gwc8JUqOoGNIj2_hKZCQ35FW/view", "certificate": { "id": 862, "type": "course" }, "certificate_time": "2024-07-26T03:19:18Z" }, { "id": 41, "key": "mVA8Krhpxb5lQLyasPnqGDNgfMu6", "link": "https://daotao.gitiho.com/my-cert/mVA8Krhpxb5lQLyasPnqGDNgfMu6/view", "certificate": { "id": 804, "type": "course" }, "certificate_time": "2024-07-26T03:06:26Z" }, { "id": 37, "key": "TSuxFzl90qh1ZfnHvLQosKw2g8Cm", "link": "https://daotao.gitiho.com/my-cert/TSuxFzl90qh1ZfnHvLQosKw2g8Cm/view", "certificate": { "id": 797, "type": "course" }, "certificate_time": "2024-07-26T02:57:38Z" } ], "from": 1, "path": "https://daotao.gitiho.com/api/lms/employer/264/certificates", "links": [ { "label": "« Trang trước", "active": false }, { "label": "1", "active": true, "url": "https://daotao.gitiho.com/api/lms/employer/264/certificates?page=1" }, { "label": "Trang sau »", "active": false } ], "total": 16, "per_page": 20, "last_page": 1, "current_page": 1, "last_page_url": "https://daotao.gitiho.com/api/lms/employer/264/certificates?page=1", "first_page_url": "https://daotao.gitiho.com/api/lms/employer/264/certificates?page=1" }, "success": true } ``` **SDK Code** ```python import requests url = "https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates" response = requests.get(url) print(response.json()) ``` ```javascript const url = 'https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates'; 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/employer/%7Bemployer_id%7D/certificates" 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/employer/%7Bemployer_id%7D/certificates") 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/employer/%7Bemployer_id%7D/certificates") .asString(); ``` ```php request('GET', 'https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates'); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates"); 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/employer/%7Bemployer_id%7D/certificates")! 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() ```