GET ./parinti

It is used to return the list of parents, using different types of filters.

epTip options:

  • 1 - father
  • 2 - mother
  • 3 - legal guardian
  • 4 - other relative
  • 5 - someone else

epSex options:

  • 1 - male
  • 2 - female

GET parameters

NameValue TypeValidationDetails
ascIDintRequiredSchool year ID.
astIDintOptionalStudy year ID.
clIDintOptionalClass ID.
cmcIDintOptionalThe link ID between a teacher, a subject and a class.
epElevIDintOptionalStudent ID.
includeAllintOptionalAdmin only; values[0,1]; Include all. Specifies whether to include deleted parents and / or deleted or transferred students.
includeTransferredintOptional, value[0,1]Specifies whether to include transferred students. It is used only by the administrator/director/secretary.
liceuIDintOptionalThis field is required only for userType APP

Validation

Error FieldError CodeError Message
ascID101Invalid ascID
liceuID102ID scoala invalid.

Output example

{
"meta": {
"countTotal": "5",
"countData": "5",
"countOffset": "0"
},
"data": [
{
"epID": "152241",
"epElevID": "152239",
"epNume": "Radu",
"epPrenume": "Popescu",
"epSex": "1",
"epTel": "+40741348183",
"epTip": "1",
"epEmail": "radu.popescu@yahoo.com",
"epAvatar": "http://oss-dev.adservio.net:9000/avatar/152239-3DoiFwtvGaWOVqdgrXKY.jpg",
"epAvatar": "http://oss-dev.adservio.net:9000/avatar/152239-3DoiFwtvGaWOVqdgrXKY.jpg",
},
{
"epID": "152269",
"epElevID": "152268",
"epNume": null,
"epPrenume": null,
"epSex": "1",
"epTel": "",
"epTip": "2",
"epEmail": null,
"epAvatar": null
},
{
"epID": "152270",
"epElevID": "152238",
"epNume": "Giorgica",
"epPrenume": "Alex",
"epSex": "1",
"epTel": "+40753157188",
"epTip": "1",
"epEmail": "d@gm.co",
"epAvatar": "http://oss-dev.adservio.net:9000/avatar/152238-4JMwkdG7AFYpIDLc0uCK.jpg"
},
{
"epID": "152286",
"epElevID": "152285",
"epNume": null,
"epPrenume": null,
"epSex": "1",
"epTel": null,
"epTip": "1",
"epEmail": "ionel@gmail.com",
"epAvatar": ""
},
{
"epID": "152290",
"epElevID": "152289",
"epNume": null,
"epPrenume": null,
"epSex": "1",
"epTel": "+40741348189",
"epTip": "1",
"epEmail": "sdjdjdjjjdjd@GG.COM",
"epAvatar": ""
}
]
}