ЕСОЗ - публічна документація
RC_Search Person's merged persons (DMS)
Purpose
This method allows to find all persons, which were merged with this person. Also this endpoint shows all the persons who enter the whole chain of merges to this person.
Specification
Authorization
Verify the validity of access token
Return (401, 'Invalid access token') in case of validation fails
Verify that token is not expired
in case of error - return (401, 'Invalid access token')
Check user scopes in order to perform this action (scope = 'person:read')
Return (403, 'Your scope does not allow to access this resource. Missing allowances: person:read') in case of invalid scope(s)
Service logic
Validate request
Search existing records in MPI.merged_pairs table
Render parameters:
id
inserted_at
person_id (as
merge_person_id
in response)master_person_id (as
person_id
in response)updated_at
Filter by status if “status” param present
Return empty array if no data found.
ЕСОЗ - публічна документація