Gofive OpenAPI
empeo
VenioeTaxGo
empeo
VenioeTaxGo
  1. Attendance
  • Authentication
    • Authorization
      POST
  • Master
    • Get Organizations
      GET
    • Get CustomField
      GET
    • Get Holiday
      GET
    • Get MasterSetup
      GET
    • Get Overtimes
      GET
  • Recruitment
    • Get Candidate
      GET
  • Core HR
    • Attendance
      • Get Time Attendance
        GET
      • Workin
        POST
      • Get Employee WorkIn Site
        GET
      • Get Timestamps
        GET
      • Get TimeStamp Attachments
        GET
      • Get Workin Sites
        GET
      • Get IOMO Logs
        GET
      • Add Timestamps
        POST
    • Asset
      • Get Asset list
      • Update Asset
      • Get Employee Assets
    • Employee
      • Get Employee
      • Update Employee
      • Get Employees List
      • Get Mastertypes List
      • Get Name Prefixes
      • Get Document Types
      • Update Employee
      • Add Employee Attachment
      • Update Employee Address
      • Update Employee Family
      • Update Employee Contact
      • Update Employee Education
      • Update Employee Experience
      • Update Employee CustomField
      • Delete Employee
      • Get Employee Role
      • Get Employee Movement Lists
    • Leave
      • Get Employee Documents
    • Shifts
      • Get Shift Details
      • Update Employee Shifts
      • Get Employee Shifts
      • Swap Employee Shifts
    • Timesheet
      • Search Projects
      • Search Tasks
      • Create Timesheet Entry
  • Payroll
    • Get Financial Transactions
      POST
    • Update Financial Transactions
      PUT
    • Create Loan
      POST
    • Get Cost Center
      POST
  • Welfare
    • Shuttle Buses
    • Passengers
  • Goals
    • Update KPI
  • Engagement
    • Achievement
      • Get Employee Achievements
      • Create Achievement Card
      • Create Achievement Award Document
      • Get Achievement Events
    • Praise
      • Get Employee Praises
      • Get Praise Types
      • Create Praise Reward Manager
    • StampCard
      • Get Stamp Cards
      • Get Stamp Card Detail
      • Add Stamp
    • Celebration
      • Get Upcoming Celebrations
    • Mission
      • ดึงคิวงานรอตรวจ
      • ดึงรายละเอียดงาน 1 ใบ
      • ดึงตัวเลขสรุปงานตามสถานะ
      • อนุมัติงานหลายใบพร้อมกัน
      • ส่งงานกลับให้แก้หลายใบพร้อมกัน
  • Overtime
    • Get Overtimes Preriods
    • Get Overtimes Documents
  • Employee
    • User Info
    • Update Employee Information
  1. Attendance

Get Time Attendance

GET
https://api.gofive.co.th/empeo/api/v1/time-attendances
ดึงผลการคำนวณเวลาทำงานรายวัน
ดึงผลการคำนวณเวลาทำงานรายวันของพนักงาน — เวลาเข้า-ออกที่ระบบใช้คำนวณ, นาทีสาย/ออกก่อน/ขาดงาน, ชื่อกะ
และนาที OT แยกตามอัตรา ใช้เมื่อระบบเงินเดือนหรือ BI ภายนอกต้องดึงผลคำนวณไปใช้ต่อ
⚠️ ข้อควรรู้
ต้องส่ง DateStart และ DateEnd เสมอ — ไม่ส่งจะได้ 400 พร้อมข้อความ DateStart and DateEnd are required.
ไม่มี 204 — ไม่พบข้อมูลจะได้ 200 พร้อม Data เป็น array ว่าง
endpoint นี้ใช้สิทธิ์โมดูล Attendance ไม่ใช่ Time
📘 การอ่านเวลาในผลลัพธ์
StampIn / StampOut = เวลาที่ระบบใช้คำนวณ (ปรับตามกะแล้ว)
RealStampIn / RealStampOut = เวลาที่ตอกจริง
ทั้งสี่ฟิลด์เป็น null ได้เมื่อวันนั้นไม่มีการตอกบัตร
🔐 ต้องมีสิทธิ์ Open API โมดูล Attendance ระดับ Read

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.gofive.co.th/empeo/api/v1/time-attendances?dateStart=2026-06-01&dateEnd=2026-06-30&employeeRefId=EMP001&companyName=Acme&keyword=%E0%B8%9E%E0%B8%99%E0%B8%B1%E0%B8%81%E0%B8%87%E0%B8%B2%E0%B8%99%E0%B8%95%E0%B8%B1%E0%B8%A7%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87&skip=0&take=100' \
--header 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--header 'Authorization: Bearer <token>'

Responses

🟢200OK
application/json
สำเร็จ — Data คือผลการคำนวณรายวัน (array ว่างเมื่อไม่มีข้อมูล)
Bodyapplication/json

Example
{
    "Status": {
        "Code": "1000",
        "Description": "Success!"
    },
    "Data": [
        {
            "EmployeeNo": "EMP001",
            "FullName": "พนักงานตัวอย่าง หนึ่ง",
            "FullName_EN": "Sample Employee One",
            "Date": "2026-06-01T00:00:00",
            "StampIn": "08:00:00",
            "StampOut": "17:00:00",
            "RealStampIn": "07:58:00",
            "RealStampOut": "17:05:00",
            "WorkTime": 480,
            "Late": 0,
            "Early": 0,
            "Absence": 0,
            "ShiftName": "กะเช้าตัวอย่าง",
            "ShiftName_EN": "Sample Morning Shift",
            "Status": "มาทำงาน",
            "Status_EN": "Present",
            "LeaveCodeString": "",
            "TotalMinuteOfOT": 0,
            "MinuteOfOT1": 0,
            "MinuteOfOT2": 0,
            "MinuteOfOT3": 0,
            "MinuteOfOT4": 0
        }
    ]
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠429Too Many Requests
🔴500Server Error
Modified at 2026-08-20 06:07:13
Previous
Get Candidate
Next
Workin
Built with