getFolders
- Home
- Messaging
- UgcMessage
- getFolders
getFolders
Get the list of a user’s folders
Parameters
Name | Description |
userID required | A single user id. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcMessage?action=getFolders&userID=229751571&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
{ "service":"ugcMessage", "action":"getFolders", "item":[ { "folder_id":0, "folder_name":"Inbox", "folder_description":"" }, { "folder_id":"380974", "folder_name":"News", "folder_description":"" } ], "total":2, "code":1, "message":"Success" } |
Service Information
Service | ugcMessage |
Method | getFolders |
Type | REST |
Response Types | JSON, XML |