Skip to Content
🚀 Welcome to Humansoft Open API Documentation
DocumentationAPI ReferenceEmployee (พนักงาน)Profile (ข้อมูลส่วนตัว)Driving Skill (ทักษะการขับขี่)List Driving Skills

List Employee Driving Skills

ดึงรายการทักษะการขับขี่ทั้งหมดของพนักงาน

Endpoint

GET /api/v1/open-apis/employee/get-employee-data-filter?path_action=list-driving-skill

Query Parameters

ParameterTypeRequiredDescription
path_actionstringYesต้องเป็น list-driving-skill
employee_codestringYesรหัสพนักงาน

Response Format

Success Response

{ "code": 200, "message": "สำเร็จ", "payload": [ { "employee_driving_skill_id": "20260121DS01F2A3B4C5", "employee_id": "20260121EM01A2B3C4D5", "vehicle_name": "รถยนต์", "skill_level": "Y", "certificate_no": "12345678", "certificate_effective_dt": "2020-01-01", "certificate_expire_dt": "2028-12-31", "created": "2026-01-10 09:00:00", "last_upd": "2026-01-12 14:30:00" }, { "employee_driving_skill_id": "20260121DS02F3A4B5C6", "employee_id": "20260121EM01A2B3C4D5", "vehicle_name": "รถจักรยานยนต์", "skill_level": "Y", "certificate_no": "87654321", "certificate_expire_dt": "2027-06-15", "created": "2026-01-11 10:00:00", "last_upd": "2026-01-11 10:00:00" } ] }

Response Fields

FieldTypeDescription
employee_driving_skill_idstringID ของทักษะการขับขี่
employee_idstringID ของพนักงาน
vehicle_namestringประเภทยานพาหนะ (เช่น รถยนต์, รถจักรยานยนต์)
skill_levelstringได้/ไม่ได้ (Y/N)
certificate_nostringเลขที่ใบอนุญาตขับขี่
certificate_effective_dtstringวันเริ่มมีผลใบอนุญาต (YYYY-MM-DD)
certificate_expire_dtstringวันหมดอายุใบอนุญาต (YYYY-MM-DD)
createddatetimeวันเวลาที่สร้าง
last_upddatetimeวันเวลาที่อัปเดตล่าสุด

Error Response

{ "code": 400, "message": "ไม่สำเร็จ", "error": "Employee not found with code: EMP999" }

Code Examples

curl -X GET "https://openapi.humansoft.co.th/api/v1/open-apis/employee/get-employee-data-filter?path_action=list-driving-skill&employee_code=EMP001" \ -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \ -H "Content-Type: application/json"

Notes

Endpoint นี้ใช้ employee_code (รหัสพนักงาน) ไม่ใช่ employee_id ที่ต้อง encode Base64


Last updated on