Requires any of the roles: | member, oauthmember |
GET | /Ams/{ClientID}/Member/{MemberID}/Notifications | Return a list of notifications for a member. | |
---|---|---|---|
POST | /Ams/{ClientID}/Member/{MemberID}/Notifications | Update the notifications status for a member and reset the count flag date. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | body | int | No | |
PageNumber | body | int | No | |
PageSize | body | int | No | |
Offset | body | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
MemberID | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClientID | form | int | No | |
ResponseStatus | form | ResponseStatus | No | |
BypassCache | form | bool | No | |
DateCached | form | DateTime | No | |
Device | form | Device | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
NotificationCount | form | int | No | |
NotificationList | form | List<Notification> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Message | form | string | No | |
Headline | form | PostHeadline | No | |
MemberId | form | int | No | |
PostId | form | int | No | |
HeadshotImage | form | string | No | |
IsRead | form | bool | No | |
DateCreated | form | DateTime | No | |
Category | form | string | No | |
ActionType | form | ActionType | No | |
NavigateUrl | form | string | No | |
PrimaryId | form | int | No | |
PhotoUrl | form | string | No | |
PhotoUrlLarge | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
HeadlineText | form | string | No | |
HeadlineLink | form | List<LinkDetail> | No | |
Photo | form | string | No | |
PhotoId | form | int | No | |
PhotoOwnerId | form | int | No | |
PostId | form | int | No | |
CommentId | form | int | No | |
PhotoCommentId | form | int | No | |
GroupId | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Start | form | int | No | |
End | form | int | No | |
Length | form | int | No | |
Url | form | string | No | |
MemberId | form | int | No | |
PostId | form | int | No | |
EventId | form | int | No | |
GroupId | form | int | No | |
IsBold | form | bool | No | |
IsLink | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Ams/{ClientID}/Member/{MemberID}/Notifications HTTP/1.1
Host: ws.yourmembership.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Id":0,"PageNumber":0,"PageSize":0,"Offset":0,"MemberID":0,"ClientID":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"BypassCache":false,"DateCached":"2025-01-15T08:37:39.6173815-05:00","Device":"Desktop"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"NotificationCount":0,"NotificationList":[{"Id":0,"Message":"String","Headline":{"HeadlineText":"String","HeadlineLink":[{"Start":0,"End":0,"Length":0,"Url":"String","MemberId":0,"PostId":0,"EventId":0,"GroupId":0,"IsBold":false,"IsLink":false}],"Photo":"String","PhotoId":0,"PhotoOwnerId":0,"PostId":0,"CommentId":0,"PhotoCommentId":0,"GroupId":0},"MemberId":0,"PostId":0,"HeadshotImage":"String","IsRead":false,"DateCreated":"0001-01-01T00:00:00.0000000","Category":"String","ActionType":"None","NavigateUrl":"String","PrimaryId":0,"PhotoUrl":"String","PhotoUrlLarge":"String"}],"Id":0,"PageNumber":0,"PageSize":0,"Offset":0,"MemberID":0,"ClientID":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"BypassCache":false,"DateCached":"2025-01-15T08:37:39.6173815-05:00","Device":"Desktop"}