TypePermissionResponse Data Type

Response containing permissions and role assignments

Properties
name data type description
perms array of TypePermissionItem Permissions
roles array of RoleItem Roles
Properties inherited from GenericResponse
messages array of Message Messages contained in the response (which should be shown to the user)
responseInfo ResponseInfo

Example

{
  "perms" : [ {
    "type" : "buildexport",
    "label" : "...",
    "description" : "...",
    "category" : "...",
    "value" : true,
    "editable" : true
  }, {
    "type" : "readtemplates",
    "label" : "...",
    "description" : "...",
    "category" : "...",
    "value" : true,
    "editable" : true
  } ],
  "roles" : [ {
    "id" : 12345,
    "label" : "...",
    "description" : "...",
    "value" : true,
    "editable" : true
  }, {
    "id" : 12345,
    "label" : "...",
    "description" : "...",
    "value" : true,
    "editable" : true
  } ],
  "messages" : [ { }, { } ],
  "responseInfo" : {
    "responseCode" : "OK",
    "responseMessage" : "...",
    "property" : "..."
  }
}