Endpoint (Method): getEditionModuleAssignmentDetailsListByIds
Endpoint (Method)
Name: getEditionModuleAssignmentDetailsListByIds()
Yeah I know it's a mouthful, feel free to name it however you want.
Params | Type | Comment |
---|---|---|
Input | ||
Long | userid | the id of the person from whose perspective this is |
List<Long> | editionIDs | a list of inividual edition ids |
Output | ||
List<EditionModuleAssignmentDetailsDTO> | editions | a list of inividual editions found by ids, see in #74 (closed) |
What does this method do?
- retrieve a list of edition details by edition ids
Usage
In the new CPM there will be a user page for everyone. Students can see their own page and teachers can see pages of their students with filtered list of course editions, they can see only the parts they thought. It will look something like this (although do not focus on it too much as some of it already changed):
I can already access the information in the first block, but I need a way of accessing a list of course editions from a one students perspective. The list contains editions, which contain the person's role and the modules of this editions, these contain the information about in which group the person is and what assignments they did and what grade they received. The problem is the people with something other than student role are not in groups and have no grades, there I am not sure what to display, for now only a list of modules and assignments is probably enough, therefore just leave the rest empty. I am not sure what the best way of doing this is, but I made a proposal. It is split into issues (#72 (closed) #73 (closed) #74 (closed) #75 (closed)) due to me misunderstanding Sara.