Fleet Management API

A powerful RESTful API for managing logistics operations including fleet management, trip tracking, staff management, and comprehensive reporting.

50+
API Endpoints
12
Modules
6
Report Types
REST
Architecture

Core Features

🚚

Fleet Management

Complete truck management with driver assignments, maintenance tracking, odometer logs, and service compliance monitoring.

📍

Trip Tracking

Real-time trip management with status tracking, COD confirmation, freight calculations, and comprehensive trip reports.

👥

Staff Management

Manage drivers, mechanics, and other staff with role-based access, status tracking, and performance monitoring.

📈

Income Reports

Weekly income tracking by fleet type with automatic calculations, finalization workflow, and export capabilities.

💰

Expense Tracking

Retirement and P&L reports with expense categorization, major cost tracking, and budget management.

🔒

Secure Authentication

Laravel Sanctum-powered authentication with role-based access control, admin invitations, and password reset.

API Endpoints Overview

POST /api/v1/auth/login Authenticate user
GET /api/v1/staff List all staff
GET /api/v1/trucks List all trucks
GET /api/v1/trips List all trips
GET /api/v1/reports/income Income reports
GET /api/v1/reports/retirement Expense reports
GET /api/v1/reports/pnl Profit & Loss
GET /api/v1/reports/budget Budget reports

View the complete API documentation at /api/documentation