Skip to main content

Coverage

How this documentation accounts for the API. npm run coverage fails the build when a page references an endpoint that does not exist, and lists any endpoint of an in-scope controller that is neither documented nor excluded with a reason.

Endpoints in the API504
Endpoints of the 38 controllers the app uses249
Documented for the app123
Not for the app (reason below)126
Unaccounted0

Endpoints not used by the app​

Admin dashboard (company-wide daily figures): web only

  • GET AdminDashboard/getDailyAttendance
  • GET AdminDashboard/getDailyLateEarly
  • GET AdminDashboard/getDailyLeaveApplication
  • GET AdminDashboard/getDailyPresentAbsent
  • GET AdminDashboard/getDailyPresentAbsentLocationWise
  • GET AdminDashboard/getMonthlyLateEarly
  • GET AdminDashboard/getUpCommingIncrement

Admin-only (CanAccessFilter Admin) back-office feature: web only

  • POST AssetManagement/CreateOrUpdateAssignedAsset (Admin only)
  • DELETE AssetManagement/DeleteAssignedAssetById/{id} (Admin only)
  • GET AssetManagement/GetAllAssignedAssets (Admin only)
  • POST DocumentVault/CreateOrUpdateDocumentsVault (Admin only)
  • GET DocumentVault/DeleteDocumentsVaultById/{id} (Admin only)
  • GET DocumentVault/GetAllCompaniesActiveDocumentsVault (Admin only)
  • GET DocumentVault/GetAllDocumentsVault (Admin only)
  • GET DocumentVault/GetDocumentsVaultById/{id} (Admin only)
  • POST EmployeeTraining/CreateOrUpdateEmployeeTraining (Admin only)
  • DELETE EmployeeTraining/DeleteEmployeeTrainingById/{id} (Admin only)
  • GET EmployeeTraining/GetAllEmployeesTraining (Admin only)
  • GET EmployeeTraining/GetEmployeeTrainingById/{id} (Admin only)
  • POST EmployeeTraining/TrainingNotification/{id} (Admin only)
  • POST Setting/CreateOrUpdateSetting (Admin only)
  • DELETE Setting/DeleteSettingById/{id} (Admin only)
  • GET Setting/GetSettingById/{id} (Admin only)
  • GET Setting/GetSettingByTenantId/{id} (Admin only)

Called by schedulers/background jobs or by the web to send notifications, not by app users

  • GET ClockInOut/AutoClockOut
  • GET ClockInOut/SendMissingThumbOutEmail
  • POST HolidayApplication/Notify
  • POST Instruction/InstructionNotify
  • GET Payroll/Notify
  • POST Setting/CreateServiceCallRequest

Not used by the app: clock in/out goes through ThumbApplication/CreateOrUpdateThumbApplication with thumbSource MobileQuick (decision D2)

  • GET ClockInOut/CreateClockInOrOutEntry/{thumbType}

Part of the disabled QR-attendance flow (device lock); not used

  • GET ClockInOut/ResetDefaultDevice

Enum lists for admin screens (payroll, check lists, email templates, devices, responsibilities)

  • GET CommonEnumValues/GetAllAllowanceCalculationType
  • GET CommonEnumValues/GetAllBenefitType
  • GET CommonEnumValues/GetAllCheckListProcessType
  • GET CommonEnumValues/GetAllDeviceType
  • GET CommonEnumValues/GetAllEmailTemplateShortCode
  • GET CommonEnumValues/GetAllLeaderType
  • GET CommonEnumValues/GetAllResponsibilityType
  • GET CommonEnumValues/GetAllSalaryStructureType
  • GET CommonEnumValues/GetSalaryStructureDetailType

Master-data setup (create, edit, delete, admin lists): admin web only (plan 2.9)

  • POST Company/CreateOrUpdateCompany
  • DELETE Company/DeleteCompany/{id}
  • GET Company/GetAllCompanies
  • POST Compensation/CreateOrUpdateCompensation
  • DELETE Compensation/DeleteCompensation/{id}
  • GET Compensation/GetAllCompensation
  • POST Education/CreateOrUpdateEducation
  • GET Education/DeleteEducationById/{id}
  • GET Education/GetAllCompaniesActiveEducations
  • GET Education/GetAllEducations
  • POST EmployeeShift/CreateOrUpdateEmployeeShift
  • DELETE EmployeeShift/DeleteEmployeeShift/{id}
  • POST EmployeeShift/GetAllEmployeeShift
  • POST HolidayApplication/CreateOrUpdateHolidayApplication
  • DELETE HolidayApplication/DeleteHolidayApplication/{id}
  • POST HolidayName/CreateOrUpdateHolidayName
  • DELETE HolidayName/DeleteHolidayName/{id}
  • GET HolidayName/GetAllHolidayNames
  • POST Instruction/CreateInstruction
  • DELETE Instruction/DeleteInstruction/{id}
  • GET Instruction/GetAllInstructionType
  • POST LeaveType/CreateOrUpdateLeaveType
  • DELETE LeaveType/DeleteLeaveType/{id}
  • GET LeaveType/GetAllLeaveTypes
  • POST Location/CreateOrUpdateLocation
  • DELETE Location/DeleteLocation/{id}
  • GET Location/GetAllLocation
  • POST Project/CreateOrUpdateProject
  • GET Project/DeleteProjectById/{id}
  • GET Project/GetAllProjects

Admin get-by-id for master data: the app receives these values inside other responses

  • GET Company/GetCompany/{id}
  • GET Compensation/GetCompensation/{id}
  • GET Education/GetEducationById/{id}
  • GET HolidayApplication/GetHolidayApplication/{id}
  • GET HolidayName/GetHolidayName/{id}
  • GET LeaveType/GetLeaveType/{id}
  • GET Location/GetLocationId/{id}
  • GET Project/GetProjectById/{id}

Employee administration (create, edit, salary, increments, lists of all employees): web only

  • POST Employee/CreateOrUpdateEmployee
  • DELETE Employee/DeleteEmployee/{id}
  • POST Employee/EmployeeLatLongUpdates
  • GET Employee/GetActiveEmployees
  • POST Employee/GetAllEmployeeIncrementList
  • POST Employee/GetAllEmployees
  • GET Employee/GetAllHireAndResignedEmployeeDetails
  • GET Employee/GetAllLeaders
  • GET Employee/GetAllPermanentEmployees
  • POST Employee/GetEmployeeAllowanceDetails
  • GET Employee/GetEmployeeDirector
  • GET Employee/GetInActiveEmployees
  • GET Employee/GetNextEmployeeCode
  • POST Employee/UpdateEmployeeInfo
  • POST Employee/UpdateEmployeeSalaryIncrement

Payroll processing and salary admin: web only (plan 2.9)

  • POST InvestmentSchema/CreateOrUpdateInvestmentSchema
  • DELETE InvestmentSchema/DeleteInvestmentSchema/{id}
  • POST InvestmentSchema/GetAllInvestmentSchema
  • GET InvestmentSchema/GetAllUnderSection/{id}
  • GET InvestmentSchema/GetInvestmentSchemaByFinancialYear/{financialYear}
  • GET InvestmentSchema/GetInvestmentSchemaById/{id}
  • GET InvestmentSchema/GetInvestmentSchemaBySectionId/{id}
  • POST Payroll/CalculateSalary
  • DELETE Payroll/DeleteMonthlySalary
  • POST Payroll/UpdateSalaryPaidForAllEmployee
  • POST Report/CalculateEmployeeFinalAttendance
  • POST Report/CalculateEmployeeLeaveBalance
  • POST Report/GetMonthSalaryBankFormat
  • POST Report/GetSalaryIncrementDeatils
  • POST Report/GetSalarySummaryReport

Company-wide or back-office reports: the app uses the endpoints documented in its own sections

  • POST Report/GetClarificationDetails
  • POST Report/GetDailyTravellingAllowanceDetails
  • POST Report/GetFuelAllowanceDetails

Older variant: the web and the app use Report/GetEmployeeAttendanceReportDetails instead

  • POST Report/GetEmployeeAttendanceDetails

Web-only account management (reset link by email, impersonation, user administration, change username)

  • POST User/CreateUser
  • DELETE User/DeleteUser/{id}
  • POST User/GetAllUsers
  • GET User/GetUser/{id}
  • GET User/IsUserRegistered/{userName}
  • GET User/IsVerificationCodeValid/{verificationCode}
  • POST User/LoginAsUserAuthentication
  • GET User/ResetDefaultPassword/{id}
  • POST User/ResetPassword
  • POST User/SendResetPasswordRequest
  • POST User/UpdateUser
  • POST User/UpdateUserName
  • POST User/ValidateUserName

Controllers in scope​

User, EmployeeDashboard, AdminDashboard, ClockInOut, ThumbApplication, Location, Project, Company, Report, EmployeeShift, LeaveApplication, LeaveType, HolidayName, HolidayApplication, WorkFromHome, OverTimeApplication, Clarification, FuelAllowanceApplication, CompensationApplication, Compensation, ExtraPayApplication, ResignApplication, Payroll, DocumentVault, InvestmentDetail, InvestmentSchema, FinancialYear, Employee, AssetManagement, EmployeeTraining, EmployeeRelation, Education, Notification, Instruction, Request, Reminder, Setting, CommonEnumValues

Controllers not listed (masters, payroll processing, recruitment, assets master, expenses, email setup, BioTime, …) are back-office features that stay on the web (plan section 2.9).