-
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:…
-
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…
-
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??
-
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…
-
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.
-
Authentication API call returns a 302 Object Moved / 404 Not Found error. Not clear why?
The curl for the API is: curl "https://partnertraining.netspend.com/d2l/auth/api/token/?x_a=tRxth24H417mCZBIOKfamg&x_b=7DD6O3TrUHCY2MFvxJYkBoFVLlXrM9jBvamyOTY-TJY&x_target=https://netspend.online-rewards-qa.com:443/brightspace-auth" Response: 302 Object moved Location: /d2l/error/404/log?targetUrl=<arguments to the curl> I…
-
How to get config variable api data from json?
Hi, I have written class inc # public class Configvariable { public string ConfigId { get; set; } public string Name { get; set; } public string Scope { get; set; } public string Description { get; set; } public string DataType { get; set; } public string DefaultValue { get; set; } public bool CanEditSystemValue { get;…
-
Is there a way to get all submissions/attempts for a quiz?
I am already pulling all quizzes from an OrgID, but I would like to be able to pull attempts as well. Working on a progress list widget and would like the list to update student progress as the student completes assessments.
-
How to use POST API method to create Extended User Attributes?
We are having custom attributes for the users called Extended User Profile Attributes. Kindly let me know is there any API methods for Extended User Profile Attributes.
-
How to set access token when retrieving content topic file
I received below error message : { Errors: [ {Message: "Insufficient scope to call API.Required: content:modules:read"} ] } when using API GET /d2l/api/le/(version)/(orgUnitId)/content/topics/(topicId)/file Per D2L document(https://docs.valence.desire2learn.com/res/content.html?highlight=d2l api le version orgunitid…
-
Is there a logout API call?
I am using the d2lvalence SDK for Python. The first time a user accesses the login page via the create_url_for_authentication call, they login to D2L. However, the next time they access this page, they are not required to login, as their session is saved. When. you go to D2L and logout, then re-access this page, then you…
-
Group Enrollment Data Issue (Valence API)
I am trying to resolve an issue with group enrollments. I have an internally-developed app that makes a call to get the enrollment for the groups that the calling user (i.e. student) is a member of using this route: /d2l/api/lp/(version)/(orgUnitId)/groupcategories/(groupCategoryId)/groups/ When the enrollment data is…
-
Why do I get error code 400 when I Post Topic to D2L?
Url: "https://partners.brightspace.com/d2l/api/le/1.12/10593/content/modules/366347/structure/?x_a=......................." request body (as described here): {"Title":"123", "ShortTitle":"", "Type":1, "TopicType":3,…
-
How to move section(s) to a different course offering? Valence
I have two course offerings with three sections in each and I want to move all sections under one course. * CourseA * Sec1, Sec2, Sec3 * CourseB * Sec4, Sec5, Sec6 I tried removing the parent relationship with CourseB from Sec4,5,6 and adding CourseA as their parent. DELETE /orgstructure/Sec4/parent/CourseB POST…
-
Valence UI... what happened to it?
Hi all, I was just checking on the documentation for the vui as I was telling a colleague about it... http://ui.valence.d2l.com/ seems to be pointing to a 404 error now.... what happened to it? Did vui moved from bower to something else?
-
Is there an API call to retrieve list of all courses with orgUnitId's?
I am looking for a specific non-course and I need a way to dynamically retrieve the orgUnitIds.
-
How do the geotag metadata for ePortfolio objects get populated?
According to the API documentation, ePortfolio objects can be geotagged. (http://docs.valence.desire2learn.com/res/epobject.html ) As I support a Geography course, I can see some potential use cases for this functionality. Does anybody know how that gets populated? I was hoping that for images that had geotagging data in…