Creates a new supervisee

post

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

Request

Supported Media Types
Path Parameters
Body ()
Supervisor role object that needs to be created.
Root Schema : SuperviseeRequest
Type: object
Show Source
Example:
{
    "supervisorAccountId":"supervisor account id",
    "userId":789,
    "integratedFlag":false
}
Security
Back to Top

Response

Supported Media Types

201 Response

New supervisee created.
Body ()
Root Schema : SuperviseeResponse
Type: object
Object comprising Supervisee parameters.
Show Source
  • When an Admin changes the supervisor in TEE, it will then synchronize with the LearnCenter. If an Admin maps a user to a supervisor in the LearnCenter, it will be set to 0 for Integrated and so if the Admin makes a change in TEE, it will not affect the LearnCenter supervisor mapping.If the value is set to 1 then any changes made in TEE will reflect in LearnCenter.
    Example: false
  • links
  • supervisorAccount
    Object comprising Supervisor Account link.
  • Unique identifier for supervisor account.
    Example: 11445C48-D0BB-4581-AC5A-793DC6405FB8
  • user
    Object comprising Link to the user.
  • Identifier for the user creating the supervisee.
    Example: 123123
Nested Schema : supervisorAccount
Type: object
Object comprising Supervisor Account link.
Show Source
Nested Schema : user
Type: object
Object comprising Link to the user.
Show Source

400 Response

Request has incorrect syntax or does not contain a field that is required.

401 Response

Authentication refused for provided credentials or token invalid.
Headers

404 Response

Resource not found.

422 Response

Request may contain validation errors.

500 Response

Internal server error.
Back to Top