Screen → API map
Which calls each screen of the design brief (Plan/Mobile-App-Design.md) needs. Mock-ups: HRMS.MobileDesign/images.
| Screen | Calls | Notes |
|---|---|---|
| S01 Splash | — (restore session from the keychain) | |
| S02 Login | User/LoginAuthenticate | Send fcmToken. |
| S03 Forgot password | User/SendResetPasswordOTP → User/ResetPasswordWithOTP | Code is emailed, 6 letters (G13). |
| S04 Set new password | User/ChangePassword | Forced when isPasswordChange is false. |
| S05 Enable biometrics · S06 Unlock | — (device) + silent login | Decision D3. |
| S10 Home | ClockInOut/ClockInOutInfo, GetEmployeeDailyInOut, GetEmployeeDashboardBasicDetail, GetMonthlyPresentAbsent, GetEmployeeMonthlyLateEarly, GetMonthlyMissingThumb, GetEmployeeInstructionDetail, getUpCommingHoliday, GetUpCommingBirthDay, getUpCommingAnniversary, GetEmployeeSalaryandDeduction, Setting/GetAllSettings, notification list (bell badge) | "Team on leave" has no API (G5). |
| S11 Clock-in sheet | Location/GetActiveLocations, Project/GetActiveProjects, ThumbApplication/CreateOrUpdateThumbApplication (MobileQuick) | Server decides time and status. |
| S12 Clock-in success | (response of the clock-in call) | Pending punches: G16. |
| S20 Attendance calendar | Report/GetEmployeeAttendanceReportDetails, Report/GetEmployeeAttandanceMonthlySummaryReport | dayFlag per day. |
| S21 Day detail | (row from the calendar call), Report/GetLateEarlyDetails | |
| S22 Punch history | ClockInOut/ClockInOutInfo with month/year, or Report/GetThumbInOutDetails | |
| S23 Missed punch | ThumbApplication/CreateOrUpdateThumbApplication (Mobile), projects | |
| S30 Requests (mine) | Leave list, WFH list, missed-punch list (+ P2/P3 other types) | Team leaders' lists include the team: filter by employee.id. |
| S31 New request picker | — | Comp-off has no API (G7); show Clarification only when isClarify. |
| S32 Apply leave | LeaveType/GetActiveLeaveTypes, Report/GetLeaveBalanceDetails, Employee/GetEmployeeWithCode, Employee/GetAllApprovableEmployees, LeaveApplication/CreateOrUpdateLeaveApplication | Server does not check the balance. |
| S33 Leave balance | Report/GetLeaveBalanceDetails | Current year only (G3). |
| S34 Work from home | WorkFromHome/CreateOrUpdateWorkFromHome | |
| S35 Request detail | get by id (leave, WFH, punch), edit = CreateOrUpdate… with id, withdraw = delete (leave, WFH, punch) | |
| S36 Holidays | HolidayApplication/GetAllHolidayApplications | |
| S40 Approvals inbox | Lists with applicationStatus: 0 (see table) | Punches/clarifications not listable (G4). |
| S41 Approval detail | get by id + Update…Status (leave, WFH, punch) | No remark (G1), no requester balance (G2). |
| S42 Team today | — | No API (G5). |
| S50 Pay | GetEmployeeSalaryandDeduction, GetEmployeeNewDashboardDetails, Payroll/GetMonthSalaryIsPaid, DocumentVault/GetActiveDocumentsVault | |
| S51 Payslip | Report/GetEmployeeMonthlySalary | One month per call. |
| S60 Profile | Employee/GetEmployee, CreateOrUpdateProfileImage, trainings, User/getUserCompany | Assets: Admin-only (G6). |
| S61 My details | Employee/GetEmployee | Mask identifiers. |
| S62 Change password | User/ChangePassword | |
| S63 Settings | — (device) | |
| S70 Notifications | list, mark read, mark all read | "All" = two calls (G8). |
| S80 No internet · S81 Session expired | — | See Errors. |
| S82 Location permission | — (device) | |
| S83 Update required | Setting/GetAllSettings (androidAppLink, iosAppLink) | No minimum-version setting (G12). |