Skip to main content

Screen → API map

Which calls each screen of the design brief (Plan/Mobile-App-Design.md) needs. Mock-ups: HRMS.MobileDesign/images.

ScreenCallsNotes
S01 Splash— (restore session from the keychain)
S02 LoginUser/LoginAuthenticateSend fcmToken.
S03 Forgot passwordUser/SendResetPasswordOTP → User/ResetPasswordWithOTPCode is emailed, 6 letters (G13).
S04 Set new passwordUser/ChangePasswordForced when isPasswordChange is false.
S05 Enable biometrics · S06 Unlock— (device) + silent loginDecision D3.
S10 HomeClockInOut/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 sheetLocation/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 calendarReport/GetEmployeeAttendanceReportDetails, Report/GetEmployeeAttandanceMonthlySummaryReportdayFlag per day.
S21 Day detail(row from the calendar call), Report/GetLateEarlyDetails
S22 Punch historyClockInOut/ClockInOutInfo with month/year, or Report/GetThumbInOutDetails
S23 Missed punchThumbApplication/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 leaveLeaveType/GetActiveLeaveTypes, Report/GetLeaveBalanceDetails, Employee/GetEmployeeWithCode, Employee/GetAllApprovableEmployees, LeaveApplication/CreateOrUpdateLeaveApplicationServer does not check the balance.
S33 Leave balanceReport/GetLeaveBalanceDetailsCurrent year only (G3).
S34 Work from homeWorkFromHome/CreateOrUpdateWorkFromHome
S35 Request detailget by id (leave, WFH, punch), edit = CreateOrUpdate… with id, withdraw = delete (leave, WFH, punch)
S36 HolidaysHolidayApplication/GetAllHolidayApplications
S40 Approvals inboxLists with applicationStatus: 0 (see table)Punches/clarifications not listable (G4).
S41 Approval detailget by id + Update…Status (leave, WFH, punch)No remark (G1), no requester balance (G2).
S42 Team today—No API (G5).
S50 PayGetEmployeeSalaryandDeduction, GetEmployeeNewDashboardDetails, Payroll/GetMonthSalaryIsPaid, DocumentVault/GetActiveDocumentsVault
S51 PayslipReport/GetEmployeeMonthlySalaryOne month per call.
S60 ProfileEmployee/GetEmployee, CreateOrUpdateProfileImage, trainings, User/getUserCompanyAssets: Admin-only (G6).
S61 My detailsEmployee/GetEmployeeMask identifiers.
S62 Change passwordUser/ChangePassword
S63 Settings— (device)
S70 Notificationslist, mark read, mark all read"All" = two calls (G8).
S80 No internet · S81 Session expired—See Errors.
S82 Location permission— (device)
S83 Update requiredSetting/GetAllSettings (androidAppLink, iosAppLink)No minimum-version setting (G12).