userNotificationSummary
- Home
- Messaging
- UgcMessage
- userNotificationSummary
userNotificationSummary
Returns user notification summary.
Parameters
| Name | Description | 
| userID optional | A single user id. | 
| nodeID optional | The primary identifier for your network. | 
| output optional | The response output format. Accepts JSON and XML. | 
Request Syntax
| https://services.onesite.com/rest/ugcMessage?action=userNotificationSummary&userID=229751571&nodeID=188234&devkey=[devkey] | 
JSON Response
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | { 	"service":"ugcMessage", 	"action":"userNotificationSummary", 	"item":[ 		{ 			"__className":"stdClass", 			"name":"new_messages", 			"count":"5" 		}, 		{ 			"__className":"stdClass", 			"name":"unread_broadcasts", 			"count":"1" 		}, 		{ 			"__className":"stdClass", 			"name":"friend_requests", 			"count":"0" 		}, 		{ 			"__className":"stdClass", 			"name":"gathering_invites", 			"count":"0" 		}, 		{ 			"__className":"stdClass", 			"name":"group_invites", 			"count":"0" 		}, 		{ 			"__className":"stdClass", 			"name":"pending_comments", 			"count":"0" 		} 	], 	"code":1, 	"message":"Success", 	"total":6 } | 
Service Information
| Service | ugcMessage | 
| Method | userNotificationSummary | 
| Type | REST | 
| Response Types | JSON, XML | 
