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.
For example, Person 3 was merged with Person 2(master). Then Person 2 was merged with Person 1(master). So then get Person 1 by id, response shows information about Person 2 and Person 3
Specification
Logic
API Paragraph not found
Input parameters
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
id | String |
|
Request structure
See on Apiary
Authorize
Verify the validity of access token
Check user scope person:read in order to perform this action
Headers
Content-Type:application/json
Authorization:Bearer c2778f3064753ea70de870a53795f5c9
api-key:uXhEczJ56adsfh3Ri9SUkc4en
Request data validation
Validate request
Validateperson_id
in request:
search person by person.id in MPI
in case error return 200 with empty array
Processing
Search persons in mpi.merged_pairs, where master_person_id = $.person_id. Then take all merge_person_id and search pairs by this ids as master_person_id.
Search until all persons are found from the merge chain.
Response structure
See on Apiary
Example:
Post-processing processes
API Paragraph not found