العودة إلى المساعدة
واجهة الموظفين API
آخر تحديث: 28/8/2026
واجهة الموظفين API
قائمة الموظفين
GET /api/v1/personnel/employees
معاملات استعلام اختيارية: search، department_id، is_active
إنشاء موظف
POST /api/v1/personnel/employees
{
"employee_no": "EMP001",
"first_name": "John",
"last_name": "Smith",
"email": "[email protected]",
"employment_type": "full_time",
"basic_salary": 5000
}
تحديث موظف
PATCH /api/v1/personnel/employees/{id}
{ "basic_salary": 5500 }
استيراد جماعي
POST /api/v1/import/employees
Content-Type: multipart/form-data
file: employees.xlsx
التصدير
GET /api/v1/export/employees?fmt=xlsx
GET /api/v1/export/employees?fmt=csv
GET /api/v1/export/employees/template (تنزيل قالب الاستيراد)