Which web service call allows fetching gradebook categories?

Which web service call allows fetching gradebook categories?

by Zadok Lindt -
Number of replies: 1

When we invoke gradereport_user_get_grade_items, to get a full list of all student grades in a course, the results include a field named categoryid. But the results do not provide information about the category it refers to. (formulas, etc...) Which web service do we invoke to get this information?

Average of ratings: -
In reply to Zadok Lindt

Re: Which web service call allows fetching gradebook categories?

by Zadok Lindt -

Consider the data extracted from a course with a category

itemtype: course,       categoryid: 71,    grade: 61.07
    itemtype: category, category: 80,  grade: 50.87
       itemtype: mod, itemname: test 1, grade: 71.6
       itemtype: mod, itemname: test 2, grade: 81.00
       itemtype: mod, itemname: test 3, grade: 0.00

  1. What is the name (displayed in the gradebook) for category 80, how do we get it?
  2. What is the formula for category 80, how do we get it?

The above two questions are not in the data returned by gradereport_user_get_grade_items.

Thanks!