Skip to Content
🚀 Welcome to Humansoft Open API Documentation

Get Receiving Import Log

ดึงรายการประวัติการนำเข้าโควตาการลาที่จะได้รับ (Receiving Quota) จาก Excel เพื่อตรวจสอบและติดตามผลการนำเข้าข้อมูล

Endpoint

GET /api/v1/open-apis/salary/get-data-filter?path_action=get_list_receiving_import_excel

Request Parameters

ไม่มีพารามิเตอร์บังคับ ระบบจะดึง log ล่าสุดโดยอัตโนมัติ


Response Format

Success Response

{ "code": 200, "message": "Success", "payload": [ { "import_log_id": "RIMP20260220001", "import_log_type": "receiving-quota", "import_log_file_name": "receiving_quota_2027.xlsx", "import_log_file_dt": "2026-02-20 15:45:00", "all_record": 200, "insert_record": 195, "update_record": 5, "error_record": 0 }, { "import_log_id": "RIMP20260215001", "import_log_type": "receiving-quota", "import_log_file_name": "receiving_quota_q1.xlsx", "import_log_file_dt": "2026-02-15 09:30:00", "all_record": 120, "insert_record": 120, "update_record": 0, "error_record": 0 } ] }

Response Fields

FieldTypeDescription
import_log_idstringID ของ log การนำเข้า
import_log_typestringประเภทการนำเข้า ("receiving-quota")
import_log_file_namestringชื่อไฟล์ที่นำเข้า
import_log_file_dtstringวันที่และเวลาที่นำเข้า (YYYY-MM-DD HH:mm:ss)
all_recordnumberจำนวนรายการทั้งหมดในไฟล์
insert_recordnumberจำนวนรายการที่เพิ่มสำเร็จ
update_recordnumberจำนวนรายการที่อัปเดตสำเร็จ
error_recordnumberจำนวนรายการที่เกิดข้อผิดพลาด

Empty Response

{ "code": 200, "message": "Success", "payload": [] }

Code Examples

curl -X GET "https://openapi.humansoft.co.th/api/v1/open-apis/salary/get-data-filter?path_action=get_list_receiving_import_excel" \ -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY"

Notes

  • ระบบจะดึงเฉพาะ log ประเภท "receiving-quota" เท่านั้น (ไม่รวมโควตาปกติ)
  • รายการเรียงตามวันที่นำเข้าล่าสุดก่อน
  • ใช้ import_log_id เพื่ออ้างอิงถึงการนำเข้าแต่ละครั้ง

  • Excel Receiving Import - นำเข้าโควตาที่จะได้รับจาก Excel
  • Excel Receiving Template - ดาวน์โหลด template สำหรับนำเข้า
  • Get Import Log - ประวัติการนำเข้าโควตาปกติ
Last updated on