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
    • Mission
      • ดึงคิวงานรอตรวจ
      • ดึงรายละเอียดงาน 1 ใบ
      • ดึงตัวเลขสรุปงานตามสถานะ
      • อนุมัติงานหลายใบพร้อมกัน
      • ส่งงานกลับให้แก้หลายใบพร้อมกัน
  • Overtime
    • Get Overtimes Preriods
    • Get Overtimes Documents
  • Employee
    • User Info
    • Update Employee Information
  1. Employee

Get Name Prefixes

GET
https://api.gofive.co.th/empeo/api/v1/masters/prefixes
ดึงคำนำหน้าชื่อทั้งหมด
ดึงรายการคำนำหน้าชื่อของระบบ ใช้หา TitleId ก่อนส่งข้อมูลพนักงานหรือข้อมูลครอบครัวเข้ามา
⚠️ ข้อควรรู้
ผลลัพธ์เป็น object เดียว ไม่ใช่ array — Data.TypeName = คำนำหน้าชื่อ และรายการจริงอยู่ใน Data.MasterTypes
TypeId ของแต่ละรายการใน Data.MasterTypes คือ TitleId ที่ endpoint อื่นต้องการ
ไม่มี 204 — ไม่มีข้อมูลจะได้ 200 โดย MasterTypes เป็น 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/prefixes' \
--header 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--header 'Authorization: Bearer <token>'

Responses

🟢200OK
application/json
สำเร็จ — Data คือ object เดียวที่มีคำนำหน้าชื่อทั้งหมดอยู่ใน MasterTypes
Bodyapplication/json

Example
{
    "StatusCode": 200,
    "Message": "OK",
    "Data": {
        "TypeName": "คำนำหน้าชื่อ",
        "TypeNameEN": "Title",
        "MasterTypes": [
            {
                "TypeId": 1,
                "TypeName": "นาย",
                "TypeNameEN": "Mr."
            },
            {
                "TypeId": 2,
                "TypeName": "นาง",
                "TypeNameEN": "Mrs."
            },
            {
                "TypeId": 3,
                "TypeName": "นางสาว",
                "TypeNameEN": "Miss"
            }
        ]
    }
}
🟠401Unauthorized
🟠403Forbidden
🟠429Too Many Requests
🔴500Server Error
Modified at 2026-08-20 06:06:44
Previous
Get Mastertypes List
Next
Get Document Types
Built with