POST http://IP-address:port/firserver/ReadPersons
| Parameter | Required | Parameter description |
|---|---|---|
| server_id | Yes | ID of the Face Recognition Server in the Face-Intellect software package |
| id | No | Intellect user ID If not specified, the response will return information about all users |
| page | No | Number of results pages If not specified, then page = 1 |
pageSize | No | Results per page If not specified, then pageSize = 1, i.e. there will be 1 result on 1 page |
POST http://127.0.0.1:10000/firserver/ReadPersons
{
"server_id": "1",
"objectType": "PERSON",
"id": [
],
"page": 1,
"pageSize": 2
}
|
|
Users are listed in the response in order of time of their adding to the database (last added at first).
Using the identifier from PersonList.ImageId parameter, you can get the user's photo with a separate query. See Getting image by ID.
| Parameter | Parameter description |
|---|---|
| PersonList | List of users with information from the database of persons |
| id | User identifier from the face database |
| name | Name |
| surname | Surname |
| patronymic | Patronymic |
| department | Department |
| comment | Comment |
| timestamp | Time of adding a face to the base of reference faces in UTC+0 format |
| ImageId | Reference face image identifier from the face database |
| AutoCreated | true, if the unrecognized face was added automatically |
| LastRecognitionTimestamp | Time of the last pass in UTC+0 format |
| RecognitionCount | Number of passes |
| Total | Total users in the face database |
| Response | Response |
| Status | Completed request status: OK - successful, if error - see List of possible errors of the Face Recognition Server |