- Content and tool integrations
- Organisation API
- DataService.svc methods and messages
- Create.Calendar.Event and Update.Calendar.Event
- Create.Course.Element.Assignment
- Create.Course.Element.CustomActivity
- Create.Course.Element.File
- Create.Course.Element.Folder
- Create.Course.Element.IMSPackage
- Create.Course.Element.Instance
- Create.Course.Element.Link
- Create.Course.Element.Page
- Create.Course.Element.Survey
- Create.Course.Element.Test
- Create.Course.File
- Create.Course.Folder
- Create.Course.Planner
- Create.Extension.Instance
- Create.MyFiles.File
- Create.MyFiles.Folder
- Create.Resource
- Delete.Calendar.Event
- Delete.Extension.Instance
- Delete.Person.ProfilePicture
- Update.Calendar.Event.ConnectEvents
- Update.Course.Element
- Update.Course.Element.CustomActivity
- Update.Course.Element.CustomActivity.Assessment
- Update.Course.Element.LearningObjective.Assessment
- Update.Course.Planner
- Update.Extension.Instance
- Update.Person.ProfilePicture
- Update.WarningLetter
- ReadDataService methods
- Read.Courses
- Read.Terms
- Read.LearningObjectives
- Read.WarningLetter
- Read.Course.Planner.Lessons
- Read.Course.Files
- Read.Course.Gradebook.Assessments
- Read.Course.Gradebook.Items
- Read.Course.Gradebook.Categories
- Read.Course.Elements
- Read.Course.Element
- Read.Calendar.Event
- Read.AssessmentScales
- Read.AssessmentRecord.Summary
- Read.Projects
- Read.Projects.ForPerson
- Read.Courses.ForPerson
- Read.BehaviourRemarks
- Read.Extension.Instance
- FileService.svc methods and messages
- FileStreamService.svc methods and messages
- InstanceService.svc
- Working with calendar events
- Migrating content to itslearning
- Handling rich content and files
- DataService.svc methods and messages
- Data Warehouse API
- How to Access the Data Warehouse via OData
- Best Practice for Accessing OData
- Scenarios and Examples
- Data warehouse API data model reference
- AssessmentGrade
- AssessmentScale
- AssessmentStatus
- ConsumerType
- Course
- CourseElement
- CourseElementFileAssociation
- CourseMembership
- CourseProfile
- CourseVisit
- Date
- ElementCategory
- ElementType
- File
- LearningItem
- LearningObjective
- LearningObjectiveAssessment
- LearningObjectiveAssessmentStatus
- LearningObjectiveCourseElement
- LearningObjectiveProgress
- Organization
- OrganizationMembership
- Scorm
- ScormStatus
- SiteProfile
- Term
- Time
- User
- UserCourseSession
- UserElementSession
- UserGrade
- UserLogin
- UserSession
- IMS Enterprise Services
- IMS ES best practices and howtos
- Getting started with IMS ES
- Dos and don'ts for itslearning IMS ES clients
- How to assign profiles to users
- Creating organisations
- Creating parent/child relationships
- Marking an organisation as a user's "home organisation"
- Creating courses and course groups
- Working with course templates in IMS ES
- ECK-iD and Dutch educational content chain
- Managing persons
- Managing groups
- Managing memberships
- IMS ES Template
- IMS ES best practices and howtos
- Other resources
Creating Users
For creating Users with the IMS-ES Template, you first have to create a User object (See "Users"). Then you can send this User (or even an array of Users) to Itslearning, where they will be created.
CreateUser
This function creates a new User in Itslearning, by sending the given User object to IMS-ES.
Syntax:
OperationResult warning = ImsEsclient.CreateUser(User newUser);
Parameters:
newUser:
The new User to be created.
Returns:
The OperationResult containing the warning that Itslearning has send back, or if there was none, null.
Exceptions:
-
ImsEsException: If IMS-ES encountered an error in Itslearning, this exception will be thrown.
-
ValidationException: If the given User is not valid (required properties not set, other properties too long) this exception will be thrown.
CreateUsers
This function creates several new Users in Itslearning, by sending the given User objects to IMS-ES.
Syntax:
BatchOperationResult warnings = ImsEsclient.CreateUsers(ICollection<User> newUsers);
Parameters:
newUsers:
An ICollection with all new Users to be created.
Returns:
A OperationResult with the list of warnings that Itslearning has send back (this list can be empty).
Exceptions:
-
ImsEsBatchException: If IMS-ES encountered an error in Itslearning, this exception will be thrown.
-
ValidationException: If one of the given Users is not valid (required properties not set, other properties too long) this exception will be thrown.