Skip to Content
🚀 Welcome to Humansoft Open API Documentation

Add Employee Typing Skill

เพิ่มทักษะพิมพ์ดีดของพนักงาน

Endpoint

POST /api/v1/open-apis/employee/add-employee-profile?path_action=typing-skill

Query Parameters

ParameterTypeRequiredDescription
path_actionstringYesต้องเป็น typing-skill
language_codestringNoภาษา (TH / EN)

Request Body

ParameterTypeRequiredDescription
employee_codestringYesรหัสพนักงาน
language_namestringYesภาษาที่พิมพ์ (เช่น ไทย, อังกฤษ)
typing_speedstringNoความเร็ว (คำ/นาที)

Response Format

Success Response

{ "code": 200, "message": "Add Typing Skill Success", "payload": { "employee_typing_skill_id": "20260121TS01E2F3A4B5", "employee_id": "20260121EM01A2B3C4D5", "language_name": "ไทย", "typing_speed": "45" } }

Error Response

{ "code": 400, "message": "ไม่สำเร็จ", "error": "Validation failed", "errors": [ "Missing required parameter: 'employee_code'", "Missing required parameter: 'language_name'" ] }

Validation Rules

FieldRule
employee_codeต้องระบุและต้องมีพนักงานในระบบ
language_nameต้องระบุและไม่เป็นค่าว่าง

Code Examples

curl -X POST "https://openapi.humansoft.co.th/api/v1/open-apis/employee/add-employee-profile?path_action=typing-skill" \ -H "Content-Type: application/json" \ -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \ -d '{ "employee_code": "EMP001", "language_name": "ไทย", "typing_speed": "45" }'

Last updated on