Permissions

 URI Definition

Method

URI and Fields

GET

/iap/permissions

Returns the collection of the permissions.

Can be specified with:

ID ID of the permissions                                                                                  
Name        Name of the permissions
roleIdrole ID of a permissions

Success Response

Collection of permissions.

Example

https://localhost/iap/permissions?roleId=64


Response

[
   {
      "id": 45,
       "name": "Groups:Read"
   },
   {
       "id": 46,
       "name": "Devices:Read"
   },
   {
       "id": 48,
       "name": "Geozones:Read"
   },
   {
       "id": 63,
       "name": "Datapoints:Read:State"
   },
   {
        "id": 62,
       "name": "Datapoints:Read:Configuration"
   }
]                                                                                                                                                   


Query Parameters

Optional query parameters can be used with your REST request.  Specifying queries is described under Queries and ParametersPath Parameters, and Query Parameters.