...
Check external_id is not empty.
In case of error - return 422 (external_id should not be empty)
Validate according to regexp -
^[0-9]{8,10}\\.[0-9]{8,10}\\.[0-9]{1,10}$
Generate preperson_id
...
...
Check external_id is not empty.
In case of error - return 422 (external_id should not be empty)
Validate according to regexp - ^[0-9]{8,10}\\.[0-9]{8,10}\\.[0-9]{1,10}$
...