GET ./mesaje/recipients
Need subscription flag (for student/parent): FLAG_MSG_OPENED_REPORT
Returns the list of recipients of a message. Can be filtered by read status.
GET parameters
Name | Value Type | Validation | Details |
---|---|---|---|
msgID | int | required | Message ID. |
m2dCitit | int | values[0,1] | Used to filter by read status. |
uacTipID | int | Used to filter user type. | |
search | string | Used to search for a specific person by name. |
Validation
Error Field | Error Code | Error Message |
---|---|---|
msgID | 101 | Invalid msgID. |
Output example
{"meta": {"countTotal": "1","countData": "1","countOffset": "0"},"data": [{"m2dCitit": "0","recepient": {"uaID": "5335","uaTip": "3","uaFirstName": "Elena","uaLastName": "Popescu","uaSex": "2","prefAvatar": "https://oss-dev.adservio.net/adservio-avatar/07927f39445e582322780d92c25c971ca7fd1e1da07fd2bcbecb6024f9d1b640.png","roles": [{"roleID": "2018","roleName": "Director"}]}}]}