Gofive OpenAPI
empeo
VenioeTaxGo
empeo
VenioeTaxGo
  1. Welfare
  • 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
    • Update Employee Information
  1. Welfare

Passengers

GET
https://api.gofive.co.th/empeo/api/v1/welfares/passengers
ดึงรายชื่อผู้โดยสารแยกตามสายรถ
ดึงผู้โดยสารของรถรับส่งโดยจัดกลุ่มตามสายรถ ใช้เมื่อระบบภายนอกต้องรู้ว่าพนักงานคนไหนขึ้นสายไหน พร้อมข้อมูล
วันทำงาน/OT และเวลาสแตมป์เข้า-ออกของวันนั้น ตัวกรองชุดเดียวกับ endpoint สายรถ และไม่บังคับทุกตัว
ไม่ต้องส่ง TenantId — ระบบใช้ tenant ของ token เสมอ
หมายเหตุพฤติกรรมที่ทำให้ client พังได้: เมื่อไม่พบผู้โดยสารเลย ระบบยังคืน 200 แต่ Data.ShuttleBuses เป็น
null (ไม่ใช่ array ว่าง แบบ endpoint สายรถ) — client ต้องเช็ค null ก่อนวน loop
ต้องมีสิทธิ์ Open API โมดูล Welfare ระดับ 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/empeo/api/v1/welfares/passengers?busLineId=101&busLineNo=BUS-01&busLineName=%E0%B8%AA%E0%B8%B2%E0%B8%A2%E0%B8%95%E0%B8%B1%E0%B8%A7%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87%20%E0%B8%AB%E0%B8%99%E0%B8%B6%E0%B9%88%E0%B8%87&pickupPoint=%E0%B8%88%E0%B8%B8%E0%B8%94%E0%B8%A3%E0%B8%B1%E0%B8%9A%E0%B8%95%E0%B8%B1%E0%B8%A7%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87%20A&isActive=true&isDelete=false&dateStart=2026-06-30&dateEnd=2026-06-30' \
--header 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--header 'Authorization: Bearer <token>'

Responses

🟢200OK
application/json
สำเร็จ — Data.ShuttleBuses คือสายรถที่มีผู้โดยสารตรงตัวกรอง; เป็น null เมื่อไม่พบผู้โดยสารเลย
Bodyapplication/json

Examples
{
    "Status": {
        "Code": "1000",
        "Description": "Success!"
    },
    "Data": {
        "BusLineId": 101,
        "BusLineNo": null,
        "BusLineName": null,
        "PickupPoint": null,
        "IsActive": null,
        "IsDelete": null,
        "DateStart": "2026-06-30T00:00:00",
        "DateEnd": "2026-06-30T00:00:00",
        "TenantId": "a1b2c3d4-0000-0000-0000-000000000001",
        "ShuttleBuses": [
            {
                "BusLineId": 101,
                "TotalPassengers": 2,
                "BusLineNo": "BUS-01",
                "BusLineName": "สายตัวอย่าง หนึ่ง",
                "ZoneName": "โซนตัวอย่าง เหนือ",
                "PickupPoint": "จุดรับตัวอย่าง A",
                "BusType": 1,
                "BusType_TH": "รถบริษัท",
                "BusType_EN": "CompanyBus",
                "AmountOfSeat": 40,
                "Passengers": [
                    {
                        "EmployeeNo": "EMP001",
                        "Date": "2026-06-30T00:00:00",
                        "BusLineId": 101,
                        "IsWorkDay": true,
                        "IsOT": false,
                        "StampIn": "2026-06-30T08:02:00",
                        "StampOut": "2026-06-30T17:05:00",
                        "TotalPassengers": 2,
                        "BusLineNo": "BUS-01",
                        "BusLineName": "สายตัวอย่าง หนึ่ง",
                        "ZoneName": "โซนตัวอย่าง เหนือ",
                        "PickupPoint": "จุดรับตัวอย่าง A",
                        "BusType": 1,
                        "BusType_TH": "รถบริษัท",
                        "BusType_EN": "CompanyBus",
                        "AmountOfSeat": 40
                    },
                    {
                        "EmployeeNo": "EMP002",
                        "Date": "2026-06-30T00:00:00",
                        "BusLineId": 101,
                        "IsWorkDay": true,
                        "IsOT": true,
                        "StampIn": "2026-06-30T07:58:00",
                        "StampOut": "2026-06-30T20:10:00",
                        "TotalPassengers": 2,
                        "BusLineNo": "BUS-01",
                        "BusLineName": "สายตัวอย่าง หนึ่ง",
                        "ZoneName": "โซนตัวอย่าง เหนือ",
                        "PickupPoint": "จุดรับตัวอย่าง A",
                        "BusType": 1,
                        "BusType_TH": "รถบริษัท",
                        "BusType_EN": "CompanyBus",
                        "AmountOfSeat": 40
                    }
                ]
            }
        ]
    }
}
🟠401Unauthorized
🟠403Forbidden
🟠429
🔴500Server Error
Modified at 2026-08-17 17:20:30
Previous
Shuttle Buses
Next
Update KPI
Built with