iSheets API version 2 - iSheet admin - API - iSheet-column permissions - Update iSheet-column permission
OVERVIEW
To set the values based on the information provided
URI:
PUT /api/3/isheets/admin/{isheetid}/columns/{columnid}/permissions
Request Body
A list of iSheet permission objects
<isheetcolumnpermissions usergrouptype="1">
List of iSheet-column permission objects
</isheetcolumnpermissions>
Note : usergrouptype 1=USER, 2=GROUP
Response
The methods returns a 200 http response in case of a successful request otherwise an error object is returned.
Note that this week we received a patch to this API which means we do not have to PUT the entire list of column permissions. Prior to this, if we wanted to update permissions, we needed to first GET the existing permissions and then insert our new permissions into that XML before sending the entire lot to this API endpoint - otherwise, it wiped out all existing permissions. This meant that for large sets of permissions (many groups/users) it was taking a LONG time to complete. This recent patch has meant that we only need to PUT the permissions we wish to change/add. Much better! :)
Could the error message be updated so that rather than return a generic 403 and no detail to return something along the lines of "Please enable column level permissions - documentation link" seems like it would save a tonne of hassle.
False alarm, I found that first I needed to update the iSheet permissions to include the group I was trying to add - then I could add that group to the column permissions. Thanks, David.
Hi, when I try to use this API endpoint i'm getting an Access Denied error. I don't seem to have issues with other endpoints. Is something wrong or is there some additional privileges required to use this? Thanks, David. Vijay Vora Imran Aziz
Comments
4 Comments