Versions Compared

Key

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

...

POST http://IP-address:port/firserver/UpdatePerson

Request parameters:

ParameterRequiredParameter description
server_idYes

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

idYes

ID of the user in GUID format

nameNo

Name

If not specified, the

person will be added without a name

name will not be updated

surname
Yes
No

Surname

If not specified, the surname will not be updated

patronymicNo

Patronymic

If not specified, the

person will be added without a patronymic

patronymic will not be updated

department
Yes
No

Department

If not specified, the department will not be updated

commentNo

Comment

If not specified, the

person will be added without a comment

comment will not be updated

Request example:

POST http://127.0.0.1:10000/firserver/UpdatePerson

...

Code Block
{
    "Status": "SUCCESS",
    "Result": "FB94569E-86A6-EB11-BE5B-B06EBF811A3F",
    "Description": ""
}

Response parameters:

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