Sometimes when getting the subjects for a semester, there will be multiple subjects with the same id but a different subject code for some reason, maybe because of a class change. This will lead to the program outputting duplicate information for a subject.
{
"data": [
{
"subjectCode": "CS401",
"id": 65943,
"name": "AP Computer Science Principles",
"eName": "AP Computer Science Principles"
},
{
"subjectCode": "EN203",
"id": 129809,
"name": "IGCSE English Literature",
"eName": "IGCSE English Literature"
},
{
"subjectCode": "EN205",
"id": 129809,
"name": "IGCSE English Literature",
"eName": "IGCSE English Literature"
},
{
"subjectCode": "MA405",
"id": 84014,
"name": "AP Calculus BC",
"eName": "AP Calculus BC"
},
{
"subjectCode": "ML 200",
"id": 130550,
"name": "Chinese as a Second Language II",
"eName": "Chinese as a Second Language II"
},
{
"subjectCode": "ML110",
"id": 41066,
"name": "Spanish I",
"eName": "Spanish I"
},
{
"subjectCode": "PE US",
"id": 34037,
"name": "Physical Education",
"eName": "Physical Education"
},
{
"subjectCode": "SC303",
"id": 65942,
"name": "AP Physics 1",
"eName": "AP Physics 1"
},
{
"subjectCode": "SO211",
"id": 129808,
"name": "IGCSE Economics",
"eName": "IGCSE Economics"
}
],
"msgCN": null,
"msgEN": null,
"state": 0,
"msg": null
}