Versions Compared

Key

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

...

Query paramSource

first_name

$.declaration_request.person.first_name

last_name

$.declaration_request.person.last_name
second_name$.declaration_request.person.second_name
birth_date$.declaration_request.person.birth_date
tax_id$.declaration_request.person.tax_id
phone_number$.declaration_request.person.phones.number
birth_certificate$.declaration_request.person.documents
  • if declaration_request has tax_id
    • search using tax_id + birth_date
  • if declaration_request doesn't have tax_id
    • search using first_name+last_name+birth_date
  • if patient age in declaration_request < 18
    • search using birth_certificate+birth_date


Code Block
languagexml
titleSample request
curl -k -L '{:host}/api/persons?first_name=Олена&last_name=Пчілка&birth_date=1991-08-19&tax_id=3126509816&phone_number=%2B380508887700&birth_certificate=FG456789'


Determine default auth method for new MPI

...