GET ./mesaje

It is used to return the messages list.

GET parameters

NameValue TypeValidationDetails
msgTypeintOptionalvalues[1,2,3,4]; Message type. 1 = received, 2 = sent, 3 = archive, 4 = draft
_limitintOptionalNumber of results.
_offsetintOptionalStarting position of the results.
msgStaredintOptionalvalues[0,1]; Favorite messages.
msgCititintOptionalvalues[0,1]; Read messages.
msgTrashedintOptionalvalues[0,1]; IF the valeu is 1, then we will return all the messages from trash.
filterUaTipintOptionalvalues[1,2,3]; Filter messages after user type. 1= student; 2 - parent; 3 - teacher.
filterSearchstringOptionalSearch for a subject, message, sender, recipient.

Output example for inbox

{
"meta": {
"totalCount": "365"
},
"data": [
{
"msgID": "26951",
"msgExpeditorText": "Adservio Echipa (Reprezentant Adservio)",
"msgSubiect": "Coduri de acces pentru elevi si parinti",
"msgDataInsert": "2018-02-16 15:27:48",
"msgAreAtasamente": "1",
"msgCitit": "0",
"msgStared": "1",
"msgTrashed": "1",
"msgStack": "0"
},
{
"msgID": "26950",
"msgExpeditorText": "Adservio Echipa (Reprezentant Adservio)",
"msgSubiect": "Coduri de acces pentru elevi si parinti",
"msgDataInsert": "2018-02-16 15:26:59",
"msgAreAtasamente": "0",
"msgCitit": "1",
"msgStared": "0",
"msgTrashed": "0",
"msgStack": "0"
}
]
}

Output example for sentbox

{
"meta": {
"totalCount": "265"
},
"data": [
{
"msgID": "26955",
"msgDestinatarText": "Andrei Maia2 - Gr. Mij. BUBURUZA - părinte",
"msgSubiect": "Jurnalul zilei de 25/04",
"msgDataInsert": "2018-04-25 13:04:49",
"msgAreAtasamente": "0",
"msgCitit": "1",
"msgStared": "0",
"countDestinatari": "1",
"countCitit": "0",
"msgStack": "0"
},
{
"msgID": "26954",
"msgDestinatarText": "11 11 - Gr. Mij. BUBURUZA - părinte",
"msgSubiect": "Jurnalul zilei de 24/04",
"msgDataInsert": "2018-04-24 15:45:39",
"msgAreAtasamente": "0",
"msgCitit": "1",
"msgStared": "1",
"countDestinatari": "1",
"countCitit": "0",
"msgStack": "0"
}
]
}