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 Documents

GET
https://api.gofive.co.th/empeo/api/v1/overtimes/documents
ดึงเอกสาร OT รายพนักงานตามช่วงวันที่
ดึงรายละเอียดเอกสาร OT ของพนักงานหนึ่งคนตามช่วงวันที่ พร้อมจำนวนเอกสารและชั่วโมง OT รวม
เพื่อใช้ตรวจสอบรายการต้นทางก่อนนำเวลาไปใช้งานต่อ
🔐 ต้องมีสิทธิ์ 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/documents?companyName=Acme&employeeNo=EMP001&fromDate=2026-06-01&toDate=2026-06-30&otType=OT2&status=Approved' \
--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": {
        "CompanyName": "Acme",
        "EmployeeNo": "EMP001",
        "EmployeeName": "พนักงานตัวอย่าง หนึ่ง",
        "FromDate": "2026-06-01T00:00:00Z",
        "ToDate": "2026-06-30T00:00:00Z",
        "Data": [
            {
                "DocumentNo": "OT-2026-06001",
                "Date": "2026-06-10T00:00:00Z",
                "OtType": "OT2",
                "Name": "ทำงานล่วงเวลาวันทำงาน",
                "DefaultRate": 2,
                "StartTime": "18:00",
                "EndTime": "20:30",
                "Hours": 2.5,
                "ApprovalStatus": "Approved",
                "ApprovedBy": "ผู้อนุมัติตัวอย่าง"
            },
            {
                "DocumentNo": "OT-2026-06002",
                "Date": "2026-06-18T00:00:00Z",
                "OtType": "OT2",
                "Name": "ทำงานล่วงเวลาวันทำงาน",
                "DefaultRate": 2,
                "StartTime": "09:00",
                "EndTime": "12:00",
                "Hours": 3,
                "ApprovalStatus": "Approved",
                "ApprovedBy": "ผู้อนุมัติตัวอย่าง"
            }
        ],
        "Summary": {
            "TotalItems": 2,
            "TotalOtHours": 5.5
        }
    }
}
🟢204No Content
🟠401Unauthorized
🟠403Forbidden
🟠429Too Many Requests
🔴500Server Error
Modified at 2026-08-20 06:06:50
Previous
Get Overtimes Preriods
Next
User Info
Built with