Get a list of supervisor roles mapped to a supervisor account in a LearnCenter

get

/learn.rest/v1/learnCenters/{learnCenterId}/supervisorAccounts/{supervisorAccountId}/supervisorRoles

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Supervisor roles collection fetched successfully.
Body ()
Root Schema : SupervisorAccountSupervisorRolesResponse
Type: object
Response object comprising supervisor role id and links to the supervisor role.
Show Source
Nested Schema : supervisorAccount
Type: object
Supervisor Account object comprising Supervisor Account links.
Show Source
Nested Schema : supervisorRole
Type: object
Object comprising links to the supervisor role.
Show Source
Example Response (application/json)
{
    "items":[
        {
            "supervisorRoleId":1,
            "supervisorRole":{
                "links":[
                    {
                        "rel":"canonical",
                        "href":"https://{url}/learn.rest/v1/learnCenters/178409/supervisorRoles/1"
                    }
                ]
            },
            "supervisorAccountId":"2F6AF602-965B-415A-B00C-EEDA1F37510B",
            "supervisorAccount":{
                "links":[
                    {
                        "rel":"canonical",
                        "href":"https://{url}/learn.rest/v1/learnCenters/178409/supervisorAccounts/2F6AF602-965B-415A-B00C-EEDA1F37510B"
                    }
                ]
            },
            "createDateUtc":"2018-03-07T09:34:00",
            "statusFlag":true,
            "links":[
                {
                    "rel":"canonical",
                    "href":"https://{url}/learn.rest/v1/learnCenters/178409/supervisorAccounts/2F6AF602-965B-415A-B00C-EEDA1F37510B/supervisorRoles"
                }
            ]
        },
        {
            "...":null
        }
    ],
    "limit":100,
    "count":1,
    "hasMore":false,
    "links":[
        {
            "rel":"canonical",
            "href":"https://{url}/learn.rest/v1/learnCenters/178409/supervisorAccounts/2F6AF602-965B-415A-B00C-EEDA1F37510B/supervisorRoles"
        }
    ]
}
Back to Top