addBookmark
- Home
- Bookmarks & Favorites
- SvcBookmarks
- addBookmark
addBookmark
Adds a bookmark to URL for a given userID. URL should be URL encoded.
Parameters
| Name | Description |
| userID required | The user’s primary identifier |
| optional | |
| name optional | The “friendly” name of the bookmark |
| description optional | The description for this bookmark |
| output optional | The response output format. Accepts JSON and XML. |
Request Syntax
| https://services.onesite.com/rest/svcBookmarks?action=addBookmark&userID=229928503&name=ONEsite&URL=https://www.onesite.com&devkey=[devkey] |
JSON Response
|
1 2 3 4 5 6 7 8 9 10 11 12 |
{ "service":"svcBookmarks", "action":"addBookmark", "code":1, "message":"Bookmark Successfully Created.", "item":[ { "bookmark_id":11353336, "user_id":229928503 } ] } |
Service Information
| Service | svcBookmarks |
| Method | addBookmark |
| Type | REST |
| Response Types | JSON, XML |