Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:d-sdk:2_users:3_user_info [2018/04/23 17:37]
info@geliossoft.ru
en:d-sdk:2_users:3_user_info [2021/07/07 13:28]
Line 1: Line 1:
-====== User's info ====== 
-Request provides possibility to receive information about user. 
  
-=== Request example === 
-<code php>&​svc=get_user_info&​params={ 
-    "​id":​integer 
-}</​code>​ 
- 
-=== Parameters === 
-^ Parameter ​  ^ Description ​  ^ 
-| id | Unique Id of user | 
- 
-=== Additional information === 
-Provides full information about user. 
- 
-=== Server'​s response === 
-== User's info == 
-<code php>​{ ​ 
-    "​id":​24279,​ // ID 
-    "​creator":​24237,​ // ID of the creator 
-    "​login":"​newtestUser",​ // login  
-    "​is_admin":​0,​ // 0 - user has no admin access; 1 - user has admin access 
-    "​address_base":"​Google",​ // Address base settings. **Warning!** This setting is available only on Gelios Server. 
-    "​time_zone":​10800,​ // Timezone offset in secconds 
-    "​mail":"",​ // Email 
-    "​phone":"",​ // Phone number ​ 
-    "​account":"​0",​ // Balance 
-    "​cost_unit":​null,​ // Unit cost 
-    "​is_block":​0,​ // User's status: 0 - not blocked, 1 - blocked 
-    "​cost_day":​null,​ // Limit for "Write off days" type 
-    "​cost_mode":"",​ // Method of payment 
-    "​days":​null,​ // Amount of days on balance 
-    "​winter_time":​0,​ // Daylight saving time 
-    "​legal_name":"",​ // Name of the legal entity 
-    "​location":"",​ // Address 
-    "​lat_lon":"",​ // Default map center coordinates 
-    "​currency":"",​ // Currency 
-    "​date_create":​1516010338,​ // Date of creation 
-    "​date_block":​null,​ // Blocking date 
-    "​last_login":​null,​ // Last authorization date 
-    "​services":​[],​ // List of active services 
-    "​photo":​{"​big":"","​small":""​} 
-}</​code>​