This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:sidebar:remoteapi:apiref:user:get_items_access [06/04/2020 10:47] chdi [Response] |
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 25: | Line 25: | ||
} | } | ||
} | } | ||
- | </code> | ||
- | |||
- | Access rights are described in chapter [[../core/check_items_billing]]. | ||
/* "directAccess":1 there is received only combined access level */ | /* "directAccess":1 there is received only combined access level */ | ||
- | + | ||
{ | { | ||
"<text>":<long> /* "element ID":"calc" */ | "<text>":<long> /* "element ID":"calc" */ | ||
} | } | ||
+ | </code> | ||
+ | |||
+ | Access rights are described in chapter [[../core/check_items_billing]]. | ||
+ | |||
+ |
|