Get permissions of a department
@param id = department id
Arguments
Give/update department permissions
@param id = department id
@param permission Ex.: ?id=3&permission[crm/access]=r&permission[ems/access]=w&permission[system/settings]=x
r = readonly
w = read & write
x = no access (explicit)
Arguments
id |
integer, required |
permission |
array, required |
Assign a user to a department
@param id = department id
@param employee_id = user_id (as in other cases it is named employee_id to avoid confusion with the currently logged in user)
Arguments
id |
integer, required |
employee_id |
integer, required |
Assign a user to a department
@param id = department id
@param employee_id = user_id (as in other cases it is named employee_id to avoid confusion with the currently logged in user)
Arguments
id |
integer, required |
employee_id |
integer, required |
Get all records with pagination.
The function accepts limit and has a maximum limit that can not be overwritten
@return
Data Table object
Arguments
Get all records
this function returns all the records. Pagination / limit are not accepted
@return
Data Table object
Arguments
Get one record based on id
Arguments
Get Change Log for an object
Arguments