Delete Employee Driving Skill
ลบทักษะการขับขี่ของพนักงาน
การลบข้อมูลไม่สามารถกู้คืนได้ กรุณาตรวจสอบให้แน่ใจก่อนดำเนินการ
Endpoint
POST /api/v1/open-apis/employee/delete-employee-profile?path_action=driving-skillQuery Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
path_action | string | Yes | ต้องเป็น driving-skill |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
employee_driving_skill_id | string | Yes | ID ของทักษะการขับขี่ที่ต้องการลบ (Base64 encoded) |
พารามิเตอร์ employee_driving_skill_id ต้องส่งเป็น Base64-encoded string
Response Format
Success Response
{
"code": 200,
"message": "Delete Driving Skill Success",
"payload": {
"employee_driving_skill_id": "20260121DS01F2A3B4C5",
"deleted": true
}
}Error Response
{
"code": 400,
"message": "Validation failed",
"errors": ["Missing required parameter: 'employee_driving_skill_id'"]
}Code Examples
cURL
curl -X POST "https://openapi.humansoft.co.th/api/v1/open-apis/employee/delete-employee-profile?path_action=driving-skill" \
-H "Content-Type: application/json" \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
-d '{
"employee_driving_skill_id": "MjAyNjAxMjFEUzAxRjJBM0I0QzU="
}'Related APIs
- List Driving Skills - ดึงรายการทักษะการขับขี่ทั้งหมด
- Get Driving Skill - ดึงข้อมูลทักษะการขับขี่ตาม ID
- Add Driving Skill - เพิ่มทักษะการขับขี่
- Update Driving Skill - แก้ไขทักษะการขับขี่
Last updated on