Add a list on front to select if show all curricular units, curricular units the student can do or only the valid curricular unit ones when adding evaluations of a curricular unit.
For Faculty/Carrera/Plan/ucs api call just add "valid_flag" with any value to show only valid ones, if its undefined it shows all curricular units.
Examples: Show All - Show only valid
Using Faculty/Carrera/Plan/eval api call you can get the curricular units the student can do. It requires the next Body:
{
faculty: string,
career: string,
plan: int || string,
file: xmi,
valid_flag: true
}
Being file the student model. And valid_flag HAS to be true.