API Guide

Table Of Contents
/api/AccountService/Accounts(userId)/Permissions
This URI represents the permissions for an account.
GET method for Permissions
This method lists the permissions for an account.
Description Lists the permissions for an account.
Privilege VIEW
HTTP response
codes
200
Example
response body
{
"@odata.context": "$metadata#Collection(AccountService.Permission)",
"@odata.count": 1,
"value": [
{
"Id": 3214,
"UserId": 3164,
"RoleId": 10,
"Entities": [
64
]
}
]
}
Table 21. Attributes
Attribute Description
Id Permission record ID.
UserId Account ID for which permissions are retrieved.
RoleId Role ID of the account.
Entities List of entities that the account has access to.
/api/AccountService/Actions/AccountService.GetPrivileges
This URI represents the list of privileges for a user for a device.
POST method for /api/AccountService/Actions/
AccountService.GetPrivileges
This method returns the list of privileges for a user for a particular device.
Description
Returns the current network IP configuration.
Privilege SECURITY_SETUP
HTTP response
codes
201
52 Application settings