Skip to main content
Best Answer

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

  • Jan 11, 2023 10:58 PM UTC
  • 1 reply
  • 231 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

 

View original

1 reply

DanBrill
Novice II
  • Author
  • Novice II
  • Answer
  • Jan 12, 2023 9:06 PM UTC

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