Best Answer

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

  • 11 January 2023
  • 1 reply
  • 91 views

Userlevel 1

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.

icon

Best answer by DanBrill 12 January 2023, 22:06

View original

1 reply

Userlevel 1

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

 

Reply