GET ./teme

It is used to return a list with all the homeworks for a student or a teacher, a subject and a class.

Using the parameter 'cuRating' requires subscription flag: FLAG_HW_FEEDBACK

GET parameters

NameValue TypeValidationDetails
sanIDintRequiredSemester ID.
elevIDintRequiredStudent ID. Required if the user is a parent or a student.
clIDintrequired?Class ID. Required if the caller is a a student or parent.
cmcIDintRequiredThe link ID between a teacher, a subject and a class. Required if the user is a teacher and the parameter grupaID is empty.
grupaIDintRequiredGroup ID between a teacher, a subject and a class. Required if the user is a teacher and the parameter cmcID is empty.
hwDueDateStartstringOptionalrfc_datetime; Date and time from where we want to filter.
hwDueDateEndstringOptionalrfc_datetime; Date and time until we want to filter.
cuProfesorintOptionalvalues[0,1]; If it is 1, in response there will be a key professor with information about the teacher with whom the homework is associated.
cuMaterieintOptionalvalues[0,1]; If it is 1, in response there will be a key materie with information about the subject to which the homework is associated.
cuNotaintOptionalvalues[0,1]; Valid only when the parameter elevID is specified. If it is 1, in response there will be a key nota with the grades received by the student.
cuRatingintOptionalvalues[0,1]; Valid only when the parameter elevID is specified. If it is 1, in response there will be a key rating with the rating received by the student.
cuHwsSubmittedintOptional, Required when hwsSubmitted=1values[0,1]; Valid only when the parameter elevID is specified. If it is 1, in response there will be a key hwsSubmitted which specifies whether the student submitted the homework or not.
cuHwsCountintOptionalvalues[0,1]; Valid only when the parameter cmcID or grupaID is specified. If it is 1, in response there will be a key hwsCount which will contain the number of students associated with the homework.
hwsSubmittedintOptionalvalues[0,1]; Valid only when the parameter elevID is specified.

Obs:

  • hwsSubmitted = null (undeclared) -> we send all assignments (both finished and unfinished)
  • hwsSubmitted = 0 -> send all unfinished assignments
  • hwsSubmitted = 1 -> send all finished assignments

Output example - student

{
"meta": {
"countTotal": "28",
"countData": "5",
"countOffset": "0"
},
"data": [
{
"hwID": "226",
"hwName": "tema adaugata de elev 3",
"hwDescription": "asdasdasd",
"hwInsertDate": "2020-01-27 15:33:12",
"hwDueDate": null,
"hwAllowAfterDueDate": false,
"profesor": {
"uaID": "152126",
"uaTip": "3",
"uaFirstName": "Marina",
"uaLastName": "Ilie",
"uaSex": "2",
"prefAvatar": null,
"functii": [
{
"cfID": "14",
"cfNume": "text_profesor"
}
]
},
"materie": {
"matID": "5",
"matNume": "Matematică"
},
"nota": {
"notaID": "706891",
"notaValoare": "10.00",
"notaData": "2020-02-06",
"notaDataInsert": "2020-02-06 14:58:48",
"notaTip": "7",
"notaObs": "LOREM IPSUM"
},
"rating": {
"hwsRatingID": 3,
"hwsRatingComment": "Lorem"
},
"hwsSubmitted": true
},
{
"hwID": "353",
"hwName": "o tema cu bb code ce are nevoie de parser",
"hwDescription": "<b>>acesta este un text bold</b><i>acesta este un text italic</i><ul><ul><ul><li>bbb</li></ul></ul></ul><br/><br/><br/><br/><br/><ul><ul><ul><li>ccc</li></ul></ul></ul>",
"hwInsertDate": "2020-06-23 15:58:09",
"hwDueDate": null,
"profesor": {
"uaID": "5335",
"uaTip": "3",
"uaFirstName": "Elena",
"uaLastName": "Popescu",
"uaSex": "2",
"prefAvatar": "http://oss-dev.adservio.net:9000/adservio-avatar/5335-Zae5iCBP8LwyXGnHYojk.jpg",
"functii": [
{
"cfID": "14",
"cfNume": "text_profesor"
},
{
"cfID": "16",
"cfNume": "text_director"
},
{
"cfID": "26",
"cfNume": "text_educator"
}
]
},
"materie": {
"matID": "6",
"matNume": "Fizică"
},
"nota": false,
"rating": false,
"hwsSubmitted": true
}
]
}

Output example - professor

{
"meta": {
"countTotal": "3",
"countData": "3",
"countOffset": "0"
},
"data": [
{
"hwID": "46511",
"hwOwnerID": "5335",
"hwName": "Test evaluare",
"hwDescription": "lorem ipsum dolor sit amet <br/> rlorem ipsum dolor sit amet",
"hwInsertDate": "2023-10-10 13:20:45",
"hwDueDate": "2023-10-11 12:12:00",
"hwAllowAfterDueDate": "1",
"hwTeacher": {
"uaID": "5335",
"uaTip": "3",
"uaFirstName": "Iuliana",
"uaLastName": "Popescu",
"uaSex": "2",
"prefAvatar": "https://s3.eu-west-1.amazonaws.com/adsdev-public/2/22-12/14/e28f459f-7a255746b1600fde80f1896c5d5e2dd6.jpg-IbV1CsOWRN2TxlFazJiP",
"roles": [
{
"roleID": "2",
"roleName": "Director"
},
{
"roleID": "4",
"roleName": "Profesor"
}
]
},
"materie": {
"matID": "8",
"matNume": "BIOLOGIE"
},
"hwOwner": {
"uaID": "5335"
}
},
{
"hwID": "46512",
"hwOwnerID": "5335",
"hwName": "test fisier",
"hwDescription": "lorem ipsum <br/> dolor sit amet",
"hwInsertDate": "2023-10-10 13:33:03",
"hwDueDate": "2023-10-12 12:12:00",
"hwAllowAfterDueDate": "0",
"hwTeacher": {
"uaID": "5335",
"uaTip": "3",
"uaFirstName": "Iuliana",
"uaLastName": "Popescu",
"uaSex": "2",
"prefAvatar": "https://s3.eu-west-1.amazonaws.com/adsdev-public/2/22-12/14/e28f459f-7a255746b1600fde80f1896c5d5e2dd6.jpg-IbV1CsOWRN2TxlFazJiP",
"roles": [
{
"roleID": "2",
"roleName": "Director"
},
{
"roleID": "4",
"roleName": "Profesor"
}
]
},
"materie": {
"matID": "8",
"matNume": "BIOLOGIE"
},
"hwOwner": {
"uaID": "5335"
}
}
]
}