create
create
Create a User List.
Parameters
Name | Description |
userID required | The user’s primary identifier |
nodeID required | The primary identifier for your network |
name required | The name of the list |
userIDs required | A comma seperated list of userIDs |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcUserList?action=create&userID=229928503&nodeID=188234&name=Test User List&userIDs=229751571,229829209&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
{ "service":"ugcUserList", "action":"create", "code":1, "message":"User List successfully created.", "item":{ "listID":1132707, "creatorUserID":229928503, "nodeID":188234, "type":"ugc", "name":"Test User List", "description":null, "status":null, "dateCreated":null, "listUserIDs":[ "229751571", "229829209" ], "listURL":"https://services.onesite.com/go/userList/view/1132707", "userCount":2 } } |
Service Information
Service | ugcUserList |
Method | create |
Type | REST |
Response Types | JSON, XML |