Class ResidentServiceController


  • @SpringBootApplication
    @RestController
    public class ResidentServiceController
    extends Object
    • Constructor Detail

      • ResidentServiceController

        public ResidentServiceController()
    • Method Detail

      • otpRequest

        @PostMapping("/req/otp")
        public org.springframework.http.ResponseEntity<Object> otpRequest​(@RequestBody
                                                                          AppOTPRequestDTO requestDTO)
                                                                   throws Exception
        Request a new OTP for OTP required API.
        Parameters:
        requestDTO -
        Returns:
        Throws:
        Exception
      • vidGenerate

        @PostMapping("/vid")
        public org.springframework.http.ResponseEntity<Object> vidGenerate​(@RequestBody
                                                                           AppVIDGenerateRequestDTO requestDTO)
                                                                    throws Exception
        Generate a new VID number using an UIN number.
        Parameters:
        requestDTO -
        Returns:
        Throws:
        Exception
      • authLock

        @PostMapping("/req/auth/lock")
        public org.springframework.http.ResponseEntity<Object> authLock​(@RequestBody
                                                                        AuthLockRequestDTO requestDTO)
                                                                 throws Exception
        Request auth lock
        Parameters:
        requestDTO -
        Returns:
        Throws:
        Exception
      • authUnlock

        @PostMapping("/req/auth/unlock")
        public org.springframework.http.ResponseEntity<Object> authUnlock​(@RequestBody
                                                                          AuthUnlockRequestDTO requestDTO)
                                                                   throws Exception
        Request auth unlock
        Parameters:
        requestDTO -
        Returns:
        Throws:
        Exception