GET classroomAPI/Portal/getUnreadNotifications?userID={userID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NotificationName | Description | Type | Additional information |
---|---|---|---|
mailID | globally unique identifier |
None. |
|
parentMailID | globally unique identifier |
None. |
|
fromUserID | integer |
None. |
|
toUserID | integer |
None. |
|
toOrganisationID | integer |
None. |
|
priority | integer |
None. |
|
flagged | boolean |
None. |
|
opened | boolean |
None. |
|
msgDate | date |
None. |
|
msgType | integer |
None. |
|
Message | string |
None. |
|
subject | string |
None. |
|
imageURL | string |
None. |
|
videoURL | string |
None. |
|
readDate | date |
None. |
|
updated | date |
None. |
|
cssClass | string |
None. |
|
published | boolean |
None. |
|
publishStart | date |
None. |
|
publishEnd | date |
None. |
|
heading | string |
None. |
|
subheading | string |
None. |
|
localNotification | boolean |
None. |
|
emailNotification | boolean |
None. |
|
pushNotification | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "mailID": "9a062cc0-d921-4086-838b-34b5b0be3d5f", "parentMailID": "c0a8042e-70e4-44c4-b912-d27be5e5117a", "fromUserID": 1, "toUserID": 1, "toOrganisationID": 1, "priority": 3, "flagged": true, "opened": true, "msgDate": "2024-11-25T04:34:55.9759368-05:00", "msgType": 7, "Message": "sample string 8", "subject": "sample string 9", "imageURL": "sample string 10", "videoURL": "sample string 11", "readDate": "2024-11-25T04:34:55.9759368-05:00", "updated": "2024-11-25T04:34:55.9759368-05:00", "cssClass": "sample string 12", "published": true, "publishStart": "2024-11-25T04:34:55.9759368-05:00", "publishEnd": "2024-11-25T04:34:55.9759368-05:00", "heading": "sample string 13", "subheading": "sample string 14", "localNotification": true, "emailNotification": true, "pushNotification": true }, { "mailID": "9a062cc0-d921-4086-838b-34b5b0be3d5f", "parentMailID": "c0a8042e-70e4-44c4-b912-d27be5e5117a", "fromUserID": 1, "toUserID": 1, "toOrganisationID": 1, "priority": 3, "flagged": true, "opened": true, "msgDate": "2024-11-25T04:34:55.9759368-05:00", "msgType": 7, "Message": "sample string 8", "subject": "sample string 9", "imageURL": "sample string 10", "videoURL": "sample string 11", "readDate": "2024-11-25T04:34:55.9759368-05:00", "updated": "2024-11-25T04:34:55.9759368-05:00", "cssClass": "sample string 12", "published": true, "publishStart": "2024-11-25T04:34:55.9759368-05:00", "publishEnd": "2024-11-25T04:34:55.9759368-05:00", "heading": "sample string 13", "subheading": "sample string 14", "localNotification": true, "emailNotification": true, "pushNotification": true } ]
application/xml, text/xml
Sample:
<ArrayOfNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Classroom.ClassroomBLL.ClassroomCommon"> <Notification> <Message>sample string 8</Message> <cssClass>sample string 12</cssClass> <emailNotification>true</emailNotification> <flagged>true</flagged> <fromUserID>1</fromUserID> <heading>sample string 13</heading> <imageURL>sample string 10</imageURL> <localNotification>true</localNotification> <mailID>9a062cc0-d921-4086-838b-34b5b0be3d5f</mailID> <msgDate>2024-11-25T04:34:55.9759368-05:00</msgDate> <msgType>7</msgType> <opened>true</opened> <parentMailID>c0a8042e-70e4-44c4-b912-d27be5e5117a</parentMailID> <priority>3</priority> <publishEnd>2024-11-25T04:34:55.9759368-05:00</publishEnd> <publishStart>2024-11-25T04:34:55.9759368-05:00</publishStart> <published>true</published> <pushNotification>true</pushNotification> <readDate>2024-11-25T04:34:55.9759368-05:00</readDate> <subheading>sample string 14</subheading> <subject>sample string 9</subject> <toOrganisationID>1</toOrganisationID> <toUserID>1</toUserID> <updated>2024-11-25T04:34:55.9759368-05:00</updated> <videoURL>sample string 11</videoURL> </Notification> <Notification> <Message>sample string 8</Message> <cssClass>sample string 12</cssClass> <emailNotification>true</emailNotification> <flagged>true</flagged> <fromUserID>1</fromUserID> <heading>sample string 13</heading> <imageURL>sample string 10</imageURL> <localNotification>true</localNotification> <mailID>9a062cc0-d921-4086-838b-34b5b0be3d5f</mailID> <msgDate>2024-11-25T04:34:55.9759368-05:00</msgDate> <msgType>7</msgType> <opened>true</opened> <parentMailID>c0a8042e-70e4-44c4-b912-d27be5e5117a</parentMailID> <priority>3</priority> <publishEnd>2024-11-25T04:34:55.9759368-05:00</publishEnd> <publishStart>2024-11-25T04:34:55.9759368-05:00</publishStart> <published>true</published> <pushNotification>true</pushNotification> <readDate>2024-11-25T04:34:55.9759368-05:00</readDate> <subheading>sample string 14</subheading> <subject>sample string 9</subject> <toOrganisationID>1</toOrganisationID> <toUserID>1</toUserID> <updated>2024-11-25T04:34:55.9759368-05:00</updated> <videoURL>sample string 11</videoURL> </Notification> </ArrayOfNotification>