Skip to Content
🚀 Welcome to Humansoft Open API Documentation

Update Employee Education

แก้ไขประวัติการศึกษาของพนักงาน

Endpoint

POST /api/v1/open-apis/employee/update-employee-profile?path_action=education

Query Parameters

ParameterTypeRequiredDescription
path_actionstringYesต้องเป็น education

Request Body

ParameterTypeRequiredDescription
education_idstringYesID ของประวัติการศึกษาที่ต้องการแก้ไข (Base64 encoded)
education_yearstringNoปีที่จบการศึกษา
education_level_lvstringNoรหัสระดับการศึกษา (list_of_value)
education_placestringNoสถานศึกษา
education_majorstringNoสาขาวิชา
education_gradestringNoเกรดเฉลี่ย
  • พารามิเตอร์ education_id ต้องส่งเป็น Base64-encoded string
  • ฟิลด์ที่ไม่ส่งมา ระบบจะใช้ค่าเดิม

Response Format

Success Response

{ "code": 200, "message": "Update Education Success", "payload": { "education_id": "20260213ABC1234567890", "employee_id": "20260121FC89F3BB9120", "education_year": "2020", "education_level_lv": "03", "education_place": "มหาวิทยาลัยเกษตรศาสตร์", "education_major": "วิศวกรรมคอมพิวเตอร์", "education_grade": "3.75" } }

Error Response

{ "code": 400, "message": "Validation failed", "errors": ["Missing required parameter: 'education_id'"] }

Code Examples

curl -X POST "https://openapi.humansoft.co.th/api/v1/open-apis/employee/update-employee-profile?path_action=education" \ -H "Content-Type: application/json" \ -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \ -d '{ "education_id": "MjAyNjAyMTNBQkMxMjM0NQ==", "education_grade": "3.75" }'

  • List Educations - ดึงรายการประวัติการศึกษาทั้งหมด
  • Get Education - ดึงข้อมูลประวัติการศึกษาตาม ID
  • Add Education - เพิ่มประวัติการศึกษา
  • Delete Education - ลบประวัติการศึกษา
Last updated on