Skip to Content
🚀 Welcome to Humansoft Open API Documentation

Get Employee Profile Data

ดึงข้อมูลส่วนตัวทั้งหมดของพนักงาน

Endpoint

GET /api/v1/open-apis/employee/get-employee-data-filter?path_action=all-profile

Query Parameters

ParameterTypeRequiredDescription
path_actionstringYesต้องเป็น all-profile
employee_codestringYesรหัสพนักงาน

ใช้ employee_code เพื่อระบุพนักงาน

พารามิเตอร์ที่ลงท้ายด้วย _id ต้องส่งเป็น Base64-encoded ของ raw internal ID

  • Response จะ return raw string ID (เช่น 20260121FC89F3BB9120)
  • เมื่อนำ ID จาก response ไปใช้ใน request ถัดไป ต้อง encode เป็น Base64 ก่อน

Response Format

Success Response

{ "code": 200, "message": "สำเร็จ", "payload": { "ability": [ { "employee_ability_id": "20260121AB01A2B3C4D5", "ability_name": "Microsoft Office", "ability_level": "EXPERT" } ], "address": { "house_address": "123 ถ.สุขุมวิท", "house_province": "กรุงเทพมหานคร", "current_address": "456 ถ.พระราม 9", "current_province": "กรุงเทพมหานคร" }, "document": [ { "employee_documents_id": "20260121DC01A2B3C4D5", "documents_type": "ID_CARD", "documents_name": "สำเนาบัตรประชาชน" } ], "driving_skill": [ { "employee_driving_skill_id": "20260121DS01A2B3C4D5", "vehicle_type": "CAR", "license_number": "12345678" } ], "education": [ { "employee_education_id": "20260121ED01A2B3C4D5", "education_level": "BACHELOR", "institution_name": "จุฬาลงกรณ์มหาวิทยาลัย" } ], "family": [ { "employee_family_id": "20260121FM01A2B3C4D5", "relationship": "SPOUSE", "full_name": "นางสาว ทดสอบ" } ], "hospital": [ { "employee_hospital_id": "20260121HP01A2B3C4D5", "hospital_name": "โรงพยาบาลรามาธิบดี" } ], "language_skill": [ { "employee_language_skill_id": "20260121LS01A2B3C4D5", "language_name": "English", "speaking_level": "GOOD" } ], "possess": [ { "employee_possess_id": "20260121PS01A2B3C4D5", "possess_name": "โน้ตบุ๊ค", "possess_code": "NB001" } ], "training": [ { "employee_training_id": "20260121TR01A2B3C4D5", "training_name": "หลักสูตรความปลอดภัย", "training_date": "2026-01-15" } ], "typing_skill": [ { "employee_typing_skill_id": "20260121TS01A2B3C4D5", "language": "THAI", "speed_wpm": 45 } ], "work": [ { "employee_work_id": "20260121WK01A2B3C4D5", "company_name": "บริษัท ABC จำกัด", "position": "โปรแกรมเมอร์" } ] } }

Response Fields

SectionDescription
abilityรายการความสามารถพิเศษ
addressข้อมูลที่อยู่ (ทะเบียนบ้าน/ปัจจุบัน)
documentรายการเอกสาร
driving_skillรายการทักษะการขับขี่
educationรายการประวัติการศึกษา
familyรายการข้อมูลครอบครัว
hospitalรายการโรงพยาบาลตามสิทธิ
language_skillรายการทักษะภาษา
possessรายการทรัพย์สินครอบครอง
trainingรายการประวัติการฝึกอบรม
typing_skillรายการทักษะการพิมพ์
workรายการประวัติการทำงาน

Code Examples

curl -X GET "https://openapi.humansoft.co.th/api/v1/open-apis/employee/get-employee-data-filter?path_action=all-profile&employee_code=EMP001" \ -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY"

Last updated on