Go to documentation repository
POST POST http://IP-addressAxxonPSIM_user_login:AxxonPSIM_user_password@IP address:port/firserver/UpdatePerson
Parameter | Required | Parameter description |
---|---|---|
server_id | Yes | ID of the Face recognition server |
in Face PSIM | ||
id | Yes | ID of the user |
in GUID |
format | ||
name | No | Name If not specified, the |
name isn't updated | ||
surname | No | Surname If not specified, the surname |
isn't updated | ||
patronymic | No | Patronymic If not specified, the |
patronymic isn't updated | ||
department | No | Department If not specified, the department |
isn't updated | ||
comment | No | Comment If not specified, the |
comment isn't updated | ||
additionalParams | No | Additional parameters of the Axxon PSIM user from the dbo.OBJ_PERSON table (see Base Axxon PSIM database tables) Note. Text parameter values |
must be enclosed in double quotes. Example: "additionalParams": "phone" : "0123456789" } If not specified, the additional parameters |
aren't updated. |
POST POST http://1271:1@127.0.0.1:10000/firserver/UpdatePerson
Code Block |
---|
{ "server_id" : "1", "id" : "FB94569E-86A6-EB11-BE5B-B06EBF811A3F", "name" :"John", "surname" : "Kramer", "patronymic" : "Kramer", "department" : "Department 2", "comment" : "Some comment", "additionalParams": { "visit_document": "F183825", "phone": "0123456789" } } |
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 if 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 |
Code Block |
---|
{ "Status": "SUCCESS", "Result": "FB94569E-86A6-EB11-BE5B-B06EBF811A3F", "Description": "" } |
Parameter | Parameter description |
---|---|
Status |
Status of the completed request |
: |
SUCCESS—successful, if |
error—see List of possible errors of the Face recognition server |
Result |
ID of the updated user in GUID format | |
Description | Request description |