Gofive OpenAPI
empeo
VenioeTaxGo
empeo
VenioeTaxGo
  1. Timesheet
  • 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
        POST
      • Search Tasks
        POST
      • Create Timesheet Entry
        POST
  • 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 Overtimes Documents
  • Employee
    • User Info
    • Update Employee Information
  1. Timesheet

Search Projects

POST
https://api.gofive.co.th/empeo/api/v1/timesheets/projects/search
ค้นหาโปรเจกต์สำหรับลงเวลา
ค้นหาโปรเจกต์ที่ลงเวลาได้ใน tenant ของผู้เรียก ใช้ก่อนบันทึกเวลาเพื่อให้ได้ ProjectCode ที่ถูกต้อง
ผลลัพธ์บอกด้วยว่าโปรเจกต์นั้นกำหนดผู้รับผิดชอบแบบไหน (AssignmentType) และมีช่วงเวลาโปรเจกต์หรือไม่
ทุก field ใน body ไม่บังคับ แต่ ต้องส่ง body มา (ส่ง {} ได้)
⚠️ ข้อควรรู้
ไม่ส่ง body เลยจะได้ 400 จาก framework ในรูปแบบ ValidationProblemDetails ซึ่งไม่ใช่ envelope BffApiResult ของ endpoint นี้
ไม่พบข้อมูลจะได้ 200 พร้อม Data เป็น array ว่าง
🔐 ต้องมีสิทธิ์ Open API โมดูล TimeSheet ระดับ Read

Request

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

Body Params application/jsonRequired

Examples
{
    "Q": "โปรเจกต์ตัวอย่าง",
    "Limit": 20,
    "IncludeInactive": false
}

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
curl --location 'https://api.gofive.co.th/empeo/api/v1/timesheets/projects/search' \
--header 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "Q": "โปรเจกต์ตัวอย่าง",
    "Limit": 20,
    "IncludeInactive": false
}'

Responses

🟢200OK
application/json
ค้นหาสำเร็จ — Data เป็นรายการโปรเจกต์ที่ตรงคำค้น (เป็น array ว่างเมื่อไม่พบ)
Bodyapplication/json

Example
{
    "Status": {
        "Code": "200",
        "Description": "OK"
    },
    "Data": [
        {
            "ProjectCode": "PRJ-001",
            "ProjectName": "โปรเจกต์ตัวอย่าง หนึ่ง",
            "ProjectStatus": "Active",
            "AssignmentType": "Specific",
            "Assignees": [
                {
                    "EmployeeCode": "EMP001",
                    "EmployeeName": "พนักงานตัวอย่าง หนึ่ง"
                }
            ],
            "HasProjectPeriod": true,
            "StartDate": "2026-01-01",
            "EndDate": "2026-12-31",
            "HasAccountingInfo": true,
            "AccountCode": "ACC-001"
        },
        {
            "ProjectCode": "PRJ-002",
            "ProjectName": "โปรเจกต์ตัวอย่าง สอง",
            "ProjectStatus": "Active",
            "AssignmentType": "All",
            "HasProjectPeriod": false,
            "HasAccountingInfo": false
        }
    ]
}
🟠401Unauthorized
🟠403Forbidden
🟠429Too Many Requests
🔴500Server Error
Modified at 2026-08-20 06:07:17
Previous
Swap Employee Shifts
Next
Search Tasks
Built with