There is no getCategoriesForClass endpoint and so the relationship between a Class and Category can only be identified through a LineItem. The data model for a ‘lineItem’ includes the ‘sourcedId’ for both the Class and the Category (both of these fields MUST be populated i.e. a LineItem MUST be associated with one Class and one Category). Therefore, use of the getLineItemsForClass endpoint is used and the response payload is then analysed to retrieve the set of 'sourcedId' for the categories. Note that support for the getLineItemsForClass endpoint is optional for both consumers and providers.
How can the association between a Category, in the gradebook, and a Class, in the roster, be obtained? Print
Created by: ColinSmythe
Modified on: Wed, 24 Feb, 2021 at 11:44 AM
Did you find it helpful?Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.