Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attendance Module & API Improvements. #625

Open
dasunhegoda opened this issue Oct 11, 2024 · 0 comments
Open

Attendance Module & API Improvements. #625

dasunhegoda opened this issue Oct 11, 2024 · 0 comments

Comments

@dasunhegoda
Copy link
Contributor

dasunhegoda commented Oct 11, 2024

The proposed improvements as follows

attendance_type & attendance_location

  • The attendance_type & attendance_location fields should be an integer value.
  • The values for attendance_type & attendance_location should be fetched dynamically from an API when it's used.
  • The attendance_type & attendance_location dropdown should be populated with these fetched values, and user input should be restricted to prevent manual typing to avoid errors.
  • We need to determine if attendance_location should be a sub-type of attendance_type based on specific use cases.

submitted_by

  • Update the submitted_by field to store the user_id or another parameter to identify the user submitting the attendance.
  • Add a new parameter submission_source to identify which application is being used to submit the attendance, such as self-reg, OCR, etc.

Timestamp for submission_date

  • The submitted_date field should be stored as a timestamp with hours, minutes, and seconds for better precision.

Data audit logging in attendance module

  • All values retrieved from the attendance server for program management purposes within the SP-MIS must be stored in the attendance module to ensure traceability.

Options for retrieving data from the attendance server

  • Option 1: When new data becomes available on the attendance server, a webhook will automatically trigger and push the relevant data to the SP-MIS in real-time.
  • Option 2: Configure the SP-MIS to periodically poll the attendance server and pull any new or updated data at regular intervals.
  • Should the data pushed from the attendance server to SP-MIS be archived upon receipt? If so, what is the retention period for storing this data
  • We need to decide which approach we should take here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant