Versions Compared

Key

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

POST http://localhost:10000/firserver/CreateObjectCreatePerson

JSON parameters:

Code Block
{
 "server_id" : "1",
 "objectType" : "PERSON",
 "id" : "7BC06491-C30D-450F-BF45-F9F5D680A5011",
 "name" :"John",
 "surname" : "Kramer",
 "patronymic" : "Kramer",
 "department" : "Department 1",
 "comment" : "Some comment",
 "createPersonInIntellect": 1,
 "image" : "base64 picture"
}

where

  • server_id - ID of Face Recognition Server in the face-Intellect software package (see the Configuring the Face Recognition Server object).;
  • id -

    optional unique ID of user.

     natural numeric user ID. If the ID is not specified, then it will be automatically generated for the newly added user and returned in the response;

  • createPersonInIntellect - this parameter defines whether to create a person on behalf of the Intellect operator or not;
  • image - jpg JPEG image in the base64 format.

...

Code Block
{
 "Description": "",
 "Result": "7BC06491-C30D-450F-BF45-F9F5D680A501",
 "Status": "OKSUCCESS"
}

where

  • result is the numeric unique identifier of the added user in GUID format.