Versions Compared

Key

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

...

Global and configurable parameters

Variable

Values

Description

phone_number_auth_limit

Check if in table person_authentication_methods  with ended_atis empty or > now() & type = OTP > N, then error 422, such a phone already exists more N times

third_person_limit

In table person_auth_methods with type = THIRD_PERSON > N, then error 422 This fiduciary person is present more than N times in the system

third_person_term

parameter is used for calculation of ended_at data for authentication method type = THIRD_PERSON

person_with_third_person_limit

In table person_auth_methods with type = THIRD_PERSON >N, then error 422 Limit of authentication methods with THIRD_PERSON type is exhausted

no_self_auth_age

In table person now()-birth_date <=N & person_auth_methods with type = OTP OR OFFLINE, then error 422 Such person cannot have self authentication method

cURL example

Expand
titleRequest example
Code Block
curl -X GET \
  {:host}/prm/api/global_parameters

Input parameters

Input parameter

Values

Type

Description

Example

id

String

Person identifier.

Required

b075f148-7f93-4fc2-b2ec-2d81b19a9b7b

Dictionaries

  • AUTHENTICATION_METHOD

  • DOCUMENT_TYPE

...

Change status of all found person requests:

Code Block
SET   IL_DB.authentication_method_requests.status = 'CANCELED'
WHERE IL_DB.authentication_method_requests.id IN (:LIST)

Validate by actions

if action = deactivate

...