Versions Compared

Key

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

...

Check person’s certificate – invoke RPC call with third-party GetCertByNumRoleNames service using the following request params:

...

If marriage certs were requested (ByParam = 4), save each cert from formed list to dracs_marriage_certs table in transaction according to fields matching:

...

If divorce certs were requested (ByParam = 5), save each cert from formed list to dracs_divorce_certs table in transaction according to fields matching:

...

  • Update person_verifications table in MPI db for person_id, set values:

    • legal_capacity_verification_status = VERIFIED

    • legal_capacity_verification_reason = AUTO_ONLINE

    • legal_capacity_entity_id = dracs_marriage_certs.id or dracs_divorce_certs.id

    • legal_capacity_entity_type = ‘dracs_marriage_cert’ or ‘dracs_divorce_cert’

    • legal_capacity_unverified_at = null

  • Deactivate all existing confidant person relationships for person_id:

...