Skip to content

The command line version of MOSIP's pre-registration website.

Notifications You must be signed in to change notification settings

darshveer/mosip_pre-reg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mosip_pre-reg

The command line version of MOSIP's pre-registration website.

How to run

METHOD 1:

Clone the repository to any location on your PC an double-click the mosip_pre-reg-run.bat file.

METHOD 2:

  1. Open the location of the cloned repository on PC in terminal.
  2. On the terminal type cd "mosip_pre-reg/target".
  3. On the terminal type java -jar mosip_pre-reg-1.0.jar.

APIs used

General

  1. config.json - Get website url.
  2. config - Get website configuration.
  3. eng.json - Get english text.

Login

  1. sendOtpWithCaptcha - Post login request using captcha.
  2. validateOtp - Post OTP from captcha and validate to authenticate user login.

Open Applications

  1. applications - Get a list of all open applications for the given user.

New Application

Demographic Details

  1. consent - Get consent text.
  2. formPage0 - Get details of first page of form.
  3. formPage1 - Get details of second page of form.
  4. eng (Regions) - Get a list of all available regions.
  5. eng (Provinces) - Get a list of all available provinces within a given region.
  6. eng (Cities) - Get a list of all available cities within a given province.
  7. eng (Zones) - Get a list of all available zones within a given city.
  8. eng (Postal Codes) - Get a list of all available postal codes within a given zone.

Upload Document

  1. {applicationId} (Details) - Get, Post, Push, Delete details of the given application ID.
  2. {applicationId} (Documents) - Get, Post, Push, Delete documents uploaded to given application ID.
  3. getApplicantType - Post using application details to determine applicant type.
  4. languages - Get the different forms of identity proof applicable to the applicant type.

Book Appointment

  1. eng (Region Info) - Get info on given region.
  2. eng (Province Info) - Get info on given province.
  3. eng (City Info) - Get info on given city.
  4. eng (Zone Info) - Get info on given zone.
  5. eng (Postal Code Info) - Get info on given postal code.
  6. eng (Location Info) - Get all location masterdata.
  7. names - Gets a list of all available centers in a given postal code.
  8. eng (Working Days) - Gets all the working days for a given registration center ID.
  9. eng (Registration Center) - Get all details of a given registration center ID.
  10. {regCenterId} - Get all available dates and time slots for a given registration center ID.
  11. appointment - Post and finalise the appointment.

Confirmation

  1. {applicationId} (Appointment Details) - Get appointment details of a given application ID.
  2. generate - Post and generate a QR code for the given appointment and application.
  3. Onscreen-Acknowledgement - Get a pdf of the given appointment and application to use during the physical process.
  4. notify - Post a notification to a given email id and/or phone number.

About

The command line version of MOSIP's pre-registration website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages