TRACIT Platform
เอกสารสแกนจากซอร์สโค้ดจริง · 23 ก.ค. 2569

รวม Endpoint ทุกระบบ

ทุก route ในหน้านี้มาจากการไล่อ่านไฟล์ route.ts ของทุกแอป บวก webhook ใน n8n และเซอร์วิส Flask — เอาไว้หาว่ามี API อะไรอยู่แล้วบ้าง ก่อนจะเขียนตัวใหม่ซ้ำ แสดงเฉพาะ path กับ method ไม่มี payload และไม่มีคีย์ใดๆ

279 endpoint ทั้งหมด10 แอป19 n8n webhook

API ของแต่ละแอป

กดที่ชื่อแอปเพื่อกาง
TRAC Helpdeskithelpdesk.thairentacar.com70 endpoint

/tickets10

  • POST/api/tickets
  • POST/api/tickets/[id]
  • POST/api/tickets/[id]/actions
  • GETPOST/api/tickets/[id]/attachments
  • POST/api/tickets/[id]/attachments/upload
  • POST/api/tickets/[id]/comments
  • PATCH/api/tickets/[id]/comments/[commentId]
  • POST/api/tickets/[id]/delete
  • POST/api/tickets/[id]/rating
  • POST/api/tickets/bulk

/users10

  • POST/api/users
  • POST/api/users/[emp_id]
  • POST/api/users/[emp_id]/reset-password
  • POST/api/users/[emp_id]/toggle-active
  • POST/api/users/[emp_id]/unlock
  • GET/api/users/export-csv
  • POST/api/users/import-csv
  • POST/api/users/onboarded
  • GET/api/users/search
  • GET/api/users/template-csv

/kb9

  • GETPOST/api/kb
  • GETPUTDELETE/api/kb/[id]
  • POST/api/kb/[id]/feedback
  • POST/api/kb/[id]/helpful
  • POST/api/kb/[id]/verify
  • POST/api/kb/ask
  • POST/api/kb/categories/[id]/claim
  • POST/api/kb/embed
  • PATCH/api/kb/feedback/[fid]

/stock7

  • GETPOST/api/stock/items
  • PATCH/api/stock/items/[id]
  • POST/api/stock/requests
  • POST/api/stock/requests/[id]
  • POST/api/stock/requests/[id]/action
  • POST/api/stock/requests/[id]/deliver
  • POST/api/stock/walk-in

/assets6

  • POST/api/assets
  • PATCH/api/assets/[id]
  • GETPOST/api/assets/[id]/net-check
  • POST/api/assets/ad-sync
  • POST/api/assets/beacon
  • POST/api/assets/net-check

/pb-tasks6

  • GETPATCH/api/pb-tasks/[taskId]
  • GETPOST/api/pb-tasks/[taskId]/attachments
  • GET/api/pb-tasks/[taskId]/attachments/[attachmentId]
  • GETPOST/api/pb-tasks/[taskId]/comments
  • GET/api/pb-tasks/[taskId]/context
  • GET/api/pb-tasks/dependencies

/auth5

  • POST/api/auth/change-password
  • POST/api/auth/impersonate
  • POST/api/auth/login
  • POST/api/auth/logout
  • POST/api/auth/view-as

/settings4

  • GETPOST/api/settings
  • GETPOSTDELETE/api/settings/holidays
  • GETPOSTPATCHDELETE/api/settings/leaves
  • POST/api/settings/leaves/recalculate-sla

/network-diagrams3

  • GETPOST/api/network-diagrams
  • DELETE/api/network-diagrams/[id]
  • GET/api/network-diagrams/[id]/content

/catalog2

  • GET/api/catalog
  • GET/api/catalog/[id]

/jobs2

  • POST/api/jobs/daily
  • POST/api/jobs/email-intake

/app1

  • POST/api/app

/assigned-tasks1

  • GET/api/assigned-tasks

/kb-feedback-files1

  • GET/api/kb-feedback-files/[...path]

/kb-images1

  • GET/api/kb-images/[...path]

/kpi1

  • GET/api/kpi

/rate1

  • POST/api/rate/[token]
IT Project Boarditproject.thairentacar.com43 endpoint

/projects10

  • GETPOST/api/projects
  • PATCHDELETE/api/projects/[projectId]
  • GETPOST/api/projects/[projectId]/attachments
  • GETPOST/api/projects/[projectId]/comments
  • DELETE/api/projects/[projectId]/comments/[commentId]
  • GET/api/projects/[projectId]/dependencies
  • GET/api/projects/[projectId]/export
  • GETPOST/api/projects/[projectId]/members
  • GETPOSTDELETE/api/projects/[projectId]/share
  • POST/api/projects/import

/tasks7

  • GETPOST/api/tasks
  • PATCHDELETE/api/tasks/[taskId]
  • GETPOST/api/tasks/[taskId]/assignees
  • GETPOST/api/tasks/[taskId]/attachments
  • GETPOST/api/tasks/[taskId]/comments
  • PATCHDELETE/api/tasks/[taskId]/comments/[commentId]
  • GETPOSTDELETE/api/tasks/[taskId]/dependencies

/sprints3

  • GETPOST/api/sprints
  • PATCHDELETE/api/sprints/[sprintId]
  • GET/api/sprints/[sprintId]/burndown

/approvals2

  • GETPOST/api/approvals
  • PATCH/api/approvals/[id]

/assets2

  • GETPOST/api/assets
  • PATCHDELETE/api/assets/[id]

/auth2

  • POST/api/auth/login
  • POST/api/auth/logout

/expenses2

  • GETPOST/api/expenses
  • GETPATCHDELETE/api/expenses/[expenseId]

/timesheets2

  • GETPOST/api/timesheets
  • PATCHDELETE/api/timesheets/[id]

/webhook2

  • POST/api/webhook/test
  • POST/api/webhook/true-bill

/wiki2

  • GETPOST/api/wiki
  • DELETE/api/wiki/[id]

/attachments1

  • GETDELETE/api/attachments/[id]

/audit1

  • GET/api/audit

/jobs1

  • POST/api/jobs/escalation

/kpi1

  • GET/api/kpi

/members1

  • GET/api/members

/notifications1

  • GETPOST/api/notifications

/oncall1

  • GETPOSTDELETE/api/oncall

/settings1

  • GETPATCH/api/settings

/users1

  • GET/api/users/search
HR Adminhr.thairentacar.com42 endpoint

/recruitment13

  • GETPATCHDELETE/api/recruitment/candidates/[id]
  • GET/api/recruitment/candidates/[id]/events
  • POST/api/recruitment/candidates/[id]/hire
  • GETPOSTPATCHDELETE/api/recruitment/candidates/[id]/interviews
  • GETPOSTDELETE/api/recruitment/candidates/[id]/offer
  • GETPOSTDELETE/api/recruitment/candidates/[id]/tags
  • GET/api/recruitment/candidates/export
  • GETPOST/api/recruitment/openings
  • GETPATCHDELETE/api/recruitment/openings/[id]
  • GETPOST/api/recruitment/openings/[id]/candidates
  • POST/api/recruitment/openings/[id]/public-link
  • POST/api/recruitment/resume-upload
  • GETPOST/api/recruitment/templates

/employees10

  • GETPOST/api/employees
  • GETPATCHDELETE/api/employees/[empId]
  • GET/api/employees/[empId]/history
  • GETPOST/api/employees/[empId]/merge
  • POST/api/employees/[empId]/offboarding
  • POST/api/employees/[empId]/onboarding
  • POST/api/employees/[empId]/transfer
  • GET/api/employees/[empId]/workflow-status
  • GET/api/employees/export
  • POST/api/employees/import

/auth3

  • POST/api/auth/change-password
  • POST/api/auth/login
  • POST/api/auth/logout

/workflows3

  • GET/api/workflows
  • GETPOST/api/workflows/templates
  • PATCHDELETE/api/workflows/templates/[id]

/branches2

  • GETPOST/api/branches
  • PATCHDELETE/api/branches/[id]

/departments2

  • GETPOST/api/departments
  • PATCHDELETE/api/departments/[id]

/positions2

  • GETPOST/api/positions
  • PATCHDELETE/api/positions/[id]

/public-applications2

  • GETPOST/api/public-applications/[token]
  • POST/api/public-applications/resume-upload

/audit1

  • GET/api/audit

/avatars1

  • GET/api/avatars/[...path]

/candidate-files1

  • GET/api/candidate-files/[...path]

/dashboard1

  • GET/api/dashboard

/upload1

  • POST/api/upload
Doc Approvalapproval.thairentacar.com29 endpoint

/documents9

  • GETPOST/api/documents
  • GET/api/documents/[id]
  • POST/api/documents/[id]/cancel
  • POST/api/documents/[id]/decide
  • GETPOST/api/documents/[id]/fields
  • GETPOST/api/documents/[id]/pdf
  • POST/api/documents/[id]/resubmit
  • POST/api/documents/[id]/submit
  • POST/api/documents/preview

/sap8

  • GET/api/sap/[kind]
  • GET/api/sap/[kind]/[docEntry]
  • GET/api/sap/[kind]/export
  • GET/api/sap/[kind]/facets
  • GET/api/sap/attachment
  • GET/api/sap/payments
  • GET/api/sap/payments/facets
  • GET/api/sap/reconcile

/settings3

  • GETPOST/api/settings
  • GETPOSTDELETE/api/settings/admins
  • GETPOSTDELETE/api/settings/delegations

/auth2

  • POST/api/auth/login
  • POST/api/auth/logout

/integrations2

  • GETPOST/api/integrations/sap-attachment
  • GETPOST/api/integrations/sap-pr

/admin1

  • GET/api/admin/types

/members1

  • GET/api/members/search

/notifications1

  • GETPOST/api/notifications

/presence1

  • GETPOST/api/presence

/types1

  • GET/api/types
Car Lease Dashboardcb.thairentacar.com26 endpoint

/settings10

  • GETPOST/api/settings/customers
  • PATCH/api/settings/customers/[id]
  • POST/api/settings/finance-import/contracts
  • POST/api/settings/finance-import/vehicles
  • POST/api/settings/import
  • GETPOST/api/settings/sales-assignments
  • PATCH/api/settings/sales-assignments/[id]
  • GETPOST/api/settings/targets
  • GETPOST/api/settings/users
  • PATCHDELETE/api/settings/users/[id]

/dashboard5

  • GET/api/dashboard/by-customer
  • GET/api/dashboard/by-sales
  • GET/api/dashboard/contracts
  • GET/api/dashboard/data-quality
  • GET/api/dashboard/summary

/sales-activity4

  • GETPOST/api/sales-activity/leads
  • PATCHDELETE/api/sales-activity/leads/[id]
  • GETPOST/api/sales-activity/leads/[id]/progress
  • GET/api/sales-activity/summary

/fn-requests2

  • GETPOST/api/fn-requests
  • PATCH/api/fn-requests/[id]

/follow-up2

  • GET/api/follow-up/contracts
  • GETPOST/api/follow-up/notes

/op-pickups2

  • GETPOST/api/op-pickups
  • PATCH/api/op-pickups/[id]

/contracts1

  • GETPATCH/api/contracts/[id]
Training Portaltraining.thairentacar.com20 endpoint

/admin11

  • POST/api/admin/assign
  • GETPOST/api/admin/courses
  • GETPOST/api/admin/courses/[id]/lessons
  • PATCHDELETE/api/admin/courses/[id]/lessons/[lessonId]
  • POST/api/admin/courses/[id]/lessons/[lessonId]/blocks
  • PATCHDELETE/api/admin/courses/[id]/lessons/[lessonId]/blocks/[blockId]
  • GETPOST/api/admin/courses/[id]/quiz
  • PATCHDELETE/api/admin/courses/[id]/quiz/[questionId]
  • GET/api/admin/employees
  • GET/api/admin/reports
  • GET/api/admin/reports/[courseId]

/courses7

  • GETPOST/api/courses
  • GETPATCHDELETE/api/courses/[id]
  • GETPOST/api/courses/[id]/certificate
  • POST/api/courses/[id]/enroll
  • POST/api/courses/[id]/progress
  • GETPOST/api/courses/[id]/quiz
  • GET/api/courses/[id]/quiz-score

/auth2

  • POST/api/auth/login
  • POST/api/auth/logout
Fleet Opsfleet.thairentacar.com11 endpoint

/auth4

  • POST/api/auth/login
  • POST/api/auth/logout
  • GET/api/auth/me
  • POST/api/auth/register

/admin1

  • GETPOST/api/admin/roles

/cases1

  • GETPOST/api/cases

/claims1

  • GET/api/claims

/employees1

  • GET/api/employees

/notify1

  • POST/api/notify

/transfers1

  • GETPOST/api/transfers

/vehicles1

  • GET/api/vehicles
Cashcardcashcard.thairentacar.com9 endpoint

/auth2

  • POST/api/auth/login
  • POST/api/auth/logout

/transactions2

  • GETPOST/api/transactions
  • PATCHDELETE/api/transactions/[id]

/dept1

  • POST/api/dept/select

/employees1

  • GET/api/employees

/loans1

  • POST/api/loans

/members1

  • POSTDELETE/api/members

/reimbursement1

  • POST/api/reimbursement
IT Portal + KPIportal.thairentacar.com4 endpoint

/kpi3

  • GET/api/kpi
  • POST/api/kpi/auth
  • POST/api/kpi/ingest

/health1

  • GET/api/health
CarPro Helpercarpro.103.246.189.85.nip.io2 endpoint

/history1

  • GETPOSTPATCHDELETE/api/history

/translate1

  • POST/api/translate

n8n Webhook

19 เส้น · โดเมน workflow.thairentacar.com
MethodPathWorkflow
GET/webhook/car-status.csvCAR_STATUS Download (on-demand CSV)
GET/webhook/branch-dashboardTV Dashboard HTML
GET/webhook/rb-dashboardTV Dashboard HTML
GET/webhook/tv-dashboardTV Dashboard HTML
GET/webhook/cs-kpi-dataCS-KPI Dashboard → data.json (ทุก 5 นาที)
GET/webhook/fleet-employeeTRAC Fleet · API endpoints
GET/webhook/fleet-jobs-listTRAC Fleet · jobs list (dashboard)
GET/webhook/fleet-open-jobsTRAC Fleet · API endpoints
GET/webhook/fleet-staffTRAC Fleet · API endpoints
GET/webhook/fleet-vehiclesTRAC Fleet · API endpoints
GET/webhook/liff-fleet-formTRAC LIFF Fleet Form (host)
GET/webhook/line-oos-dataLINE OOS Webhook
GET/webhook/bp-final1917-9xTRAC temp · final1917
POST/webhook/fleet-status-v4TRAC Fleet · submit
POST/webhook/fleet-op-confirmTRAC Fleet · OP confirm
POST/webhook/fleet-staff-registerTRAC Fleet · API endpoints
POST/webhook/line-oosLINE OOS Webhook
POST/webhook/line-group-idLINE Group ID Capture
POST/webhook/new-ticket🎫 New Ticket → LINE IT Group

Fleet API (Flask)

ภายใน · พอร์ต 8000
MethodPathหน้าที่
GET/หน้าเช็คว่าเซอร์วิสตอบ
GET/healthhealth check
POST/run-fleetสั่งงาน fleet หนึ่งรายการ
POST/run-fleet-bundleสั่งงาน fleet เป็นชุด