Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:sidebar:remoteapi:apiref:user:get_items_access [05/04/2016 14:41]
stan
en:sidebar:remoteapi:apiref:user:get_items_access [06/04/2020 10:51]
chdi [Parameters]
Line 15: Line 15:
 | directAccess | return only items to which the user has direct access rights | | directAccess | return only items to which the user has direct access rights |
 | itemSuperclass | item type (the list of all types see in the chapter [[../​core/​search_items|]]) | | itemSuperclass | item type (the list of all types see in the chapter [[../​core/​search_items|]]) |
-| flags | flags (return: 0x1 - combined access level, 0x2 - direct access level) |+| flags | flags (return: 0x1 - combined access level, 0x2 - direct access level), optional, default value = 1 |
 ===== Response ===== ===== Response =====
 <​code=javascript>​ <​code=javascript>​
Line 24: Line 24:
  "​dacl":<​long>​ /​* direct access level */  "​dacl":<​long>​ /​* direct access level */
  }  }
 +}
 +
 +/* "​directAccess":​1 there is received only combined access level */
 +
 +{
 +"<​text>":<​long>​ /* "​element ID":"​calc"​ */
 + 
 } }
 </​code>​ </​code>​
  
 Access rights are described in chapter [[../​core/​check_items_billing]]. Access rights are described in chapter [[../​core/​check_items_billing]].
 +
 +
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam