MOVER
🚛 Technical Specification: Mover Setup
📋 Feature Overview
🛠️ Technical Implementation
A. Permissions & Access Control
Note: Access is controlled via
PermissionGuard and component-level checks.| Scope | Permission Code | Description & Page Usage |
|---|---|---|
| Menu Visibility | MOVER.MENU |
Sidebar menu visibility.
|
|
Page Routing |
MOVER.LISTING |
Access to listing route.
|
|
Page Routing |
MOVER.VIEW |
Access to add route.
|
| Create Action | MOVER.UPDATE |
Controls the + Add button visibility.
|
| View Access | MOVER.VIEW |
Controls visibility of Edit icon.
|
| Delete Action | MOVER.DELETE |
Visibility of the Delete 🗑️ icon.
|
| Edit/Save Action | MOVER.UPDATE |
Ability to save changes on Add/Edit screen.
|
B. API Interaction
Base URL:
${environment.baseApiUrl}1. Listing Mover Manage
\listing-mover-manage/companies/getQuery
POSTFilter:
isDeleted=0 (Active companies)/vehicleBrands/getQuery
POSTPurpose: Populate
brandDataSource/movers/getQuery
POSTFilter:
plateNo, vehicleBrandId, companyId, isDeleted=0/carriers/getQuery
POSTFilter:
moverId, isDeleted=0 (Dependency Check)/movers/update
POSTPurpose: Soft Delete (
isDeleted=true)2. Add Mover Manage
\add-mover-manage/companies/getQuery
POSTFilter:
isDeleted=0 (Active companies)/vehicleBrands/getQuery
POSTFilter:
isActive=1 (Active brands)/settings/getQuery
POSTFilter:
type='SPAD Permit Owner'/settings/getQuery
POSTFilter:
type='Gear Box Type'/movers/getQuery
POSTFilter:
id (Fetch specific record)/movers/getQuery
POSTFilter:
plateNo (Uniqueness Check)/movers/create
POSTPurpose: Create new
dataSource record/movers/update
POSTPurpose: Update existing
dataSource record