Items access rights check

To check current user access rights on items, use the command core/check_items_billing:


While processing a request, available services and access rights on items are checked. For example, a user has a right to create POIs in some resource, however, according to service's cost table, the limit of allowed POIs has been reached, so this resource will not be present in the result array.


Name Description
items array of item IDs
access access flags: none (deny), view (view), execute commands (exec_cmd), edit (edit), manage (manage)
serviceName service name (see Detailed information about account)


	<long>		/* array of items that the user can access */


Code Value
1 invalid session
2 invalid service name
3 invalid result
4 invalid format or value of parameters
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon   |   Copyright © 2002-2021 Gurtam