Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

POST http://IP-address:port/firserver/ReadPersons

Request parameters:

ParameterRequiredParameter description
server_idYes

ID of the Face Recognition Server in the Face-Intellect software package

idNo

Intellect user ID

If not specified, the response will return information about all users

pageNo

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://127.0.0.1:10000/firserver/ReadPersons

...

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:

ParameterParameter description
PersonListList of users with information from the database of persons
id
Reference face image
User identifier from the face database
nameName
surnameSurname
patronymicPatronymic
departmentDepartment
commentComment
timestampTime of adding a face to the base of reference faces in UTC format
ImageIdReference face image identifier from the face database
TotalTotal users in the face database
ResponseResponse
StatusCompleted request status: OK - successful