-
Is there a way to recommend potential next courses?
Is there a tool or recommended external tool to be able to suggest certifications to learners based on their role, searches, or recently completed courses (like the Netflix recommendations algorithm)? I'm happy to submit a PIE if needed. Our courses are all optional. They don't have start/end dates. Users can self-enroll…
-
Why is "Email" returned as null in the Enrollment.ClasslistUser list result after calling GET...
Why is "Email" returned as null in the Enrollment.ClasslistUser list result after calling GET /d2l/api/le/(version)/(orgUnitId)/classlist/? These same users have email which shows up in User.UserData and User.UserProfile. But for some reason it does not get populated in Enrollment.ClasslistUser. This is what I get:…
-
I am trying to create a topic post when students complete an action. I am getting the dreaded...
I am trying to create a topic post when students complete an action. I am getting the dreaded Status 400 error : Request has missing or invalid parameters. I have checked the API reference for CreatePostData. Here is the sample code so far : let postString = '{"ParentPostId": null, "Subject": "This is a test post via API",…
-
Grade value DELETE API gives "405 Method Not Allowed" error
Hi All, We are trying to execute a DELETE request to the API "/d2l/api/le/(version)/(orgUnitId)/grades/(gradeObjectId)/values/(userId)" to delete an existing grade item value for a user. But we are getting the following error: { "type": "http://docs.valence.desire2learn.com/res/apiprop.html#method-not-allowed", "title":…
-
Update LTI Quicklink via API request: JSON Binding Error
I am attempting to update an LTI 1.0 Quicklink via the API (Oauth 2.0, in Postman). The initial connection is fine and I can retrieve data via GET requests. I am using PUT to send raw JSON to: https://mysite.brightspace.com/d2l/api/le/1.52/lti/link/1234 My JSON: (as described by…
-
YouTube Insert Stuff high rate of failure
We set up an API key and project last year to get the Insert Stuff > YouTube workflow to work again and it seemed to be going fairly well. However recently, we're experiencing a lot of these videos now give an error and don't load, even though the still screenshot looks fine until you click play. Looking at the YouTube…
-
API Question - Automatic upload of an externally created 4MB JSON File to "Org files" each night
I have an external (to Brightspace) automated overnight batch process that outputs a single JSON file (approx. 4MB). I would like the JSON file to be automatically uploaded into Brightspace (Content folder in the main Organisational Files) replacing yesterday's file. The JSON is used by a custom Widget and currently this…
-
I get a 500 Internal Server Error when trying to create a demographics field via the POST...
I get a 500 Internal Server Error when trying to create a demographics field via the POST /d2l/api/lp/(version)/demographics/fields/ endpoint The JSON I'm sending in the body via Postman is: { "Name": "IsEmployed", "Description": "Are you employed?", "DataTypeId": "{{$guid}}" }
-
Hello,
Running into some issues with updating a user's profile image through the POST...
Hello,Running into some issues with updating a user's profile image through the POST /d2l/api/lp/(version)/profile/myProfile/image API. I’m using Node and the multer, form-data, and axios npm libraries. *Update* So far I have: // from multer — upload.single(‘file) const fileInfo = { name: file.originalname, contentType:…
-
405: Method Not Allowed error when attempting to delete Discussion Posts
I'm am trying to add support for Discussions to my web application and have run into an issue with deleting discussion posts in particular (endpoint reference link). I've tested my GET, POST, and DELETE endpoint calls for Forums and Topics, and all work without issue. I am also able to GET discussion posts without a…
-
Receiving an invalid token (403-Forbidden) error from POST when using Python d2lValence library....
Receiving an invalid token (403-Forbidden) error from POST when using Python d2lValence library. Exact call is successful (200-OK) when using .NET d2Valence library. Hello - I have been using the D2LValence .NET extension for quite some time to automate the downloading and processing of BDS reports. We have need of the…
-
Correct OAuth2 scope for creating new News items
I am trying to incorporate News item creation (endpoint reference link) into my web app and am running into permissions/OAuth2 scope problems. The API reference does not mention specific scope requirements for POSTing to /news, and this knowledge base article seems to suggest any route without specific notes should be…
-
Suggestion for GitHub repository code update(Fusion 2020) ---for Paul's question
--Add bulk org unit upload capability -- Get users data includes deleted ones --Add announcements --Add Grades --Add LTI Data
-
Is the OrgUnitTypeId for CourseOffering is fixed for all D2l Instances??
OrgUnitType Id for Course offering is "3" for my installation. Is it fixed for all D2L installation or it depends on the D2L installation. I want to filter organization of Course Offering type since https://docs.valence.desire2learn.com/res/orgunit.html#get--d2l-api-lp-(version)-outypes- this API is not authorized for…
-
Invalid Parameters Error when I trying to get assessment request.
I am not able to figure out which parameter is missing out incorrect. I have added all the params as per the assessment API doc https://docs.valence.desire2learn.com/res/assessment.html#get--d2l-api-le-(version)-(orgUnitId)-assessment. Is there something wrong in the API call??
-
Is it possible to run the IPSIS import more than once a day?
Currently, we send data files to our Brightspace server and the IPSIS imports the data at 5AM. Would it be possible to do the import multiple times during the day? That way a student could access a class the same day they enroll in it.
-
le 1.22 Classlist API not providing username and email?
I am a developer for a 3rd party vendor that offers Attendance taking solutions to schools. As such, I make use of D2L APIs that provide me information about students in a course. The API that I use to get enrollments is the classlist API…
-
Questions about enrolment creation via rest API
I am attempting to create an enrolment via the api but I am running into the following error. { "type": "http://docs.valence.desire2learn.com/res/apiprop.html#not-authorized", "title": "Not Authorized", "status": 403, "detail": "Insufficient scope to call API.Required: enrollment:orgunit:create" } When i change the scope…
-
Why does GET /d2l/api/le/(version)/(orgUnitId)/calendar/events/user/ return data for more than...
Why does GET /d2l/api/le/(version)/(orgUnitId)/calendar/events/user/ return data for more than one orgUnitId? I'm working with the GET /d2l/api/le/(version)/(orgUnitId)/calendar/events/user/ endpoint and am a bit confused about the returned data. I have a student that is registered in 3 different courses. When I call the…
-
YouTube API key for Insert Stuff
I found this [Archived Content] documentation in the community that suggests we need to set up a YouTube Data API account to use the YouTube Insert Stuff functionality. Has anyone done this? Otherwise it just looks like the Insert Stuff YouTube option is broken.