POST Users/GetUserNotifications
Get notifications for user
Request Information
URI Parameters
None.
Body Parameters
RequestUserNotifications| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID |
ID of user |
integer |
None. |
| PageSize |
Number of notifications to return - 0 returns all |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"PageSize": 2
}
text/html
Sample:
{"UserID":1,"PageSize":2}
application/xml, text/xml
Sample:
<RequestUserNotifications xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2"> <PageSize>2</PageSize> <UserID>1</UserID> </RequestUserNotifications>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of UserNotifications| Name | Description | Type | Additional information |
|---|---|---|---|
| Not_Title | string |
None. |
|
| Not_Description | string |
None. |
|
| Not_DateTime | string |
None. |
|
| Not_LinkType | integer |
None. |
|
| Not_LinkData | string |
None. |
|
| Not_Image | string |
None. |
|
| Not_CalendarLogID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Not_Title": "sample string 1",
"Not_Description": "sample string 2",
"Not_DateTime": "sample string 3",
"Not_LinkType": 4,
"Not_LinkData": "sample string 5",
"Not_Image": "sample string 6",
"Not_CalendarLogID": 7
},
{
"Not_Title": "sample string 1",
"Not_Description": "sample string 2",
"Not_DateTime": "sample string 3",
"Not_LinkType": 4,
"Not_LinkData": "sample string 5",
"Not_Image": "sample string 6",
"Not_CalendarLogID": 7
}
]
text/html
Sample:
[{"Not_Title":"sample string 1","Not_Description":"sample string 2","Not_DateTime":"sample string 3","Not_LinkType":4,"Not_LinkData":"sample string 5","Not_Image":"sample string 6","Not_CalendarLogID":7},{"Not_Title":"sample string 1","Not_Description":"sample string 2","Not_DateTime":"sample string 3","Not_LinkType":4,"Not_LinkData":"sample string 5","Not_Image":"sample string 6","Not_CalendarLogID":7}]
application/xml, text/xml
Sample:
<ArrayOfUserNotifications xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2">
<UserNotifications>
<Not_CalendarLogID>7</Not_CalendarLogID>
<Not_DateTime>sample string 3</Not_DateTime>
<Not_Description>sample string 2</Not_Description>
<Not_Image>sample string 6</Not_Image>
<Not_LinkData>sample string 5</Not_LinkData>
<Not_LinkType>4</Not_LinkType>
<Not_Title>sample string 1</Not_Title>
</UserNotifications>
<UserNotifications>
<Not_CalendarLogID>7</Not_CalendarLogID>
<Not_DateTime>sample string 3</Not_DateTime>
<Not_Description>sample string 2</Not_Description>
<Not_Image>sample string 6</Not_Image>
<Not_LinkData>sample string 5</Not_LinkData>
<Not_LinkType>4</Not_LinkType>
<Not_Title>sample string 1</Not_Title>
</UserNotifications>
</ArrayOfUserNotifications>