POST http://localhost:10000/firserver/CreatePerson
JSON parameters:
{ "server_id" : "1", "objectType" : "PERSON", "id" : "7BC06491-C30D-450F-BF45-F9F5D680A501", "name" :"John", "surname" : "Kramer", "patronymic" : "Kramer", "department" : "Department 1", "comment" : "Some comment", "createPersonInIntellect": 1, "image": "" } |
where
id - unique numeric user ID in GUID format. If the ID is not specified, then it will be automatically generated for the newly added user and returned in the response;
image - JPEG image in the base64 format.
Example of response:
{ "Description": "", "Result": "7BC06491-C30D-450F-BF45-F9F5D680A501", "Status": "SUCCESS" } |
where