userid - user UUID
lastname, firstname, patronymic - user name
mail - user email
jid - user jabber id
code - user pointers' code prefix
access - points user access to system
hr-manager - is user hr manager?
admin - is user admin?
pointers-access - has user access to system pointers?
deleted - user delete stamp (if user is deleted), format yyyy-MM-dd hh:mm:ss
modified - last modified timestamp
positions - list of person positions. Every element contaings fields
positionID - position identifier
departmentID - department identifier
positionName - position name
departmentName - department name
Example:
{
"userid": "7cd4de7a-3b4d-4668-ab28-3d25c81dcf8f",
"lastname": "Фамилия",
"firstname": "Имя",
"patronymic": "Отчество",
"mail": "mail_address@company.com",
"jid": "jabber_address@company.com",
"code": "user_code",
"access": "true",
"hr-manager": "true",
"admin": "true",
"configurator": "true",
"pointers-access": "true",
"positions": [
{
"positionID" : "7da9dd3c-a7a1-4e3d-8b2b-5eb951aea621",
"departmentID" : "9bb6cd42-9ea1-4b8f-bfad-6f531fa2f552",
"positionName" : "Position name 1",
"departmentName" : "Department name 1"
},
{
"positionID" : "7da9dd3c-a7a1-4e3d-8b2b-5eb951aea627",
"departmentID" : "9bb6cd42-9ea1-4b8f-bfad-6f531fa2f557",
"positionName" : "Position name 2",
"departmentName" : "Department name 2"
}
] ,
"modified": "2013-12-05 13:38:53"
}
- Returns:
- return user's info as json object