Skip to main content
Answer

API Endpoint: /learn/v1/courses/report -- missing fields?

  • January 11, 2023
  • 1 reply
  • 120 views

DanBrill
Novice II

Hi,

I’m trying to see the users enrolled in courses. I’m using the /learn/v1/courses/report endpoint. According to the Response Sample in the API Browser, this data should be included:


However, those fields seem to be missing and my returned data starts with idCourse, code, etc.:

 

screenshot of Power Query field selector of returned data

I have superadmin permission. Is there a reason this is missing? Should I be using a different endpoint? Thanks for any insights.

Best answer by DanBrill

While I don’t understand why those fields aren’t there, I was able to get the data I needed with

/course/v1/courses/enrollments

 

1 reply

DanBrill
Novice II
  • Author
  • Novice II
  • Answer
  • January 12, 2023

While I don’t understand why those fields aren’t there, I was able to get the data I needed with

/course/v1/courses/enrollments