RHP_API

<back to all web services

GetUserNotificationTotal

Requires Authentication
The following routes are available for this service:
GET/User/Notification/Total
NotificationTotals Parameters:
NameParameterData TypeRequiredDescription
PhotoLikeTotalformintNo
AlertTotalformintNo
NotificationTotalformintNo
FriendRequestTotalformintNo
ValidationTotalformintNo
GrandTotalformintNo
DateFinderInterestTotalformintNo
SupportTicketTotalformintNo
ClubTotalsformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /User/Notification/Total HTTP/1.1 
Host: tstsrvs.redhotpie.com.au 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<NotificationTotals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP.Model">
  <AlertTotal>0</AlertTotal>
  <ClubTotals>0</ClubTotals>
  <DateFinderInterestTotal>0</DateFinderInterestTotal>
  <FriendRequestTotal>0</FriendRequestTotal>
  <GrandTotal>0</GrandTotal>
  <NotificationTotal>0</NotificationTotal>
  <PhotoLikeTotal>0</PhotoLikeTotal>
  <SupportTicketTotal>0</SupportTicketTotal>
  <ValidationTotal>0</ValidationTotal>
</NotificationTotals>