Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userRoleId |
The user role identifier. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The user role, if it exists.
Pico.UserRoleName | Description | Type | Additional information |
---|---|---|---|
isDefault |
Gets or sets a value indicating whether this is default user role. |
boolean |
None. |
id |
Gets or sets the user role identifier. |
integer |
None. |
role |
Gets or sets the role identifier. |
integer |
None. |
user |
Gets or sets the user identifier. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "isDefault": true, "id": "2", "role": "3", "user": "4" }
text/html
Sample:
{"isDefault":true,"id":"2","role":"3","user":"4"}
application/xml, text/xml
Sample:
<UserRole xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <IsDefault>true</IsDefault> <UserRoleId>2</UserRoleId> <RoleId>3</RoleId> <UserId>4</UserId> </UserRole>