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
    • 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
  • Overtime
    • Get Overtimes Preriods
    • Get Overtimes Documents
  • Employee
    • User Info
    • Update Employee Information
  1. Employee

Get Mastertypes List

GET
https://api.gofive.co.th/empeo/api/v1/masters/mastertypes
ดึงประเภทข้อมูลของระบบทั้งหมด
ดึงรายการ master type ของระบบ (ข้อมูลที่ empeo กำหนดมาให้ ไม่ใช่ข้อมูลที่ tenant ตั้งเอง) โดยจัดเป็น 2 ชั้น:
รายการชั้นนอกคือหมวด และ MasterTypes ข้างในคือค่าที่เลือกได้ของหมวดนั้น
หมวดชั้นนอกไม่มี TypeId — ฟิลด์นี้ถูกตัดออกก่อนส่ง (เป็น null จึงหายไปจาก JSON) ให้ใช้ TypeId
ของรายการชั้นในเมื่อต้องส่งค่ากลับเข้ามา
ไม่มี parameter ให้กรอง และไม่มี 204 — ไม่มีข้อมูลจะได้ 200 พร้อม array ว่าง
ต้องมีสิทธิ์ Open API โมดูล Employee ระดับ Read (ไม่ใช่ Master)

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
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/masters/mastertypes' \
--header 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--header 'Authorization: Bearer <token>'

Responses

🟢200OK
application/json
สำเร็จ — Data คือหมวดของ master type พร้อมค่าที่เลือกได้ในแต่ละหมวด
Bodyapplication/json

Example
{
    "StatusCode": 200,
    "Message": "OK",
    "Totals": 1,
    "Data": [
        {
            "TypeName": "เพศ",
            "TypeNameEN": "Gender",
            "MasterTypes": [
                {
                    "TypeId": 5001,
                    "TypeName": "ชาย",
                    "TypeNameEN": "Male"
                },
                {
                    "TypeId": 5002,
                    "TypeName": "หญิง",
                    "TypeNameEN": "Female"
                }
            ]
        }
    ]
}
🟠401Unauthorized
🟠403Forbidden
🟠429Too Many Requests
🔴500Server Error
Modified at 2026-08-19 15:26:08
Previous
Get Employees List
Next
Get Name Prefixes
Built with