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

Shuttle Buses

GET
https://api.gofive.co.th/empeo/api/v1/welfares/shuttle-buses
ดึงรายการสายรถรับส่งพนักงาน
ดึงรายการสายรถรับส่ง (bus line) ของ tenant พร้อมจำนวนผู้โดยสารที่ผูกกับแต่ละสาย ใช้เมื่อระบบภายนอกต้องแสดง
หรือ sync ผังสายรถ ทุก parameter เป็นตัวกรองและไม่บังคับ — ไม่ส่งเลยหมายถึงเอาทุกสายที่ tenant มองเห็นได้
ไม่ต้องส่ง TenantId — ระบบใช้ tenant ของ token เสมอและทับค่าที่ส่งมา (ค่าที่คืนใน Data.TenantId คือ tenant ของผู้เรียกเอง)
หมายเหตุพฤติกรรม: ไม่พบข้อมูลตามตัวกรองจะได้ 200 พร้อม Data.ShuttleBuses เป็น array ว่าง ไม่ใช่ 204
และ Data จะสะท้อนค่าตัวกรองที่ส่งมากลับไปด้วย
ต้องมีสิทธิ์ 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/shuttle-buses?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-01&dateEnd=2026-06-30' \
--header 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--header 'Authorization: Bearer <token>'

Responses

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

Examples
{
    "Status": {
        "Code": "1000",
        "Description": "Success!"
    },
    "Data": {
        "BusLineId": 0,
        "BusLineNo": null,
        "BusLineName": null,
        "PickupPoint": null,
        "IsActive": true,
        "IsDelete": false,
        "DateStart": null,
        "DateEnd": null,
        "TenantId": "a1b2c3d4-0000-0000-0000-000000000001",
        "CurrentDateTime": "2026-06-30T09:15:00",
        "ShuttleBuses": [
            {
                "BusLineId": 101,
                "BusLineNo": "BUS-01",
                "BusLineName": "สายตัวอย่าง หนึ่ง",
                "AmountOfSeat": 40,
                "ZoneName": "โซนตัวอย่าง เหนือ",
                "PickupPoint": "จุดรับตัวอย่าง A",
                "BusType": 1,
                "BusType_TH": "รถบริษัท",
                "BusType_EN": "CompanyBus",
                "IsActive": true,
                "IsDelete": false,
                "CreatedBy": "a1b2c3d4-0000-0000-0000-000000000010",
                "DateCreated": "2026-01-15T08:00:00",
                "ModifiedBy": "a1b2c3d4-0000-0000-0000-000000000010",
                "DateModified": "2026-06-01T10:30:00",
                "TenantId": "a1b2c3d4-0000-0000-0000-000000000001",
                "EmployeeCount": 32,
                "RecordCount": 2
            },
            {
                "BusLineId": 102,
                "BusLineNo": "BUS-02",
                "BusLineName": "สายตัวอย่าง สอง",
                "AmountOfSeat": 20,
                "ZoneName": "โซนตัวอย่าง ใต้",
                "PickupPoint": "จุดรับตัวอย่าง B",
                "BusType": 2,
                "BusType_TH": "รถรับจ้าง",
                "BusType_EN": "ShuttleBus",
                "IsActive": true,
                "IsDelete": false,
                "CreatedBy": "a1b2c3d4-0000-0000-0000-000000000010",
                "DateCreated": "2026-02-01T08:00:00",
                "ModifiedBy": null,
                "DateModified": null,
                "TenantId": "a1b2c3d4-0000-0000-0000-000000000001",
                "EmployeeCount": 12,
                "RecordCount": 2
            }
        ]
    }
}
🟠401Unauthorized
🟠403Forbidden
🟠429
🔴500Server Error
Modified at 2026-08-17 17:20:30
Previous
Get Cost Center
Next
Passengers
Built with