Page History
General request format:
POST http://IP-address:port/firserver/ReadPersons
Request parameters:
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 |
Request example:
POST http://localhost:10000/firserver/ReadPersonsJSON parameters:
Expand | ||
---|---|---|
|
where
- server_id - ID of the Face Recognition Server in the Face-Intellect software package (see the Configuring the Face Recognition Server object)
- id - if empty, the response will return all users' info with paging
- page, pageSize - paging parameters.
Example of response:
Response example:
Expand | |||
---|---|---|---|
|
...
- PersonList.ImageId - image ID
...
title | Note |
---|
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.
Response parameters:
Parameter | Parameter description |
---|---|
PersonList | List of users with information from the database of persons |
id | Reference face image 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 format |
ImageId | Reference face image identifier from the face database |
Total | Total users in the face database |
Response | Response |
Status | Completed request status: OK - successful |
Overview
Content Tools