/
ARCHIVE_Search for a person (DEPRECATED)
ЕСОЗ - публічна документація
ARCHIVE_Search for a person (DEPRECATED)
Validate request
- Validate mandatory query params
- first_name
- last_name
- birth_date
- Validate optional query params
- second_name
- tax_id
- birth_certificate
- phone_number
- Validate mandatory query params
Calculate age
age = MONTHS_BETWEEN (now(), $.birth_date) / 12
Search existing MPI entity
Search only active persons - MPI.persons.is_active=true
- if tax_id is not null and age>=14
- search fields: tax_id, birth_date
- additional fields: second_name, phone_number
- if tax_id is null and age>=14
- search fields: first_name, last_name, birth_date
- additional fields: tax_id, second_name, phone_number
- if age<14
- search fields: birth_certificate, birth_date
- additional fields: first_name, last_name, second_name
Return empty array if no data found
Return only requested params, id, first_name, second_name, last_name, birth_place and merged_ids if data found
For example:
, multiple selections available,
Related content
(GraphQL, NHS) Search for Person (v2)
(GraphQL, NHS) Search for Person (v2)
More like this
Person verification data model
Person verification data model
Read with this
ARCHIVE_Private.Search for a person
ARCHIVE_Private.Search for a person
More like this
(GraphQL, NHS) Get list of unverified Persons
(GraphQL, NHS) Get list of unverified Persons
Read with this
IL.Search for a Person
IL.Search for a Person
More like this
Зв'язування неідентифікованої персони із ідентифікованою персоною
Зв'язування неідентифікованої персони із ідентифікованою персоною
Read with this
ЕСОЗ - публічна документація