AnsweredAssumed Answered

How to find my roles in an enrolled course using Blackboard Learn REST APIs?

Question asked by dpbhatt on Apr 10, 2019
Latest reply on Apr 10, 2019 by moneil

I want to know what is my Roles (Student, Instructor, TeachingAssistant, CourseBuilder, Grader, Guest) in an enrolled course.

 

I called the API /learn/api/public/v1/courses/uuid:d23e128e62f8483699c2683... and passed my AccessToken and got the below response without any role related information. How to get roles of a user in an enrolled course?

 

{

    "id": "_3_1",

    "uuid": "d23e128e6...",

    "externalId": "1001",

    "dataSourceId": "_2_1",

    "courseId": "1001",

    "name": "Maths",

    "description": "This course is for begineers.",

    "created": "2019-02-07T13:46:12.519Z",

    "organization": false,

    "ultraStatus": "Classic",

    "allowGuests": false,

    "readOnly": false,

    "availability": {

        "available": "Yes",

        "duration": {

            "type": "Continuous"

        }

    },

    "enrollment": {

        "type": "InstructorLed"

    },

    "locale": {

        "force": false

    },

    "externalAccessUrl": "https://MyPublicDomain/webapps/blackboard/execute/courseMain?course_id=_3_1&sc="

}

 

 

Outcomes