Endpoints Summary
Mobile GPS Location Tracking
The BrokerOS mobile app runs an Android background task (location-tracking.ts) while sales executives and sourcing managers are on shift. Every 5 to 15 minutes, it posts updated coordinates.
Request Body
Request Example
Response Example
Register Push Notification Token
Request Body
Get Subordinates (Team Hierarchy)
where: { managerId: userId, status: 'ACTIVE' }). Used by Pre-Sales Managers and Sales Managers to view executive workloads and assign daily call targets.
Response Example
Get My Assigned Projects
ProjectAssignment table. This drives project dropdowns in the mobile app and web navigation.