Role\Permission
GET
Retrieve all user permission types
_cnd[limit]
array
Sets the offset (first item) and the limit (second item)
_cnd[orderBy]
array
Sets sorting order field
default Success <XLite\Model\Role\Permission>[] array
Sample response
[{"enabled":false,"id":60,"code":"example","section":"example","roles":["<XLite\\Model\\Role>"]}]
_cnd[limit]
array
Sets the offset (first item) and the limit (second item)
_cnd[orderBy]
array
Sets sorting order field
default Success <XLite\Model\Role\Permission>[] array
Sample response
[{"enabled":false,"id":60,"code":"example","section":"example","roles":["<XLite\\Model\\Role>"]}]
GET
Retrieve user permission type by id
id
integer Required
Id value of the Permission object
default Success <XLite\Model\Role\Permission>
Sample response
{"enabled":false,"id":60,"code":"example","section":"example","roles":["<XLite\\Model\\Role>"]}
enabled
boolean
Enabled
id
integer
ID
code
string
Code
section
string
Section
roles
[] array
Roles
id
integer Required
Id value of the Permission object
default Success <XLite\Model\Role\Permission>
Sample response
{"enabled":false,"id":60,"code":"example","section":"example","roles":["<XLite\\Model\\Role>"]}
enabled
boolean
Enabled
id
integer
ID
code
string
Code
section
string
Section
roles
Roles