Gofive OpenAPI
empeo
VenioeTaxGo
empeo
VenioeTaxGo
  1. Overtime
  • 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
      • Workin
      • Get Employee WorkIn Site
      • Get Timestamps
      • Get TimeStamp Attachments
      • Get Workin Sites
      • Get IOMO Logs
      • Add Timestamps
    • 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
      GET
    • Passengers
      GET
  • Goals
    • Update KPI
      POST
  • 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
    • Get Overtimes Documents
      GET
  • Employee
    • User Info
    • Update Employee Information
  1. Overtime

Get Overtimes Preriods

GET
https://api.gofive.co.th/empeo/api/v1/overtimes
ดึงชั่วโมง OT ตามงวดเงินเดือน
ดึงชั่วโมง OT ของงวดเงินเดือนจากเอกสาร OT ที่อนุมัติแล้ว แยกตามพนักงานและประเภท OT (OT1-OT4, OTF)
เพื่อใช้สรุปเวลาสำหรับงานเงินเดือน
⚠️ ข้อควรรู้
ชั่วโมงจะแสดงทันทีเมื่อเอกสาร OT ได้รับอนุมัติ ไม่ต้องรอปิดงวด
response คืนเฉพาะชั่วโมงกับอัตราคูณ/อัตราคงที่ ไม่คืนยอดเงิน
🔐 ต้องมีสิทธิ์ Open API โมดูล Overtime ระดับ 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/overtimes?companyName=Acme&payrollYear=2026&periodCalculateNo=6&employmentType=%E0%B8%A3%E0%B8%B2%E0%B8%A2%E0%B9%80%E0%B8%94%E0%B8%B7%E0%B8%AD%E0%B8%99' \
--header 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--header 'Authorization: Bearer <token>'

Responses

🟢200OK
application/json
พบพนักงานที่มีชั่วโมง OT จริงในงวดที่ระบุ
Bodyapplication/json

Example
{
    "StatusCode": 200,
    "Message": "OK",
    "Totals": 2,
    "Data": [
        {
            "EmploymentType": "รายเดือน",
            "EmployeeNo": "EMP001",
            "EmployeeName": "พนักงานตัวอย่าง หนึ่ง",
            "Overtimes": [
                {
                    "OtType": "OT1",
                    "Name": "ทำงานล่วงเวลาในกะวันหยุด",
                    "DefaultRate": 1.5,
                    "Hours": 3.5
                },
                {
                    "OtType": "OT2",
                    "Name": "ทำงานล่วงเวลาวันทำงาน",
                    "DefaultRate": 2,
                    "Hours": 2
                }
            ],
            "TotalOtHours": 5.5
        },
        {
            "EmploymentType": "รายเดือน",
            "EmployeeNo": "EMP002",
            "EmployeeName": "พนักงานตัวอย่าง สอง",
            "Overtimes": [
                {
                    "OtType": "OT3",
                    "Name": "ทำงานล่วงเวลาวันหยุด (รายวัน)",
                    "DefaultRate": 3,
                    "Hours": 4
                },
                {
                    "OtType": "OTF",
                    "Name": "ล่วงเวลาแบบเหมา",
                    "DefaultRate": 500,
                    "Hours": 1.5
                }
            ],
            "TotalOtHours": 5.5
        }
    ]
}
🟢204No Content
🟠401Unauthorized
🟠403Forbidden
🟠429Too Many Requests
🔴500Server Error
Modified at 2026-08-20 06:06:50
Previous
ส่งงานกลับให้แก้หลายใบพร้อมกัน
Next
Get Overtimes Documents
Built with