Get a list of supervisor roles in a LearnCenter.
get
/learn.rest/v1/learnCenters/{learnCenterId}/supervisorRoles
Request
Path Parameters
-
learnCenterId(required): number
Unique identifier of a LearnCenter.
Query Parameters
-
limit: integer
Specify how many items should be returned in a payload. Must be lower than server default limit size.
-
offset: integer
Specify starting point of the response.Default Value:
0
-
totalResults: 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:
number
Example:
1
-
hasMore:
boolean
Example:
false
-
items:
array items
-
limit:
number
Example:
100
-
links:
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:
string(datetime)
Example:
2018-03-07T09:34:00
-
links:
array links
-
statusFlag:
boolean
Default Value:
true
Example:true
-
supervisorAccount:
object supervisorAccount
-
supervisorAccountId:
string
Example:
2F6AF602-965B-415A-B00C-EEDA1F37510B
-
supervisorRole:
object supervisorRole
-
supervisorRoleId:
number
Example:
123
Nested Schema : SupervisorAccountSupervisorRolesLink
Type:
Show Source
object
-
href:
string
Example:
{url}/learn.rest/v1/learnCenters/178409/supervisorAccounts/00B6ECA6-CAEC-4C7E-A4D8-DFF98AB42D21/supervisorRoles
-
rel:
string
Example:
canonical
Nested Schema : SupervisorAccountLink
Type:
Show Source
object
-
href:
string
Example:
{url}/learn.rest/v1/learnCenters/{learnCenterId}/supervisorAccounts/31D132DB-33E2-4EE3-870C-06ED25F6CE00
-
rel:
string
Example:
canonical
Nested Schema : SupervisorRoleLink
Type:
Show Source
object
-
href:
string
Example:
{url}/learn.rest/v1/learnCenters/178409/supervisorRoles/123
-
rel:
string
Example:
canonical