User related messages
Get my information
Please check User information response
Get user's information
Please check User information response
Information update
Update user information. Current implementation only allow to update own informations. Later on the system will have a support to update another user's informations. That is partially implemented but requires more changes and controls.
Field name | Type | Nullable | Description |
---|---|---|---|
type |
string | N | Value must be UpdateUser |
name |
string | Y | |
email |
string | Y | |
password |
string | Y | |
device_id |
string | Y | |
custom_id |
string | Y | |
user_type |
UserType | Y | |
metas |
[Meta] | Y | Array of Meta information. This is user based information and have access level to whom see that information. |
meta_action |
MetaAction | Y | Default value is 0 |
Example request:
Please check User information response
User information response
Field name | Type | Nullable | Description |
---|---|---|---|
status |
boolean | N | Value should be true |
type |
string | N | Value should be UserInfo |
id |
string | N | User's unique id |
name |
string | Y | User's name |
email |
string | Y | |
device_id |
string | Y | Device id |
custom_id |
string | Y | Custom id |
meta |
UserMeta | Y | Meta object |
user_type |
UserType | N | User's type information |
online |
boolean | N | |
insert_date |
number | N | |
last_login_date |
number | N |
Example response: