POST http://IP-address:port/firserver/UpdatePerson
| Parameter | Required | Parameter description |
|---|---|---|
| server_id | Yes | ID of Face Recognition Server in the face-Intellect software package |
| id | Yes | ID of the user in GUID format |
| name | No | Name If not specified, the name will not be updated |
| surname | No | Surname If not specified, the surname will not be updated |
| patronymic | No | Patronymic If not specified, the patronymic will not be updated |
| department | No | Department If not specified, the department will not be updated |
| comment | No | Comment If not specified, the comment will not be updated |
POST http://127.0.0.1:10000/firserver/UpdatePerson
{
"server_id" : "1",
"id" : "FB94569E-86A6-EB11-BE5B-B06EBF811A3F",
"name" :"John",
"surname" : "Kramer",
"patronymic" : "Kramer",
"department" : "Department 2",
"comment" : "Some comment",
} |
{
"Status": "SUCCESS",
"Result": "FB94569E-86A6-EB11-BE5B-B06EBF811A3F",
"Description": ""
} |
| Parameter | Parameter description |
|---|---|
| Status | Completed request status: SUCCESS - successful, if error - see List of possible errors of the Face Recognition Server |
| Result | Added user ID in GUID format |
| Description | Request description |