getNetworkMessages
- Home
- Messaging
- UgcMessage
- getNetworkMessages
getNetworkMessages
Fetches all messages sent in a given timeframe.
Parameters
| Name | Description |
| page optional | The requested page of results. |
| perPage optional | The number of results to pull per page. |
| status optional | The status to update the message to. |
| endDate optional | Unix timestamp of ending date. |
| startDate optional | Unix timestamp of ending date. |
| nodeID required | 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=getNetworkMessages&page=1&perPage=1&status=new,read&nodeID=188234&startDate=1320796868&endDate=1550169114&devkey=[devkey] |
JSON Response
|
1 2 3 4 5 6 7 8 |
{ "service":"ugcMessage", "action":"getNetworkMessages", "code":1, "message":"Success!", "page":1, "per_page":1 } |
Service Information
| Service | ugcMessage |
| Method | getNetworkMessages |
| Type | REST |
| Response Types | JSON, XML |