Skip to Content
🚀 Welcome to Humansoft Open API Documentation

Webhook Events

รายการ Events ทั้งหมดที่ระบบ Webhook รองรับ


Event Categories

หมวดหมู่คำอธิบาย
Employee EventsEvents เกี่ยวกับข้อมูลพนักงาน: สร้าง, ลบ, ย้ายแผนก, ลาออก

Test Events

test.ping

เกิดขึ้นเมื่อกดปุ่ม “ทดสอบ” ในหน้าตั้งค่า Webhook

ตัวอย่าง Payload:

{ "request_id": "test_a90b78b79dadff88", "event": "test.ping", "event_occurred_at": "2025-01-23 12:07:42", "body": { "message": "This is a test webhook from HumanSoft API", "timestamp": "2025-01-23T12:07:42+07:00", "endpoint": { "endpoint_id": "20250123FAC4DE16F4FE", "endpoint_name": "Webhook" } } }

test.ping ใช้สำหรับทดสอบว่า Callback URL ของคุณสามารถรับ Webhook ได้ถูกต้อง


สรุป Events ทั้งหมด

Event Codeหมวดหมู่คำอธิบาย
employee.createEmployee Eventsเมื่อมีการสร้างข้อมูลพนักงานใหม่ในระบบ
employee.terminateEmployee Eventsเมื่อพนักงานลาออกหรือพ้นสภาพการเป็นพนักงาน
employee.structure.changeEmployee Eventsเมื่อพนักงานถูกย้ายแผนกหรือเปลี่ยนตำแหน่ง
employee.purgeEmployee Eventsเมื่อมีการลบข้อมูลพนักงานออกจากระบบ
test.pingTest Eventsเมื่อกดปุ่มทดสอบในหน้าตั้งค่า
Last updated on