Page History
General request format:
POST http://IP-address:port/prefix/firserver/CreatePerson
Request parameters:
| Parameter | Required | Parameter description |
|---|---|---|
| server_id | Yes | ID of Face Recognition Server in the face-Intellect software package (see the Configuring the Face Recognition Server object) |
| objectType | No | Object type |
| id | No | identifier 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; |
| name | No | Name If not specified, the person will be added without a name |
| surname | Yes | Surname |
| patronymic | No | Patronymic If not specified, the person will be added without a patronymic |
| department | Yes | Department |
| comment | No | Comment If not specified, the person will be added without a comment |
createPersonInIntellect | No | this This parameter defines whether to create a person on behalf of the Intellect operator or not; |
| image | Yes | JPEG image in the base64 format. |
| fir | No | Face pattern (vector) If the "fir" parameter contains a template, thenspecified, the face will be added to the database without any checkingverification (face search, face vector generation) ; in addition, there should be an "image" parameter. |
...
Request example:
POST http://localhost:10000/firserver/CreatePerson
| Expand | ||
|---|---|---|
|
...
Response example:
| Expand | ||
|---|---|---|
|
Response parameters:
| Parameter | Parameter description |
|---|---|
| Status | Completed request status: SUCCESS - successful |
| Result | Added user ID in GUID format |
| Description | Request Description |
