Get user role details
get
/learn.rest/v1/learnCenters/{learnCenterId}/userRoles/{userRoleId}
Request
Path Parameters
-
learnCenterId: number
Unique identifier of a LearnCenter.
-
userRoleId: number
Unique identifier of a user role
Response
Supported Media Types
- application/xml
- application/json
200 Response
User role is fetched.
Root Schema : UserRoleResponse
Type:
Show Source
object
-
description(optional):
string
-
id(optional):
number
-
links(optional):
array links
-
name(optional):
string
-
permissions(optional):
array permissions
-
statusFlag(optional):
boolean
Default Value:
true
Example:
{
"id":234,
"name":"admin role",
"description":"test",
"permissions":[
"receiveComSystemMessages",
"attachFilesToMessages",
"emailCompletionCertificates",
"useForums",
"viewReviews",
"addGlobalLCCalendarEvents",
"insertNewReviews",
"viewLearnCenterPages",
"viewInsightReportingReports",
"sendComSystemMessages",
"viewCoursePages",
"useComSystemAddressBook",
"useChatRooms",
"useCommunicationTools",
"modifyReviews",
"printCompletionCertificates",
"viewCertificatesContent",
"viewContent"
],
"statusFlag":true,
"links":[
{
"rel":"canonical",
"href":"https://{url}/learn.rest/v1/learnCenters/178784/userRoles/639"
}
]
}
Nested Schema : UserRoleLinkItem
Type:
Show Source
object
Example:
{
"rel":"canonical",
"href":"https://{url}/learn.rest/v1/learnCenters/178784/userRoles/639"
}