Get Employee Driving Skill
ดึงข้อมูลทักษะการขับขี่ของพนักงานตาม ID
Endpoint
GET /api/v1/open-apis/employee/get-employee-data-filter?path_action=get-driving-skillQuery Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
path_action | string | Yes | ต้องเป็น get-driving-skill |
employee_driving_skill_id | string | Yes | ID ของทักษะการขับขี่ (Base64 encoded) |
พารามิเตอร์ employee_driving_skill_id ต้องส่งเป็น Base64-encoded string
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"
}
}Response Fields
| Field | Type | Description |
|---|---|---|
employee_driving_skill_id | string | ID ของทักษะการขับขี่ |
employee_id | string | ID ของพนักงาน |
vehicle_name | string | ประเภทยานพาหนะ (เช่น รถยนต์, รถจักรยานยนต์) |
skill_level | string | ได้/ไม่ได้ (Y/N) |
certificate_no | string | เลขที่ใบอนุญาตขับขี่ |
certificate_effective_dt | string | วันเริ่มมีผลใบอนุญาต (YYYY-MM-DD) |
certificate_expire_dt | string | วันหมดอายุใบอนุญาต (YYYY-MM-DD) |
created | datetime | วันเวลาที่สร้าง |
last_upd | datetime | วันเวลาที่อัปเดตล่าสุด |
Error Response
{
"code": 400,
"message": "ไม่สำเร็จ",
"error": "Missing required parameter: employee_driving_skill_id"
}Code Examples
cURL
curl -X GET "https://openapi.humansoft.co.th/api/v1/open-apis/employee/get-employee-data-filter?path_action=get-driving-skill&employee_driving_skill_id=MjAyNjAxMjFEUzAxQTJCM0M0RDU=" \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
-H "Content-Type: application/json"Related APIs
- List Driving Skills - ดึงรายการทักษะการขับขี่ทั้งหมด
- Add Driving Skill - เพิ่มทักษะการขับขี่
- Update Driving Skill - แก้ไขทักษะการขับขี่
- Delete Driving Skill - ลบทักษะการขับขี่
Last updated on