General request format:
POST POST http://IP-addressAxxonPSIM_user_login:AxxonPSIM_user_password@IP address:port/firserver/DeletePersons
Request parameters:
| Parameter | Required | Parameter description |
|---|
| server_id | Yes | ID of the Face recognition server in Face PSIM |
| id | Yes |
Person ID in GUID formatID 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 |
|---|
| Allow | Returns the HTTP method used in request |
| Content-Length | Shows the size of characters in bytes , received in the request |
| Content-Type | Returns the type of received request |
| Server | Specifies the server from which the request comes |
| Access-Control-Request-Method | Returns the HTTP method that can be used in the request |
| Access-Control-Origin | Indicates Shows if the server response can be accessed by the code that sends the a request from this source can access the server response |
| Date | Shows the time of the request |
Response example:
| Code Block |
|---|
{
"Description": "",
"Result": "4c6ecb1d-2a37-e711-9e4b-9c5c8e763a8f",
"Status": "SUCCESS"
}
|
Response parameters:
| Parameter | Parameter description |
|---|
| Description | Request description |
| Result | The value of the id parameter in the request |
| Status |
Completed | Status of the completed request |
status SUCCESS - successful error - see