Versions Compared

Key

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

...

ParameterRequiredParameter description
server_idYes

ID of Face Recognition Server in the Face - Intellect software package

objectTypeNoObject type
idNo

ID of the user in GUID format

If the ID is not specified, then it will be automatically generated for the newly added user and returned in the response;

nameNo

Name

If not specified, the person will be added without a name

surnameYes

Surname

patronymicNo

Patronymic

If not specified, the person will be added without a patronymic

departmentYesDepartment
commentNo

Comment

If not specified, the person will be added without a comment

createPersonInIntellect

No

The flag for creating a user in Intellect. If the parameter is equal to 1, the user will be created in Intellect on behalf of the Intellect operator

If not specified, the Intellect user will not be created

imageYesJPEG image in the base64 format
firNo

Face pattern (vector)

If specified, the face will be added to the database without any verification (face search, face vector generation)

additionalParams

No

If createPersonInIntellect = 1, you can specify the Intellect user parameters from dbo.OBJ_PERSON table (see Base Intellect database tables)

Note. Parameter text values must be enclosed in double quotes

For example:

"additionalParams":
{
"auto_number" : "A123AA77",

"pin" : 33,

}

...

ParameterParameter description
StatusCompleted request status: SUCCESS - successful, if error - see  see List of possible errors of the Face Recognition Server
ResultAdded user ID in GUID format
DescriptionRequest description

...