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

ดึงรายละเอียดงาน 1 ใบ

GET
https://api.gofive.co.th/api/v1/missions/tasks/{employeeMissionTaskId}
ดึงรายละเอียดงานที่มอบหมาย 1 ใบ พร้อมไฟล์แนบทั้งหมดและสิทธิ์ของผู้ใช้ที่ token ผูกอยู่ต่องานใบนี้
⚠️ ข้อควรรู้
Permissions.CanApprove / CanReturn มีไว้เปิด-ปิดปุ่มเท่านั้น ไม่ใช่ขอบเขตความปลอดภัย — ระบบยังตรวจสิทธิ์ซ้ำตอนกดอนุมัติ/ส่งกลับจริงเสมอ และงานที่ไม่ผ่านจะไปอยู่ใน FailedTasks ของ endpoint นั้น
ไม่พบงานใบนี้ใน tenant ของผู้เรียกจะได้ 404 พร้อม Error = MISSION_TASK_NOT_FOUND (endpoint นี้เป็นตัวเดียวในกลุ่มที่ตอบ 404)
AttachmentURL เป็นลิงก์ไฟล์ที่ใช้ดาวน์โหลดได้โดยตรง ไม่ควรเก็บถาวรเพราะอาจเปลี่ยนได้
🔐 ต้องมีสิทธิ์ Open API โมดูล Mission ระดับ Read

Request

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

Responses

🟢200OK
application/json
สำเร็จ — Data คือรายละเอียดงานใบนั้น
Bodyapplication/json

Example
{
    "StatusCode": 200,
    "Message": "OK",
    "Data": {
        "EmployeeMissionTaskId": 90101,
        "TaskName": "ส่งรายงานประจำเดือน",
        "TaskDescription": "สรุปยอดขายรายเดือนพร้อมไฟล์แนบ",
        "Employee": {
            "EmployeeRefId": "EMP001",
            "CompanyName": "Acme",
            "FullName": "พนักงานตัวอย่าง หนึ่ง",
            "AvatarURL": "https://cdn.example.com/avatar-emp001.png"
        },
        "Reviewer": {
            "EmployeeRefId": "EMP009",
            "CompanyName": "Acme",
            "FullName": "หัวหน้าตัวอย่าง หนึ่ง",
            "AvatarURL": null
        },
        "TaskStatus": "WaitingForApproval",
        "DateDue": "2026-07-05T00:00:00",
        "DateLastSubmitted": "2026-07-04T16:20:00",
        "IsOverdue": false,
        "Remark": "ส่งรายงานฉบับแก้ไขแล้ว",
        "Attachments": [
            {
                "AttachmentId": 7701,
                "AttachmentFilename": "monthly-report.pdf",
                "AttachmentMimeType": "application/pdf",
                "AttachmentSize": 254877,
                "AttachmentURL": "https://cdn.example.com/mission/monthly-report.pdf"
            }
        ],
        "Permissions": {
            "CanApprove": true,
            "CanReturn": true
        }
    }
}
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠429
🔴500Server Error
Modified at 2026-08-24 03:52:15
Previous
ดึงคิวงานรอตรวจ
Next
ดึงตัวเลขสรุปงานตามสถานะ
Built with