...
Select inserted_at from il.person_requests of this preperson merge request
Compare user_id with inserted_at.
If not match - return 422 error (User created preperson merge request does’nt match with current)
Update object in DB
mpi.person_requeststable
Parameter | Source | Description |
status | Request: status | Status of the request, required. Set REJECTED |
updated_by | uuid | Extract user from token |
updated_at | timestamp | Get current date-time |