Versions Compared

Key

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

General request format:

POST POST http://IP-addressAxxonPSIM_user_login:AxxonPSIM_user_password@IP address:port/firserver/DeletePersons

Request parameters:

ParameterRequiredParameter description
server_idYes

ID of the Face recognition server in Face PSIM

idYes
Person ID in GUID format

ID of the reference face from the face database in GUID format

* all *

- to remove

—to delete all faces from the reference faces database

Request example:

POST POST http://1271:1@127.0.0.1:10000/firserver/DeletePersons

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

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 Shows if the server response can be accessed by the code that sends the a 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
Status
Completed
Status of the completed request
status
:
SUCCESS - successful
SUCCESS—successful, if
error - see 
error—see List of possible errors of the Face recognition server