Update Employee Typing Skill
แก้ไขทักษะพิมพ์ดีดของพนักงาน
employee_typing_skill_id ต้องส่งเป็น Base64-encoded string
Endpoint
POST /api/v1/open-apis/employee/update-employee-profile?path_action=save-typing-skillQuery Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
path_action | string | Yes | ต้องเป็น save-typing-skill |
language_code | string | No | ภาษา (TH / EN) |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
employee_typing_skill_id | string | Yes | ID ของทักษะพิมพ์ (Base64 encoded) |
language_name | string | No | ภาษาที่พิมพ์ |
typing_speed | string | No | ความเร็ว (คำ/นาที) |
Response Format
Success Response
{
"code": 200,
"message": "Update Typing Skill Success",
"payload": {
"employee_typing_skill_id": "20260121TS01E2F3A4B5",
"typing_speed": "50"
}
}Error Response
{
"code": 400,
"message": "ไม่สำเร็จ",
"error": "Missing required parameter: employee_typing_skill_id"
}Code Examples
cURL
curl -X POST "https://openapi.humansoft.co.th/api/v1/open-apis/employee/update-employee-profile?path_action=save-typing-skill" \
-H "Content-Type: application/json" \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
-d '{
"employee_typing_skill_id": "MjAyNjAxMjFUUzAxRTJGM0E0QjU=",
"language_name": "ไทย",
"typing_speed": "50"
}'Related APIs
- List Typing Skills - ดึงรายการทักษะการพิมพ์ทั้งหมด
- Get Typing Skill - ดึงข้อมูลทักษะการพิมพ์ตาม ID
- Add Typing Skill - เพิ่มทักษะการพิมพ์
- Delete Typing Skill - ลบทักษะการพิมพ์
Last updated on