newMsgCount
- Home
- Messaging
- UgcMessage
- newMsgCount
newMsgCount
Returns the number of new messages that one or more users have.
Parameters
Name | Description |
users required | Comma delimited string of user ids. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcMessage?action=newMsgCount&users=229751571,229829209&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
{ "service":"ugcMessage", "action":"newMsgCount", "item":[ { "user_id":"229751571", "count":"5" }, { "user_id":"229829209", "count":"4" } ], "code":1, "message":"New message counts found." } |
Service Information
Service | ugcMessage |
Method | newMsgCount |
Type | REST |
Response Types | JSON, XML |