addToList
- Home
- Users & Groups
- UgcUserList
- addToList
addToList
Add users to list.
Parameters
Name | Description |
listID required | The primary identifier of the list |
userID required | The user’s primary identifier |
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=addToList&userID=229928503&listID=1132710&userIDs=229928503&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 23 |
{ "service":"ugcUserList", "action":"addToList", "code":1, "message":"Users successfully added.", "item":{ "listID":1132710, "creatorUserID":229928503, "nodeID":188234, "type":"ugc", "name":"Test User List", "description":null, "status":null, "dateCreated":null, "listUserIDs":[ "229751571", "229829209", "229928503" ], "listURL":"https://services.onesite.com/go/userList/view/1132710", "userCount":3 } } |
Service Information
Service | ugcUserList |
Method | addToList |
Type | REST |
Response Types | JSON, XML |