Get a list of supervisor roles in a LearnCenter.
get
/learn.rest/v1/learnCenters/{learnCenterId}/supervisorRoles
Request
Path Parameters
-
learnCenterId: number
Unique identifier of a LearnCenter.
Query Parameters
-
limit(optional): integer
Specify how many items should be returned in a payload. Must be lower than server default limit size.
-
offset(optional): integer
Specify starting point of the response.Default Value:
0
-
totalResults(optional): boolean
If set to true, the payload includes total number of rows that satisfies the request. Use of this parameter determines if the 'last' link is displayed for a pageable collection.
Response
Supported Media Types
- application/json
200 Response
supervisor roles collection fetched
Root Schema : SupervisorRolesResponse
Type:
Show Source
object
-
count(optional):
number
Example:
1
-
hasMore(optional):
boolean
Example:
false
-
items(optional):
array items
-
limit(optional):
number
Example:
100
-
links(optional):
array links
Nested Schema : links
Type:
Show Source
array
Example:
[
{
"rel":"canonical",
"href":"https://{url}/learn.rest/v1/learnCenters/178409/supervisorRoles"
}
]
Nested Schema : SupervisorRoleResponse
Type:
Show Source
object
-
createDateUtc(optional):
string(datetime)
Example:
2018-03-07T09:34:00
-
links(optional):
array links
-
statusFlag(optional):
boolean
Default Value:
true
Example:true
-
supervisorAccount(optional):
object supervisorAccount
-
supervisorAccountId(optional):
string
Example:
2F6AF602-965B-415A-B00C-EEDA1F37510B
-
supervisorRole(optional):
object supervisorRole
-
supervisorRoleId(optional):
number
Example:
123
Nested Schema : SupervisorAccountSupervisorRolesLink
Type:
Show Source
object
-
href(optional):
string
Example:
{url}/learn.rest/v1/learnCenters/178409/supervisorAccounts/00B6ECA6-CAEC-4C7E-A4D8-DFF98AB42D21/supervisorRoles
-
rel(optional):
string
Example:
canonical
Nested Schema : SupervisorAccountLink
Type:
Show Source
object
-
href(optional):
string
Example:
{url}/learn.rest/v1/learnCenters/{learnCenterId}/supervisorAccounts/31D132DB-33E2-4EE3-870C-06ED25F6CE00
-
rel(optional):
string
Example:
canonical
Nested Schema : SupervisorRoleLink
Type:
Show Source
object
-
href(optional):
string
Example:
{url}/learn.rest/v1/learnCenters/178409/supervisorRoles/123
-
rel(optional):
string
Example:
canonical