Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Search for existing entity using GET query parameters:

MPI attribute

Pre-condition

Condition

POST data attribute

MPI.person.last_namealwaysequal$.last_name
MPI.person.first_namealwaysequal$.first_name
MPI.person.birth_datealwaysequal$.birth_date
MPI.person.tax_idoptional (if $.tax_id is not null)equal$.tax_id
MPI.person.second_nameoptional (if $.tax_id is not null)equal$.second_name
MPI.person.phones.number (type=MOBILE)optional (if $.phone_number is not null)equal$.phone_number
  • Return empty array if no data found
  • Return only requested params, birth_place, second_name and merged_ids if data found

...

Code Block
languagexml
titleResponse
collapsetrue
{
   "id":"b075f148-7f93-4fc2-b2ec-2d81b19a9b7b",
   "first_name":"Петро",
   "last_name":"Іванов",
   "second_name":"Миколайович",
   "birth_date":"1991-08-19T00:00:00.000Z",
   "birth_placecountry":"Україна",
   "birth_settlement":"Вінниця",
   "merged_ids":[
      {
         "id":"7bca069f-21e4-4546-90cf-b65e3f39d93d"
      }
   ]
}

...