Creates a new supervisor account
post
/learn.rest/v1/learnCenters/{learnCenterId}/supervisorAccounts
Request
Supported Media Types
- application/json
Path Parameters
-
learnCenterId: number
Unique identifier of a LearnCenter.
Supervisor account object that has to be created.
Root Schema : SupervisorAccountRequest
Type:
Show Source
object
-
membershipid(optional):
number
Minimum Value:
1
Maximum Value:1.0E15
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(optional):
object createdInLearnCenter
-
createdInLearnCenterId(optional):
number
Example:
178409
-
id(optional):
string(guid)
Example:
31D132DB-33E2-4EE3-870C-06ED25F6CE00
-
links(optional):
array links
-
membership(optional):
object membership
-
membershipId(optional):
number
Example:
1914
-
supervisorRoles(optional):
object supervisorRoles
-
supervisorsees(optional):
object supervisorsees
Nested Schema : links
Type:
Show Source
array
-
Array of:
object LearnCenterLink
Object containing Learn Center Links.
Nested Schema : LearnCenterLink
Type:
object
Object containing Learn Center Links.
Show Source
-
href(optional):
string
Example:
{url}/learn.rest/v1/learnCenters/178409
-
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 : MembershipLink
Type:
Show Source
object
-
href(optional):
string
Example:
{url}/learn.rest/v1/memberships/456
-
rel(optional):
string
Example:
canonical
Nested Schema : links
Type:
Show Source
array
-
Array of:
object SupervisorAccountSupervisorRolesLink
Object comprising links to the supervisor roles.
Nested Schema : SupervisorAccountSupervisorRolesLink
Type:
object
Object comprising links to the supervisor roles.
Show Source
-
href(optional):
string
Example:
{url}/learn.rest/v1/learnCenters/178409/supervisorAccounts/00B6ECA6-CAEC-4C7E-A4D8-DFF98AB42D21/supervisorRoles
-
rel(optional):
string
Example:
canonical
Nested Schema : SuperviseesLink
Type:
Show Source
object
-
href(optional):
string
Example:
{url}/learn.rest/v1/learnCenters/178409/supervisorAccounts/31D132DB-33E2-4EE3-870C-06ED25F6CE00/supervisees
-
rel(optional):
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.