Page History
...
POST http://
...
IP-address:port/prefix/firserver/CreatePerson
...
| Parameter |
|---|
JSON parameters:
| Code Block |
|---|
{
"server_id" : "1",
"objectType" : "PERSON",
"id" : "7BC06491-C30D-450F-BF45-F9F5D680A501",
"name" :"John",
"surname" : "Kramer",
"patronymic" : "",
"department" : "Department 1",
"comment" : "Some comment",
"createPersonInIntellect": 1,
"image": ""
"fir": ""
} |
where
| 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 | |
| id |
...
| No | identifier 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 | |
| surname | Yes | |
| patronymic | No | |
| department | Yes | |
| comment | No | |
createPersonInIntellect | No |
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 |
...
| If the "fir" parameter contains a template, then the face will be added to the database without any checking (face search, face vector generation); in addition, there should be an "image" parameter. |
Example of response:request:
POST http://localhost:10000/firserver/CreatePerson
| Expand | ||
|---|---|---|
|
Sample answer:
| Expand | ||
|---|---|---|
|
where
...
| Parameter | Parameter description |
|---|---|
| Status | |
| Result | |
| Description |
Overview
Content Tools
