Тема: Presets access rights
How to fetch Presets of access rights for unit, unit groups, resource, user etc. Currently I'm using below API to create / update presets Templates.
Is there any RemoteAPI to fetch these Presets with Name and acl pair?. e.g..Name : Account Admin ; acl : 567795534839
item/update_custom_property
params:{"itemId":*****,"name":"access_templates",
"value":
"{\"avl_unit\":[
{\"id\":0,\"name\":\"No access\",\"color\":\"rgb(255, 217, 191)\",\"acl\":0},
{\"id\":1,\"name\":\"Full access\",\"color\":\"rgb(211, 191, 229)\",\"acl\":-1},
{\"id\":2,\"name\":\"Read only\",\"color\":\"rgb(191, 212, 242)\",\"acl\":16931},
{\"id\":3,\"name\":\"Account Admin\",\"acl\":567795534839,\"color\":\"rgb(202, 229, 191)\"},
{\"id\":4,\"name\":\"Account Supervisor\",\"acl\":550615647217,\"color\":\"rgb(191, 242, 242)\"},
{\"id\":5,\"name\":\"Account User\",\"acl\":550598888321,\"color\":\"rgb(232, 201, 162)\"}],
\"avl_unit_group\":[],\"avl_resource\":
[{\"id\":0,\"name\":\"No access\",\"color\":\"rgb(255, 217, 191)\",\"acl\":0},
{\"id\":1,\"name\":\"Full access\",\"color\":\"rgb(211, 191, 229)\",\"acl\":-1},
{\"id\":2,\"name\":\"Read only\",\"color\":\"rgb(191, 212, 242)\",\"acl\":16931},
{\"acl\":52909688507383,\"name\":\"Admin\",\"color\":\"rgb(202, 229, 191)\",\"id\":3}],
\"avl_route\":[],
\"user\":[]}"}
J Prabhu