getOrCreateFolder
- Home
- Messaging
- UgcMessage
- getOrCreateFolder
getOrCreateFolder
Get or create a folder if one does not exist
Parameters
Name | Description |
userID required | A single user id. |
folderName required | The folder name |
folderDescription optional | The folder description |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcMessage?action=getOrCreateFolder&userID=229751571&folderName=News&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 |
{ "service":"ugcMessage", "action":"getOrCreateFolder", "item":{ "folder_id":380974 }, "code":1, "message":"Success" } |
Service Information
Service | ugcMessage |
Method | getOrCreateFolder |
Type | REST |
Response Types | JSON, XML |