setStatus
- Home
- Activity Feed
- UgcStatus
- setStatus
setStatus
Sets the status of a user/site.
Parameters
Name | Description |
nodeID required | The primary identifier for your network. |
siteID required | Site on which the status appears |
userID required | The user making the status |
optional | |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcStatus?action=setStatus&userID=229928503&siteID=234714047&nodeID=188234&status=Test Status Update&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
{ "service":"ugcStatus", "action":"setStatus", "item":{ "nodeId":188234, "userId":229928503, "siteId":234714047, "statusText":"Test Status Update", "timestamp":1548887055, "active":1, "statusId":1014439, "archiveId":0 }, "code":1, "message":"Status successfully updated." } |
Service Information
Service | ugcStatus |
Method | setStatus |
Type | REST |
Response Types | JSON, XML |