API Cookbooks
API
Development
Discussion List
-
Using the Valence REST API, how to search for course(s) by name or by semester name
I am new to this. I authorize using oAuth2 (PHP and cURL) and can query or update our D2L Brightspace data from our Student Information System. But is there an API function for : 1.Searching for a course(s) by name, ex. "Science"? I can only list ALL of courses. 2.Searching for a course(s) by semester name? Currently, I…
-
Remote plugin setup OAuth signature method not working
We are trying to add a new remote plugin, and find that even though we set the OAuth signature method to HMAC-SHA1, it ends up becoming HMAC-SHA256. Has anyone encountered this before or know why it is? Thanks.
-
get Forbidden statuscode on User Attributes api
{{BrightspaceDomain}}/d2l/api/lp/{{lpversion}}/attributes/users/ /d2l/api/lp/1.42/attributes/users/143002 With IdKey authenticaion, this api returns Fordidden Is there any configuration causing this issue?
-
Automating Google Workspace account updates
We're updating our workflow that allows students to do a self-service preferred name change. It includes the option to update the username/email as well. Our current IPSIS/ILP integration correctly updates the D2L details for the students, but if the student's gmail address is also updated, the D2L/Google Workspace link…
-
classlist paged could not get Username nor Email
{{BrightspaceDomain}}/d2l/api/le/{{leversion}}/6606/classlist/paged/ always return null on Username and Email, which seems to be a bug Those two fields do have data in{{BrightspaceDomain}}/d2l/api/lp/{{lpversion}}/users/ return
-
Looking for API calls for quiz results displays
I found myself in a situation where I need to update a whole mess of quiz result displays and I'm having trouble finding anything in the API that could help me. Specifically, I'm looking for something that would allow me to download and upload the text from the messages in each of the results display views of a particular…
-
Error/bug with deep linking 1.3 in Brightspace
I'm trying to test our LTI 1.3 integration. It works in other LMS systems, but not Brightspace, so it leads me to believe that there's either a bug in Brightspace, or that there's a setting I'm missing. When I get through the deep linking process, I get a generic message. Upon checking logs, it shows "Something went wrong…
-
Error: "type": "about:blank"
Hi, We are using the BrightSpace API in our app. Recently, we are getting the following error in updating a user's info. PUT /d2l/api/lp/(version)/users/(userId) body: { "OrgDefinedId": <string>, "FirstName": <string>, "MiddleName": null, "LastName": <string>, "ExternalEmail": null, "UserName": <string>, "Activation": {…
-
Update User Data Using API
I've been using this PUT request to update user information for years. On April 12 2022 it stop working and I am receiving the error: "Validation Error: The Org Defined ID is already assigned to a different user." I have found a hack fix where I change the Org Defined ID to 00000000.temp run the put request then run it…
-
to use wildcards in Query Parameters
Is it possible to use wildcards in the api query parameters, for example, I need to search by First and Last Names in this api, GET /d2l/api/lp/(version)/users/ Unfortunately, there is no such Query Parameters, but if I can search externalEmail with wildcards, it will help.
-
Populating courses from a course template
Hi everyat ione, We are planning on building out robust course templates for every course so that when our SIS integration is ready it will create the courses that look identical to the parent template. It seems that when I try and create a course based on a parent template it doesn't automatically build the course.…
-
How can I pull an excel based report of Course Progress for the entire Classlist?
I'm using our Brightspace LMS in an institutional capacity vs. academic. Often our developed courses contain only assets that need to be tracked for completion and there are no quizzes, assignments or other graded items. Currently we are using a quiz for each module as an attestation for completion. Why isn't there a way…
-
Course Progress not matching content
Hello Community! I had an issue today where we have an Articulate Storyline eLearning in a module that opens to a new window. For some reason, the course progress shows the asset is incomplete, however upon reviewing the eLearning, the user completed all portions of the imported course. Please advise. Course Progress:…
-
Ability to pull User Progress via API
How can I pull user Progress via the API? When I try yo use GET /d2l/api/le/(version)/(orgUnitId)/content/userprogress/, I get a 404 back. Regarding , 'Finally, note that the back-end service may not have all the Brightspace functionality enabled to provide access to all the APIs contained in this API reference…
-
Ability to pull User Progress via API
How can I pull user Progress via the API? When I try yo use GET /d2l/api/le/(version)/(orgUnitId)/content/userprogress/, I get a 404 back. Regarding , 'Finally, note that the back-end service may not have all the Brightspace functionality enabled to provide access to all the APIs contained in this API reference…
Upcoming Events
-
What's New for December 20.23.12
Want to stay on top of the latest and greatest in Brightspace being released this month? This session will cover all the newest release information in December 2023!
-
Launching our Brand New Outcome Achievement Dashboard
Join the Community Team, Mike Moore and Darcy Wither, Senior Product Managers, for an update to Outcomes Achievement Dashboard! What to Expect❓ 🥅 Product experts share the vision and goals of iterative releases 🖼 Experience screenshots and mock ups 🙋♀️ Ask your questions and get answers Can't wait to see you there!🎉