Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Delete personal data from person requests: person_data, authentication_method_current,mpi_id,printout_form, documents, tax_id, first_name, last_name, birth_date, person_documents.

  2. Update status for all records to EXPIRED:

  • status = 'EXPIRED'

  • updated_at = now()

  • updated_by = SYSTEM_USER

On get api/person_requests/{{person_request_id}} if person_requst.statsu - expired, then error - not_found

Autocleaning person request

...

  1. Delete personal data from person requests: person_data, authentication_method_current, mpi_id, printout_form, documents, tax_id, first_name, last_name, birth_date, person_documents.

  2. update declarationperson_requests

  • updated_by = SYSTEM_USER

  • updated_at = timestamp

...