Versions Compared

Key

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

General request format:

POST http://IP-address:port/prefix/firserver/DeletePersons

Request parameters:

ParameterRequiredParameter description
server_idYes

ID of the Face Recognition Server in the Face - Intellect software package (see the Configuring the Face Recognition Server object)

idYes

User ID Person ID in GUID format

...

* all * - to remove all faces from the reference faces database

Request example:

POST http://localhost127.0.0.1:10000/firserver/DeletePersons

...

Code Block
{
 "server_id": "1",
 "id": [
 "4c6ecb1d-2a37-e711-9e4b-9c5c8e763a8f"
 ]
}


Code Block
{
 "server_id": "2",
 "id": [
 "*all*"
 ]
}

Example answer:

...

Request headlines:

Headline Headline description
AllowReturns the HTTP method used in request
Content-LengthShows the size of characters in bytes, received in the request
Content-TypeReturns the type of received request
ServerSpecifies the server from which the request comes
Access-Control-Request-MethodReturns the HTTP method that can be used in the request
Access-Control-OriginIndicates if the code that sends the request from this source can access the server response
DateShows the time of the request

Response example:

Code Block
{
 "Description": "",
 "Result": "4c6ecb1d-2a37-e711-9e4b-9c5c8e763a8f",
 "Status": "SUCCESS"
}

Response parameters:

ParameterParameter description
DescriptionRequest description
ResultThe value of the id parameter in the request
StatusCompleted request status: SUCCESS - successful, if error - see List of possible errors of the Face Recognition Server