Gofive OpenAPI
empeo
VenioeTaxGo
empeo
VenioeTaxGo
  1. Employee
  • Authentication
    • Authorization
      POST
  • Master
    • Get Organizations
      GET
    • Get CustomField
      GET
    • Get Holiday
      GET
    • Get MasterSetup
      GET
    • Get Overtimes
      GET
  • Recruitment
    • Get Candidate
  • Core HR
    • Attendance
      • Get Time Attendance
      • Workin
      • Get Employee WorkIn Site
      • Get Timestamps
      • Get TimeStamp Attachments
      • Get Workin Sites
      • Get IOMO Logs
      • Add Timestamps
      • Get Pulse Survey
    • Asset
      • Get Asset list
      • Update Asset
      • Get Employee Assets
    • Employee
      • Get Employee
        GET
      • Update Employee
        PUT
      • Get Employees List
        GET
      • Get Mastertypes List
        GET
      • Get Name Prefixes
        GET
      • Get Document Types
        GET
      • Update Employee
        POST
      • Add Employee Attachment
        POST
      • Update Employee Address
        POST
      • Update Employee Family
        POST
      • Update Employee Contact
        POST
      • Update Employee Education
        POST
      • Update Employee Experience
        POST
      • Update Employee CustomField
        POST
      • Delete Employee
        POST
      • Get Employee Role
        GET
      • Get Employee Movement Lists
        GET
    • 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
    • Update Financial Transactions
    • Create Loan
    • Get Cost Center
  • 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. Employee

Get Employees List

GET
https://api.gofive.co.th/empeo/api/v2/employees/lists
ดึงรายชื่อพนักงาน
ดึงรายชื่อพนักงานของ tenant พร้อมข้อมูลที่เลือกได้เป็นส่วน ๆ ผ่าน fields
ไม่ระบุ fields จะได้เฉพาะข้อมูลพื้นฐาน (ชื่อ-สกุล ชื่อเล่น วันที่เริ่มงาน) ซึ่งเร็วกว่ามาก
🎛️ ค่าที่ใส่ใน fields — รับหลายค่าคั่นด้วย , ยิ่งขอมากยิ่งช้า ขอเท่าที่ใช้จริง
information — ข้อมูลส่วนตัว
workInfo — ข้อมูลการจ้างงานและหน่วยงาน
address — ที่อยู่
family — ครอบครัว
education — การศึกษา
experience — ประสบการณ์
customField — ฟิลด์กำหนดเอง
⚠️ ข้อควรรู้
WorkingInformation.Organization รองรับหน่วยงานได้ถึง 20 ระดับ — Level7 ขึ้นไปจะปรากฏเฉพาะ tenant ที่ตั้งโครงสร้างลึกกว่า 6 ระดับ ผู้เรียกที่อ่านแค่ Level1–Level6 จึงไม่ได้รับผลกระทบ
endpoint นี้เป็น เวอร์ชัน 2 (/api/v2/...) ตามที่ระบบให้บริการจริง
ไม่พบพนักงานตามตัวกรองจะได้ 204
🔐 ต้องมีสิทธิ์ Open API โมดูล Employee ระดับ Read

Request

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/v2/employees/lists?pageSize=10&pageIndex=0&employeeRefId=EMP001&companyName=Acme&emailAddress=sample.one%40example.com&employeeStatus=1&fields=information%2CworkInfo' \
--header 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'

Responses

🟢200OK
application/json
สำเร็จ — Data คือรายชื่อพนักงาน (ส่วนที่ไม่ได้ขอผ่าน fields จะเป็น null)
Bodyapplication/json

Example
{
    "StatusCode": 200,
    "Message": "OK",
    "Totals": 1,
    "Data": [
        {
            "EmployeeRefId": "EMP001",
            "FirstName": "พนักงานตัวอย่าง",
            "LastName": "หนึ่ง",
            "FirstNameEN": "Sample",
            "LastNameEN": "One",
            "NickName": "ตัวอย่าง",
            "NickNameEN": "Sample",
            "TitleName": "นาย",
            "TitleNameEN": "Mr.",
            "DateHired": "2024-01-15T00:00:00",
            "Contact": {
                "EmailAddress": "[email protected]",
                "MobileNo": "0800000001",
                "TelephoneNo": null
            },
            "Information": null,
            "Addresses": null,
            "Family": null,
            "Educations": null,
            "WorkExperiences": null,
            "CustomFields": null,
            "WorkingInformation": {
                "Position": "นักพัฒนาระบบ",
                "StatusId": 1,
                "Status": "พนักงานประจำ",
                "Organization": {
                    "Level1": "บริษัทตัวอย่าง",
                    "Level2": "สำนักงานใหญ่",
                    "Level3": "ฝ่ายตัวอย่าง",
                    "Level4": null,
                    "Level5": null,
                    "Level6": null
                }
            }
        }
    ]
}
🟢204No Content
🟠401Unauthorized
🟠403Forbidden
🟠429Too Many Requests
🔴500Server Error
Modified at 2026-08-20 06:06:34
Previous
Update Employee
Next
Get Mastertypes List
Built with