Differences

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

Link to this comparison view

en:d-sdk:4_units:6_get_unit_info [2018/04/26 19:59]
support@geliossoft.ru
en:d-sdk:4_units:6_get_unit_info [2021/07/07 13:28]
Line 1: Line 1:
-====== Unit Info ====== 
-The request is intended to obtain information about the unit. 
  
-=== Request Example === 
-<code php>&​svc=get_unit_info&​params={ 
-    "​id_unit":​ integer 
-}</​code>​ 
- 
-=== Parameters === 
-^ Parameter ​  ^ Description ​  ^ 
-| id_unit | Unique Unit ID | 
- 
-=== Server Response === 
-== Result: == 
-<code php>{ 
-    "​id":​ 66780, // Unique Unit ID 
-    "​hw_id":​ "​12412421",​ // Hardware ID 
-    "​hw_type":​ "​32131241",​ // Hardware Type 
-    "​removed":​ 0, // Unit status (in recycle = 1, out of recycle = 0) 
-    "​is_free":​ 0, // Unit status (pain = 0, free = 1) 
-    "​creator":​ 24237, // Unit creator 
-    "​name":​ "​TestSDK",​ // Unit name 
-    ... 
-}</​code>​