When I get the memberships for a couse I am working with, I am only getting status, roles, user id, and lis person source id. I would also like to get the student name and email, is there some setting that needs to be turned on in order to recieve that data? I have attached the response I am getting below:
{
"id": "https://<mytestsite>/mod/lti/services.php/CourseSection/9/bindings/5/memberships",
"context": {
"id": "9",
"label": "T123",
"title": "Testing 123"
},
"members": [
{
"status": "Active",
"roles": [
"Learner"
],
"user_id": "1047",
"lis_person_sourcedid": "43"
},
{
"status": "Active",
"roles": [
"Learner"
],
"user_id": "1044",
"lis_person_sourcedid": "40"
},
{
"status": "Active",
"roles": [
"Instructor"
],
"user_id": "3",
"lis_person_sourcedid": ""
},
{
"status": "Active",
"roles": [
"Learner"
],
"user_id": "1061",
"lis_person_sourcedid": "57"
}
]
}