D2L Brightspace
d2lbrightspaceD2L Brightspace is a learning management system that provides a comprehensive suite of tools for educators to create, manage, and deliver online courses and learning experiences.
Acciones disponibles (45)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Copy RoleD2LBRIGHTSPACE_COPY_ROLEAcciónCreates a new role copied from an existing role in d2l brightspace. notes: - the new role will not have any capabilities upon the old role from which it was created - some capabilities will be copied for the new role (e.g., if old role users could impersonate other old role users, new role users will be able to impersonate other new role users) - additional capabilities must be manually created after copying requires oauth2 scope: - role:detail:create available in api versions unstable (lms v10.4.10+)
D2LBRIGHTSPACE_COPY_ROLEAcciónCreates a new role copied from an existing role in d2l brightspace. notes: - the new role will not have any capabilities upon the old role from which it was created - some capabilities will be copied for the new role (e.g., if old role users could impersonate other old role users, new role users will be able to impersonate other new role users) - additional capabilities must be manually created after copying requires oauth2 scope: - role:detail:create available in api versions unstable (lms v10.4.10+)
Parámetros de entrada
role_dataobjectObligatorioProperties for the new role
deep_copy_role_idintegerObligatorioSource role ID to act as template for new role
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Course OfferingD2LBRIGHTSPACE_CREATE_A_COURSE_OFFERINGAcciónCreates a new course offering in d2l brightspace. notes: - course code limitations: max 50 chars, no special chars: \ : * ? " < > | ' # , % & - path: leave empty if path enforcement is enabled - semesterid: provide null if not using the semester element - canselfregister: required for api v1.28+, not supported before v1.28 requires oauth2 scope: - orgunits:course:create available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_CREATE_A_COURSE_OFFERINGAcciónCreates a new course offering in d2l brightspace. notes: - course code limitations: max 50 chars, no special chars: \ : * ? " < > | ' # , % & - path: leave empty if path enforcement is enabled - semesterid: provide null if not using the semester element - canselfregister: required for api v1.28+, not supported before v1.28 requires oauth2 scope: - orgunits:course:create available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
course_dataobjectObligatorioData for creating the new course offering
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Course TemplateD2LBRIGHTSPACE_CREATE_A_COURSE_TEMPLATEAcciónCreates a new course template in d2l brightspace. notes: - course template code limitations: max 50 chars, no special chars: \ : * ? " < > | ' # , % & - path: leave empty if path enforcement is enabled requires oauth2 scope: - orgunits:coursetemplate:create available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_CREATE_A_COURSE_TEMPLATEAcciónCreates a new course template in d2l brightspace. notes: - course template code limitations: max 50 chars, no special chars: \ : * ? " < > | ' # , % & - path: leave empty if path enforcement is enabled requires oauth2 scope: - orgunits:coursetemplate:create available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
course_template_dataobjectObligatorioData for creating the new course template
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Grade ObjectD2LBRIGHTSPACE_CREATE_GRADE_OBJECTAcciónCreates a new grade object for a particular org unit. the grade object can be one of four types: 1. numeric: for numeric grades with max points 2. passfail: for pass/fail assessments 3. selectbox: for predefined grade options 4. text: for text-only feedback returns a gradeobject json block containing the created grade object's data, including its assigned id. requires oauth2 scope: - grades:gradeobjects:write available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_CREATE_GRADE_OBJECTAcciónCreates a new grade object for a particular org unit. the grade object can be one of four types: 1. numeric: for numeric grades with max points 2. passfail: for pass/fail assessments 3. selectbox: for predefined grade options 4. text: for text-only feedback returns a gradeobject json block containing the created grade object's data, including its assigned id. requires oauth2 scope: - grades:gradeobjects:write available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the org unit to create the grade object in
grade_objectobjectObligatorioGrade object data. Must be one of these types: - Numeric: Includes MaxPoints, CanExceedMaxPoints, etc. - PassFail: Includes MaxPoints, IsBonus, etc. - SelectBox: Includes MaxPoints, IsBonus, GradeSchemeId (required), etc. - Text: Basic grade object with Name, ShortName, etc.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create QuizD2LBRIGHTSPACE_CREATE_QUIZAcciónCreates a new quiz in d2l brightspace. notes: - numberofattemptsallowed must be between 1 and 10 (inclusive) or null for unlimited - password must not be empty or whitespace if provided - notificationemail must be a valid email address if provided - timelimitvalue: 0 for no limit (with isenforced false), or 1-9999 for enforced limit - deductionpercentage must be between 0 and 100 if provided - as of le api v1.71: - latelimitminutes is ignored - latesubmissionoption 1 is treated as 2 (autosubmitattempt) - submissiongraceperiod is not used - pagingtypeid added in le api v1.78 - date fields should be in utc format requires oauth2 scopes: - quizzing:quizzes:read - quizzing:quizzes:create available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_CREATE_QUIZAcciónCreates a new quiz in d2l brightspace. notes: - numberofattemptsallowed must be between 1 and 10 (inclusive) or null for unlimited - password must not be empty or whitespace if provided - notificationemail must be a valid email address if provided - timelimitvalue: 0 for no limit (with isenforced false), or 1-9999 for enforced limit - deductionpercentage must be between 0 and 100 if provided - as of le api v1.71: - latelimitminutes is ignored - latesubmissionoption 1 is treated as 2 (autosubmitattempt) - submissiongraceperiod is not used - pagingtypeid added in le api v1.78 - date fields should be in utc format requires oauth2 scopes: - quizzing:quizzes:read - quizzing:quizzes:create available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
quiz_dataobjectObligatorioQuiz creation data
org_unit_idintegerObligatorioID of the org unit to create the quiz in
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Quiz CategoryD2LBRIGHTSPACE_CREATE_QUIZ_CATEGORYAcciónCreates a new quiz category in d2l brightspace. returns a quizcategoryreaddata json block containing: - categoryid: the id of the created category - name: the name of the category - sortorder: the sort order value requires oauth2 scopes: - quizzing:quizzes:read - quizzing:quizzes:create available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_CREATE_QUIZ_CATEGORYAcciónCreates a new quiz category in d2l brightspace. returns a quizcategoryreaddata json block containing: - categoryid: the id of the created category - name: the name of the category - sortorder: the sort order value requires oauth2 scopes: - quizzing:quizzes:read - quizzing:quizzes:create available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the org unit to create the quiz category in
category_dataobjectObligatorioQuiz category creation data
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create UserD2LBRIGHTSPACE_CREATE_USERAcciónCreates a new user entity in d2l brightspace. requires oauth2 scope: - users:userdata:create available in api versions 1.46+ (lms v20.24.3+) notes: - firstname and lastname are used as legal names - externalemail must be null or a valid email address - orgdefinedid must be unique across the organization if provided - preferred names must be set separately after user creation
D2LBRIGHTSPACE_CREATE_USERAcciónCreates a new user entity in d2l brightspace. requires oauth2 scope: - users:userdata:create available in api versions 1.46+ (lms v20.24.3+) notes: - firstname and lastname are used as legal names - externalemail must be null or a valid email address - orgdefinedid must be unique across the organization if provided - preferred names must be set separately after user creation
Parámetros de entrada
user_dataobjectObligatorioData for creating the new user
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Course TemplateD2LBRIGHTSPACE_DELETE_A_COURSE_TEMPLATEAcciónDeletes a course template from d2l brightspace. requires oauth2 scope: - orgunits:course:delete available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_DELETE_A_COURSE_TEMPLATEAcciónDeletes a course template from d2l brightspace. requires oauth2 scope: - orgunits:course:delete available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the course template to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete CourseD2LBRIGHTSPACE_DELETE_COURSEAcciónDeletes a course offering from d2l brightspace. requires oauth2 scope: - orgunits:course:delete available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_DELETE_COURSEAcciónDeletes a course offering from d2l brightspace. requires oauth2 scope: - orgunits:course:delete available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the course offering to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Grade ObjectD2LBRIGHTSPACE_DELETE_GRADE_OBJECTAcciónDeletes a specific grade object from an org unit. requires oauth2 scope: - grades:gradeobjects:delete available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_DELETE_GRADE_OBJECTAcciónDeletes a specific grade object from an org unit. requires oauth2 scope: - grades:gradeobjects:delete available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the org unit containing the grade object
grade_object_idintegerObligatorioID of the grade object to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete QuizD2LBRIGHTSPACE_DELETE_QUIZAcciónDeletes a quiz from d2l brightspace. requires oauth2 scope: - quizzing:quizzes:delete available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_DELETE_QUIZAcciónDeletes a quiz from d2l brightspace. requires oauth2 scope: - quizzing:quizzes:delete available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
quiz_idintegerObligatorioID of the quiz to delete
org_unit_idintegerObligatorioID of the org unit containing the quiz
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Quiz CategoryD2LBRIGHTSPACE_DELETE_QUIZ_CATEGORYAcciónDeletes a quiz category from d2l brightspace. requires oauth2 scope: - quizzing:quizzes:delete available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_DELETE_QUIZ_CATEGORYAcciónDeletes a quiz category from d2l brightspace. requires oauth2 scope: - quizzing:quizzes:delete available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
category_idintegerObligatorioID of the quiz category to delete
org_unit_idintegerObligatorioID of the org unit containing the quiz category
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete UserD2LBRIGHTSPACE_DELETE_USERAcciónDeletes a user entity from d2l brightspace. requires oauth2 scope: - users:userdata:delete available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_DELETE_USERAcciónDeletes a user entity from d2l brightspace. requires oauth2 scope: - users:userdata:delete available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
user_idintegerObligatorioID of the user to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete User DemographicsD2LBRIGHTSPACE_DELETE_USER_DEMOGRAPHICSAcciónDeletes one or more of a particular user's associated demographics entries. notes: - if entry ids are provided, only those specific entries will be deleted - if entry ids are not provided, all demographics entries for the user will be deleted requires oauth2 scope: - demographics:user:delete available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_DELETE_USER_DEMOGRAPHICSAcciónDeletes one or more of a particular user's associated demographics entries. notes: - if entry ids are provided, only those specific entries will be deleted - if entry ids are not provided, all demographics entries for the user will be deleted requires oauth2 scope: - demographics:user:delete available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
user_idintegerObligatorioID of the user whose demographics to delete
entry_idsstring[]Optional. Specific entry IDs to delete. If not provided, all entries will be deleted.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Course OfferingD2LBRIGHTSPACE_GET_A_COURSE_OFFERINGAcciónRetrieves a specific course offering from d2l brightspace. returns a courseoffering json block with the course's information. requires oauth2 scope: - orgunits:course:read available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_GET_A_COURSE_OFFERINGAcciónRetrieves a specific course offering from d2l brightspace. returns a courseoffering json block with the course's information. requires oauth2 scope: - orgunits:course:read available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the course offering to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Course TemplateD2LBRIGHTSPACE_GET_A_COURSE_TEMPLATEAcciónRetrieves a course template from d2l brightspace. returns a coursetemplate json block with the template's information. available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_GET_A_COURSE_TEMPLATEAcciónRetrieves a course template from d2l brightspace. returns a coursetemplate json block with the template's information. available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the course template to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Course SchemaD2LBRIGHTSPACE_GET_COURSE_SCHEMAAcciónRetrieves the list of parent org unit type constraints for course offerings. returns a json array of schemaelement blocks defining the allowed parent organizational unit types for courses. available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_GET_COURSE_SCHEMAAcciónRetrieves the list of parent org unit type constraints for course offerings. returns a json array of schemaelement blocks defining the allowed parent organizational unit types for courses. available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Course Template SchemaD2LBRIGHTSPACE_GET_COURSE_TEMPLATE_SCHEMAAcciónRetrieves the list of parent org unit type constraints for course offerings built on this template. returns a json array of schemaelement blocks defining the allowed parent organizational unit types for course templates. available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_GET_COURSE_TEMPLATE_SCHEMAAcciónRetrieves the list of parent org unit type constraints for course offerings built on this template. returns a json array of schemaelement blocks defining the allowed parent organizational unit types for course templates. available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Current User InformationD2LBRIGHTSPACE_GET_CURRENT_USERAcciónRetrieves the current user context's user information from d2l brightspace. requires one of these oauth2 scopes: - users:profile:read - users:own profile:read available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_GET_CURRENT_USERAcciónRetrieves the current user context's user information from d2l brightspace. requires one of these oauth2 scopes: - users:profile:read - users:own profile:read available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Enrolled RolesD2LBRIGHTSPACE_GET_ENROLLED_ROLESAcciónRetrieves a list of all enrolled user roles the calling user can view in an org unit. returns a json array of role data blocks containing the properties of all user roles that the calling user context has permission to view and that are currently enrolled in the provided org unit. requires oauth2 scope: - role:detail:read available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_GET_ENROLLED_ROLESAcciónRetrieves a list of all enrolled user roles the calling user can view in an org unit. returns a json array of role data blocks containing the properties of all user roles that the calling user context has permission to view and that are currently enrolled in the provided org unit. requires oauth2 scope: - role:detail:read available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the org unit to get enrolled roles from
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Grade AccessD2LBRIGHTSPACE_GET_GRADE_ACCESSAcciónRetrieves a list of users with access to a specified grade. returns an objectlistpage containing useraccess blocks. can optionally filter by specific user id or role id. requires oauth2 scope: - grades:access:read available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_GET_GRADE_ACCESSAcciónRetrieves a list of users with access to a specified grade. returns an objectlistpage containing useraccess blocks. can optionally filter by specific user id or role id. requires oauth2 scope: - grades:access:read available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
role_idintegerOptional. Get access for users with this role
user_idintegerOptional. Get access for a specific user
org_unit_idintegerObligatorioID of the org unit containing the grade
grade_object_idintegerObligatorioID of the grade object to get access for
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Grade ObjectD2LBRIGHTSPACE_GET_GRADE_OBJECTAcciónRetrieves a specific grade object for a particular org unit. returns a gradeobject json block containing the grade object's properties. requires oauth2 scope: - grades:gradeobjects:read available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_GET_GRADE_OBJECTAcciónRetrieves a specific grade object for a particular org unit. returns a gradeobject json block containing the grade object's properties. requires oauth2 scope: - grades:gradeobjects:read available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the org unit containing the grade object
grade_object_idintegerObligatorioID of the grade object to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Grade ObjectsD2LBRIGHTSPACE_GET_GRADE_OBJECTSAcciónRetrieves all current grade objects for a particular org unit. returns an array of grade objects. requires oauth2 scope: - grades:gradeobjects:read available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_GET_GRADE_OBJECTSAcciónRetrieves all current grade objects for a particular org unit. returns an array of grade objects. requires oauth2 scope: - grades:gradeobjects:read available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the org unit to get grade objects from
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Grade SetupD2LBRIGHTSPACE_GET_GRADE_SETUPAcciónRetrieves the grades configuration for an org unit. returns a gradesetupinfo json block containing the grades setup information. requires oauth2 scope: - grades:gradesettings:read available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_GET_GRADE_SETUPAcciónRetrieves the grades configuration for an org unit. returns a gradesetupinfo json block containing the grades setup information. requires oauth2 scope: - grades:gradesettings:read available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the org unit to get grades configuration from
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Grade StatisticsD2LBRIGHTSPACE_GET_GRADE_STATISTICSAcciónRetrieves statistics for a specified grade item. returns a gradestatisticsinfo json block containing statistical data about the grade item. requires oauth2 scope: - grades:gradestatistics:read available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_GET_GRADE_STATISTICSAcciónRetrieves statistics for a specified grade item. returns a gradestatisticsinfo json block containing statistical data about the grade item. requires oauth2 scope: - grades:gradestatistics:read available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the org unit containing the grade
grade_object_idintegerObligatorioID of the grade object to get statistics for
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Org Unit DemographicsD2LBRIGHTSPACE_GET_ORG_UNIT_DEMOGRAPHICSAcciónRetrieves all demographics entries for users enrolled in a particular org unit. notes: - filters are applied cumulatively (all conditions must match) - when using id lists in filters, matching any id in the list satisfies that filter - for example: with roleids=[1,2], userids=[3,4], search="value": * users must have role 1 or 2 (either role matches) * and must have id 3 or 4 (either id matches) * and must have a field matching "value" - results are paged; use bookmark parameter for subsequent pages requires oauth2 scope: - demographics:orgunit:read available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_GET_ORG_UNIT_DEMOGRAPHICSAcciónRetrieves all demographics entries for users enrolled in a particular org unit. notes: - filters are applied cumulatively (all conditions must match) - when using id lists in filters, matching any id in the list satisfies that filter - for example: with roleids=[1,2], userids=[3,4], search="value": * users must have role 1 or 2 (either role matches) * and must have id 3 or 4 (either id matches) * and must have a field matching "value" - results are paged; use bookmark parameter for subsequent pages requires oauth2 scope: - demographics:orgunit:read available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
searchstringOptional. Search string to look for in the demographic field values
bookmarkstringOptional. Bookmark to use for fetching the next data set segment
role_idsstring[]Optional. List of user role IDs to filter by
user_idsstring[]Optional. List of user IDs to filter by
field_idsstring[]Optional. List of demographic field IDs to filter by
org_unit_idintegerObligatorioID of the org unit to get demographics from
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get QuizD2LBRIGHTSPACE_GET_QUIZAcciónRetrieves a specific quiz from an org unit. returns a quizreaddata json block containing the quiz's properties. requires oauth2 scope: - quizzing:quizzes:read available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_GET_QUIZAcciónRetrieves a specific quiz from an org unit. returns a quizreaddata json block containing the quiz's properties. requires oauth2 scope: - quizzing:quizzes:read available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
quiz_idintegerObligatorioID of the quiz to retrieve
org_unit_idintegerObligatorioID of the org unit containing the quiz
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Quiz AccessD2LBRIGHTSPACE_GET_QUIZ_ACCESSAcciónRetrieves a list of users with access to a specified quiz. returns an objectlistpage json block containing a list of useraccess blocks. can filter by specific user id or role id. requires oauth2 scope: - quizzing:access:read available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_GET_QUIZ_ACCESSAcciónRetrieves a list of users with access to a specified quiz. returns an objectlistpage json block containing a list of useraccess blocks. can filter by specific user id or role id. requires oauth2 scope: - quizzing:access:read available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
quiz_idintegerObligatorioID of the quiz to get access information for
role_idintegerOptional. Get access for users with this role
user_idintegerOptional. Get access for a specific user
org_unit_idintegerObligatorioID of the org unit containing the quiz
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Quiz AttemptD2LBRIGHTSPACE_GET_QUIZ_ATTEMPTAcciónRetrieves a specific quiz attempt. returns a quizattemptdata json block containing the attempt's properties. requires oauth2 scope: - quizzing:attempts:read available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_GET_QUIZ_ATTEMPTAcciónRetrieves a specific quiz attempt. returns a quizattemptdata json block containing the attempt's properties. requires oauth2 scope: - quizzing:attempts:read available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
quiz_idintegerObligatorioID of the quiz
attempt_idintegerObligatorioID of the attempt to retrieve
org_unit_idintegerObligatorioID of the org unit containing the quiz
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Quiz AttemptsD2LBRIGHTSPACE_GET_QUIZ_ATTEMPTSAcciónRetrieves a list of attempts for a quiz. can optionally filter attempts for a specific user. returns an objectlistpage json block containing a list of quizattemptdata blocks. requires oauth2 scope: - quizzing:attempts:read available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_GET_QUIZ_ATTEMPTSAcciónRetrieves a list of attempts for a quiz. can optionally filter attempts for a specific user. returns an objectlistpage json block containing a list of quizattemptdata blocks. requires oauth2 scope: - quizzing:attempts:read available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
quiz_idintegerObligatorioID of the quiz to get attempts for
user_idintegerOptional. Get attempts for a specific user
org_unit_idintegerObligatorioID of the org unit containing the quiz
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Quiz CategoriesD2LBRIGHTSPACE_GET_QUIZ_CATEGORIESAcciónRetrieves all quiz categories belonging to an org unit. returns an objectlistpage json block containing a list of quizcategoryreaddata blocks. requires oauth2 scope: - quizzing:quizzes:read available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_GET_QUIZ_CATEGORIESAcciónRetrieves all quiz categories belonging to an org unit. returns an objectlistpage json block containing a list of quizcategoryreaddata blocks. requires oauth2 scope: - quizzing:quizzes:read available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the org unit to get quiz categories from
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Quiz CategoryD2LBRIGHTSPACE_GET_QUIZ_CATEGORYAcciónRetrieves a specific quiz category from an org unit. returns a quizcategoryreaddata json block containing the category's properties. requires oauth2 scope: - quizzing:quizzes:read available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_GET_QUIZ_CATEGORYAcciónRetrieves a specific quiz category from an org unit. returns a quizcategoryreaddata json block containing the category's properties. requires oauth2 scope: - quizzing:quizzes:read available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
category_idintegerObligatorioID of the quiz category to retrieve
org_unit_idintegerObligatorioID of the org unit containing the quiz category
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Quiz QuestionsD2LBRIGHTSPACE_GET_QUIZ_QUESTIONSAcciónRetrieves all questions in a quiz. returns an objectlistpage json block containing a list of questiondata blocks. requires oauth2 scope: - quizzing:quizzes:read available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_GET_QUIZ_QUESTIONSAcciónRetrieves all questions in a quiz. returns an objectlistpage json block containing a list of questiondata blocks. requires oauth2 scope: - quizzing:quizzes:read available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
quiz_idintegerObligatorioID of the quiz to get questions from
org_unit_idintegerObligatorioID of the org unit containing the quiz
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get QuizzesD2LBRIGHTSPACE_GET_QUIZZESAcciónRetrieves all quizzes belonging to an org unit. returns an objectlistpage json block containing a list of quizreaddata blocks. requires oauth2 scope: - quizzing:quizzes:read available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_GET_QUIZZESAcciónRetrieves all quizzes belonging to an org unit. returns an objectlistpage json block containing a list of quizreaddata blocks. requires oauth2 scope: - quizzing:quizzes:read available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the org unit to get quizzes from
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Role by IDD2LBRIGHTSPACE_GET_ROLE_BY_IDAcciónRetrieves a particular user role from d2l brightspace by its id. requires oauth2 scope: - role:detail:read available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_GET_ROLE_BY_IDAcciónRetrieves a particular user role from d2l brightspace by its id. requires oauth2 scope: - role:detail:read available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
role_idintegerObligatorioID of the role to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get RolesD2LBRIGHTSPACE_GET_ROLESAcciónRetrieves a list of all known user roles in d2l brightspace. returns a list of role data blocks containing the properties of all user roles that the calling user context has permission to manage. requires oauth2 scope: - role:detail:read available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_GET_ROLESAcciónRetrieves a list of all known user roles in d2l brightspace. returns a list of role data blocks containing the properties of all user roles that the calling user context has permission to manage. requires oauth2 scope: - role:detail:read available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get User by IDD2LBRIGHTSPACE_GET_USER_BY_IDAcciónRetrieves data for a particular user from d2l brightspace. requires oauth2 scope: - users:userdata:read available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_GET_USER_BY_IDAcciónRetrieves data for a particular user from d2l brightspace. requires oauth2 scope: - users:userdata:read available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
user_idstringObligatorioThe ID of the user to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get UsersD2LBRIGHTSPACE_GET_USERSAcciónRetrieves data for one or more users from d2l brightspace. requires oauth2 scope: - users:userdata:read available in api versions 1.46+ (lms v20.24.3+) notes: - all search parameters (orgdefinedid, username, externalemail) are optional - returns paginated results when using bookmark parameter
D2LBRIGHTSPACE_GET_USERSAcciónRetrieves data for one or more users from d2l brightspace. requires oauth2 scope: - users:userdata:read available in api versions 1.46+ (lms v20.24.3+) notes: - all search parameters (orgdefinedid, username, externalemail) are optional - returns paginated results when using bookmark parameter
Parámetros de entrada
bookmarkstringOptional. Bookmark to use for fetching next data set segment
userNamestringOptional. User name to look for
orgDefinedIdstringOptional. Org-defined identifier to look for
externalEmailstringOptional. External email address to look for
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Course OfferingD2LBRIGHTSPACE_UPDATE_A_COURSE_OFFERINGAcciónUpdates an existing course offering in d2l brightspace. notes: - course code limitations: max 50 chars, no special chars: \ : * ? " < > | ' # , % & - startdate/enddate: null values won't overwrite existing dates - canselfregister: required for api v1.27+, not supported before v1.27 - description: ignored in api versions 1.25 and earlier requires oauth2 scope: - orgunits:course:update available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_UPDATE_A_COURSE_OFFERINGAcciónUpdates an existing course offering in d2l brightspace. notes: - course code limitations: max 50 chars, no special chars: \ : * ? " < > | ' # , % & - startdate/enddate: null values won't overwrite existing dates - canselfregister: required for api v1.27+, not supported before v1.27 - description: ignored in api versions 1.25 and earlier requires oauth2 scope: - orgunits:course:update available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
course_dataobjectObligatorioUpdated course offering properties
org_unit_idintegerObligatorioID of the course offering to update
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Course TemplateD2LBRIGHTSPACE_UPDATE_A_COURSE_TEMPLATEAcciónUpdates an existing course template in d2l brightspace. notes: - this action completely replaces the template's data with the provided values - course template code limitations: max 50 chars, no special chars: \ : * ? " < > | ' # , % & available in api versions 1.46+ (lms v20.24.3+)
D2LBRIGHTSPACE_UPDATE_A_COURSE_TEMPLATEAcciónUpdates an existing course template in d2l brightspace. notes: - this action completely replaces the template's data with the provided values - course template code limitations: max 50 chars, no special chars: \ : * ? " < > | ' # , % & available in api versions 1.46+ (lms v20.24.3+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the course template to update
template_dataobjectObligatorioUpdated course template properties
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Grade ObjectD2LBRIGHTSPACE_UPDATE_GRADE_OBJECTAcciónUpdates a specific grade object. the grade object can be one of four types: 1. numeric: for numeric grades with max points 2. passfail: for pass/fail assessments 3. selectbox: for predefined grade options 4. text: for text-only feedback note: the provided data completely replaces the existing grade object's data. returns a gradeobject json block containing the updated grade object's data. requires oauth2 scope: - grades:gradeobjects:write available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_UPDATE_GRADE_OBJECTAcciónUpdates a specific grade object. the grade object can be one of four types: 1. numeric: for numeric grades with max points 2. passfail: for pass/fail assessments 3. selectbox: for predefined grade options 4. text: for text-only feedback note: the provided data completely replaces the existing grade object's data. returns a gradeobject json block containing the updated grade object's data. requires oauth2 scope: - grades:gradeobjects:write available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
org_unit_idintegerObligatorioID of the org unit containing the grade object
grade_objectobjectObligatorioUpdated grade object data. Must be one of these types: - Numeric: Includes MaxPoints, CanExceedMaxPoints, etc. - PassFail: Includes MaxPoints, IsBonus, etc. - SelectBox: Includes MaxPoints, IsBonus, GradeSchemeId (required), etc. - Text: Basic grade object with Name, ShortName, etc. Common restrictions: - Do not provide Id field - CategoryId must be valid or 0 - Description must use RichTextInput format - MaxPoints (if applicable) must be between 0.01 and 9999999999 - Name must be unique in the gradebook - Name cannot contain: / " * < > + = | , % - Name and ShortName must be ≤128 characters - Do not provide GradeSchemeUrl or Weight fields Note: All provided data will replace the existing grade object's data.
grade_object_idintegerObligatorioID of the grade object to update
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Grade SetupD2LBRIGHTSPACE_UPDATE_GRADE_SETUPAcciónUpdates the grades configuration for an org unit. expects a gradesetupinfo json block containing: - gradingsystem: the grading system type - isnullgradezero: whether null grades should be treated as zero - defaultgradeschemeid: id of the default grade scheme returns the updated gradesetupinfo json block. requires oauth2 scope: - grades:gradesettings:write available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_UPDATE_GRADE_SETUPAcciónUpdates the grades configuration for an org unit. expects a gradesetupinfo json block containing: - gradingsystem: the grading system type - isnullgradezero: whether null grades should be treated as zero - defaultgradeschemeid: id of the default grade scheme returns the updated gradesetupinfo json block. requires oauth2 scope: - grades:gradesettings:write available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
setup_infoobjectObligatorioThe new grades configuration data
org_unit_idintegerObligatorioID of the org unit to update grades configuration for
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update QuizD2LBRIGHTSPACE_UPDATE_QUIZAcciónUpdates an existing quiz in d2l brightspace. notes: - this action updates only the provided quiz properties - numberofattemptsallowed must be between 1 and 10 (inclusive) or null for unlimited - password must not be empty or whitespace if provided - notificationemail must be a valid email address if provided - timelimitvalue: 0 for no limit (with isenforced false), or 1-9999 for enforced limit - deductionpercentage must be between 0 and 100 if provided - cannot restrict shared quizzes for special access - cannot set auto-submit for quizzes with mandatory questions - as of le api v1.71: - latelimitminutes is ignored - latesubmissionoption 1 is treated as 2 (autosubmitattempt) - submissiongraceperiod is not used - pagingtypeid added in le api v1.78 - date fields should be in utc format requires oauth2 scopes: - quizzing:quizzes:read - quizzing:quizzes:write available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_UPDATE_QUIZAcciónUpdates an existing quiz in d2l brightspace. notes: - this action updates only the provided quiz properties - numberofattemptsallowed must be between 1 and 10 (inclusive) or null for unlimited - password must not be empty or whitespace if provided - notificationemail must be a valid email address if provided - timelimitvalue: 0 for no limit (with isenforced false), or 1-9999 for enforced limit - deductionpercentage must be between 0 and 100 if provided - cannot restrict shared quizzes for special access - cannot set auto-submit for quizzes with mandatory questions - as of le api v1.71: - latelimitminutes is ignored - latesubmissionoption 1 is treated as 2 (autosubmitattempt) - submissiongraceperiod is not used - pagingtypeid added in le api v1.78 - date fields should be in utc format requires oauth2 scopes: - quizzing:quizzes:read - quizzing:quizzes:write available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
quiz_idintegerObligatorioID of the quiz to update
quiz_dataobjectObligatorioUpdated quiz data
org_unit_idintegerObligatorioID of the org unit containing the quiz
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Quiz CategoryD2LBRIGHTSPACE_UPDATE_QUIZ_CATEGORYAcciónUpdates an existing quiz category in d2l brightspace. returns a quizcategoryreaddata json block containing: - categoryid: the id of the category - name: the name of the category - sortorder: the sort order value requires oauth2 scopes: - quizzing:quizzes:read - quizzing:quizzes:write available in api versions 1.75+ (lms v20.24.5+)
D2LBRIGHTSPACE_UPDATE_QUIZ_CATEGORYAcciónUpdates an existing quiz category in d2l brightspace. returns a quizcategoryreaddata json block containing: - categoryid: the id of the category - name: the name of the category - sortorder: the sort order value requires oauth2 scopes: - quizzing:quizzes:read - quizzing:quizzes:write available in api versions 1.75+ (lms v20.24.5+)
Parámetros de entrada
category_idintegerObligatorioID of the quiz category to update
org_unit_idintegerObligatorioID of the org unit containing the quiz category
category_dataobjectObligatorioUpdated quiz category data
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update UserD2LBRIGHTSPACE_UPDATE_USERAcciónUpdates an existing user entity in d2l brightspace. requires oauth2 scope: - users:userdata:update available in api versions 1.46+ (lms v20.24.3+) notes: - firstname and lastname update preferred names if set, otherwise update legal names - externalemail must be null or a valid email address - orgdefinedid must be unique across the organization if provided - pronouns: use empty string ("") to reset, null to keep existing value
D2LBRIGHTSPACE_UPDATE_USERAcciónUpdates an existing user entity in d2l brightspace. requires oauth2 scope: - users:userdata:update available in api versions 1.46+ (lms v20.24.3+) notes: - firstname and lastname update preferred names if set, otherwise update legal names - externalemail must be null or a valid email address - orgdefinedid must be unique across the organization if provided - pronouns: use empty string ("") to reset, null to keep existing value
Parámetros de entrada
user_idintegerObligatorioID of the user to update
user_dataobjectObligatorioUpdated data for the user
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not