0

Whereas $count allows to get the entities count inside the response body, sometimes there is no need to get the entities, but the amount. According to the official docs there is no way for doing so, maybe some workarounds ?

1 Answers1

0

Given the class notebook id, do the following:

GET ~/classnotebooks/ID/sectiongroups?$count=true&$select=id

That would give you the count of sectiongroups in the notebook and the id's of those sectiongroups.

Jorge Aguirre
  • 2,787
  • 3
  • 20
  • 27