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

ดึงคิวงานรอตรวจ

GET
https://api.gofive.co.th/api/v1/missions/tasks-to-review
ดึงรายการงานที่รอผู้ใช้ของ token ตรวจ พร้อมข้อมูลแบ่งหน้า
คิวนี้คิดสิทธิ์รายงานให้แล้ว — เห็นเฉพาะงานที่ผู้ใช้คนนั้นตรวจได้จริง
⚠️ ข้อควรรู้
companyName บังคับส่ง — ไม่ส่งจะได้ 400 (INVALID_REQUEST) เพราะ employeeRefId ไม่ซ้ำกันเฉพาะภายในบริษัทเดียว
ตอนนี้รองรับเฉพาะ status=WaitingForApproval ส่งสถานะอื่นจะได้ 400 (INVALID_REQUEST) ไม่ใช่รายการว่าง — เพราะยังไม่มีวิธีอ่านสถานะอื่นที่คิดสิทธิ์ผู้ตรวจได้ถูกต้อง
includeAttachments ทำให้ผลลัพธ์ช้าลงและตอนนี้ไม่ได้เพิ่มฟิลด์ในรายการคิว (จำนวนไฟล์ดูได้จาก AttachmentCount อยู่แล้ว) — เปิดเฉพาะเมื่อจำเป็นจริง ๆ
🎛️ การแบ่งหน้า — ค่าที่หลุดกรอบถูกปรับให้อยู่ในช่วงเงียบ ๆ ไม่ใช่ 400
page น้อยกว่า 1 → ปรับเป็น 1
pageSize น้อยกว่า 1 หรือมากกว่า 100 → ปรับเป็น 20
ขอหน้าที่เลยจำนวนข้อมูลจะได้ 200 พร้อม Items ว่างและ Pagination ที่บอกจำนวนจริง — ไม่มี 204
🔐 ต้องมีสิทธิ์ Open API โมดูล Mission ระดับ Read

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
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/api/v1/missions/tasks-to-review?companyName=Acme&page=1&pageSize=20&status=WaitingForApproval&keyword=%E0%B8%A3%E0%B8%B2%E0%B8%A2%E0%B8%87%E0%B8%B2%E0%B8%99%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B8%88%E0%B8%B3%E0%B9%80%E0%B8%94%E0%B8%B7%E0%B8%AD%E0%B8%99&employeeRefId=EMP001&missionId=4501&dateDueStart=2026-07-01&dateDueEnd=2026-07-31&sortBy=DateSubmitted&sortDirection=Asc&includeAttachments=false' \
--header 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--header 'Authorization: Bearer <token>'

Responses

🟢200OK
application/json
สำเร็จ — Data.Items คือคิวงาน และ Data.Pagination บอกจำนวนทั้งหมด (Totals = TotalItems)
Bodyapplication/json

Example
{
    "StatusCode": 200,
    "Message": "OK",
    "Totals": 2,
    "Data": {
        "Items": [
            {
                "EmployeeMissionTaskId": 90101,
                "MissionName": "ภารกิจตัวอย่าง ประจำเดือน",
                "TaskName": "ส่งรายงานประจำเดือน",
                "Employee": {
                    "EmployeeRefId": "EMP001",
                    "CompanyName": "Acme",
                    "FullName": "พนักงานตัวอย่าง หนึ่ง",
                    "AvatarURL": "https://cdn.example.com/avatar-emp001.png"
                },
                "DateDue": "2026-07-05T00:00:00",
                "DateLastSubmitted": "2026-07-04T16:20:00",
                "TaskStatus": "WaitingForApproval",
                "IsOverdue": false,
                "Remark": "ส่งรายงานฉบับแก้ไขแล้ว",
                "AttachmentCount": 2
            },
            {
                "EmployeeMissionTaskId": 90102,
                "MissionName": "ภารกิจตัวอย่าง ประจำเดือน",
                "TaskName": "ส่งรายงานประจำเดือน",
                "Employee": {
                    "EmployeeRefId": "EMP002",
                    "CompanyName": "Acme",
                    "FullName": "พนักงานตัวอย่าง สอง",
                    "AvatarURL": null
                },
                "DateDue": "2026-07-05T00:00:00",
                "DateLastSubmitted": "2026-07-08T09:10:00",
                "TaskStatus": "WaitingForApproval",
                "IsOverdue": true,
                "Remark": null,
                "AttachmentCount": 0
            }
        ],
        "Pagination": {
            "Page": 1,
            "PageSize": 20,
            "TotalItems": 2,
            "TotalPages": 1
        }
    }
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠429
🔴500Server Error
Modified at 2026-08-24 03:52:15
Previous
Get Upcoming Celebrations
Next
ดึงรายละเอียดงาน 1 ใบ
Built with