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

Update Employee Information

POST
https://api.gofive.co.th/empeo/api/v1/employees/information
แก้ไขข้อมูลส่วนตัวของพนักงาน
แก้ไขข้อมูลส่วนตัวและข้อมูลการจ้างงานของพนักงาน 1 คน ส่งเฉพาะฟิลด์ที่ต้องการแก้ก็ได้ — ฟิลด์ที่ไม่ส่งจะไม่ถูกแตะ
ฟิลด์ที่ลงท้ายด้วย Id ต้องเป็นรหัสจากข้อมูลตั้งต้น ดูได้จาก GET /api/v1/masters/items
(ศาสนา = กลุ่ม 2, หมู่เลือด = 3, สัญชาติ/เชื้อชาติ = 5, สถานะสมรส = 9, สถานะเกณฑ์ทหาร = 10)
และคำนำหน้าชื่อจาก GET /api/v1/masters/prefixes
บันทึกไม่สำเร็จจะได้ 204 ไม่ใช่ 400 — เช่น ไม่พบบริษัทหรือรหัสพนักงาน
ต้องมีข้อมูลก่อนเรียก: บริษัทและพนักงานต้องมีอยู่จริง และรหัสข้อมูลตั้งต้นที่อ้างถึงต้องถูกตั้งไว้แล้ว
ต้องมีสิทธิ์ Open API โมดูล Employee ระดับ ReadAndWrite

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Header Params

Body Params application/jsonRequired

Example
{
    "EmployeeRefId": "EMP001",
    "CompanyName": "Acme",
    "TitleId": 1,
    "GenderId": 5001,
    "ReligionId": 30011,
    "MaritalStatusId": 30041,
    "Height": 170,
    "Weight": 65,
    "EmailAddress": "[email protected]",
    "MobileNo": "0800000001",
    "PositionName": "นักพัฒนาระบบอาวุโส"
}

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/employees/information' \
--header 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "EmployeeRefId": "EMP001",
    "CompanyName": "Acme",
    "TitleId": 1,
    "GenderId": 5001,
    "ReligionId": 30011,
    "MaritalStatusId": 30041,
    "Height": 170,
    "Weight": 65,
    "EmailAddress": "[email protected]",
    "MobileNo": "0800000001",
    "PositionName": "นักพัฒนาระบบอาวุโส"
}'

Responses

🟢200OK
application/json
บันทึกสำเร็จ — ผลอยู่ใน Data
Bodyapplication/json

Example
{
    "Status": {
        "Code": "1000",
        "Description": "Success!"
    },
    "Data": {
        "result": true,
        "message": "Edited Successfully."
    }
}
🟢204No Content
🟠401Unauthorized
🟠403Forbidden
🟠429
🔴500Server Error
Modified at 2026-08-17 17:22:31
Previous
User Info
Built with