Creates a new supervisor account
post
/learn.rest/v1/learnCenters/{learnCenterId}/supervisorAccounts
Creates a new supervisor account.
Request
Supported Media Types
- application/json
Path Parameters
-
learnCenterId(required): number
Unique identifier of a LearnCenter.
Supervisor account object that has to be created.
Root Schema : SupervisorAccountRequest
Type:
Show Source
object
-
membershipid:
number
Minimum Value:
1
Maximum Value:1000000000000000
Example:1235891
Security
-
auth: basic
Type:
basic
Description:Basic Authentication
Response
Supported Media Types
- application/json
201 Response
New supervisor account resource created.
Root Schema : SupervisorAccountResponse
Type:
Show Source
object
-
createdInLearnCenter:
object createdInLearnCenter
-
createdInLearnCenterId:
number
Example:
178409
-
id:
string(guid)
Example:
31D132DB-33E2-4EE3-870C-06ED25F6CE00
-
links:
array links
-
membership:
object membership
-
membershipId:
number
Example:
1914
-
supervisorRoles:
object supervisorRoles
-
supervisorsees:
object supervisorsees
Nested Schema : LearnCenterLink
Type:
Show Source
object
-
href:
string
Example:
{url}/learn.rest/v1/learnCenters/178409
-
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 : MembershipLink
Type:
Show Source
object
-
href:
string
Example:
{url}/learn.rest/v1/memberships/456
-
rel:
string
Example:
canonical
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 : SuperviseesLink
Type:
Show Source
object
-
href:
string
Example:
{url}/learn.rest/v1/learnCenters/178409/supervisorAccounts/31D132DB-33E2-4EE3-870C-06ED25F6CE00/supervisees
-
rel:
string
Example:
canonical
400 Response
Request has incorrect syntax or does not contain a field that is required.
409 Response
Another resource with the same identifier already exists.
500 Response
Internal server error.