Versions Compared

Key

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

The request to delete one face from the reference face database

...

POST http://

...

IP-address:port/prefix/firserver/DeletePersons

Parameter

JSON parameters:

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

where

RequiredParameter description
server_idYes

ID

...

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

...

id

...

Yes

User ID in GUID format

...

Example of response:request:

POST http://localhost:10000/firserver/DeletePersons

Expand


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


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

The request for clearing the reference face database

POST http://127.0.0.1:10000/firserver/DeletePersons

JSON parameters:


Example answer:

Expand


Code Block
{
 "Description
Code Block
languagexml
{ "server_id
": "
1
",
 "
id
Result": 
[
"4c6ecb1d-2a37-e711-9e4b-9c5c8e763a8f",
 "Status": 
"
*all*
SUCCESS"
] }
}



ParameterParameter description
Description
Result
Status