getStatuses
- Home
- Activity Feed
- UgcStatus
- getStatuses
getStatuses
Grabs statuses based off of nodeID, siteID or userID. If more than one is set, it will preferentially use userID, then siteID, then nodeID.
Parameters
Name | Description |
nodeID optional | The primary identifier for your network. |
siteID optional | Site on which the status appears |
userID optional | The user making the status |
optional | |
optional | |
sortOrder optional | Sort order |
archived optional | Whether or not the status is archived. |
num optional | The number of results to display per page |
page optional | The page of results to display |
optional | |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcStatus?action=getStatuses&userID=229928503&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
{ "service":"ugcStatus", "action":"getStatuses", "code":1, "message":"Statuses retrieved", "item":[ { "nodeId":188234, "userId":229928503, "siteId":234714047, "statusText":"Test Status Update", "timestamp":1548887055, "active":1, "statusId":1014439, "archiveId":0 } ], "total":"1" } |
Service Information
Service | ugcStatus |
Method | getStatuses |
Type | REST |
Response Types | JSON, XML |