A number of API properties cannot be used in filter and select clauses, the following error can occur: "The specified type member 'property_name' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported." It happens because in filter or select clauses it is not possible to use properties that are not mapped to a database column.
For LMS365 API endpoints the list of such non-selectable and non-filterable API properties is the following:
Users:
- IsExternal
Courses:
- TimeZone
CourseSessions:
- StartDateTimeZoneOffset
- EndDateTimeZoneOffset
- StartDateLocal
- EndDateLocal
- TimeZoneName
- Room
- AttendanceStartDateLocal
- AttendanceEndDateLocal
- EnrollmentDeadlineLocal
ScormAttempts:
- State
LearningModuleAttempts:
- State
ExternalApps:
- Secret
- CustomFields
Comments
Article is closed for comments.