All Read messages are processed synchronously in the ReadDataService service.
While almost all Create, Update and Delete messages are processed asynchronously through AddMessage method of the DataService service, this is not convenient for Read messages, which are used to read data from itslearning in real-time.
The available methods are:
- Read.Courses
- Read.Terms
- Read.LearningObjectives
- Read.WarningLetter
- Read.Course.Planner.Lessons
- Read.Course.Planner.Topics
- 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
Internal note:
There is a flag `isReadMessage` in `messageType` table in `ContentImport` database, which indicated that messages of selected type are processed as "Read" messages.
It's not possible to change this setting from UI. The only way to change it is to update database manually.