getUserDetails
- Home
- Users & Groups
- SvcUsers
- getUserDetails
getUserDetails
This method will return some basic information about a user
Parameters
Name | Description |
userID required | User id of the user who is being targeted. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcUsers?action=getUserDetails&userID=229928503&nodeID=188234&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 |
{ "service":"svcUsers", "action":"getUserDetails", "code":1, "message":"Success!", "item":{ "DisplayName":"ONEsite", "FirstName":"ONEsite", "LastName":"", "Gender":"Female", "Quote":"", "Age":22, "City":"Oklahoma City", "State":"OK", "Zip":"73134", "Location":"", "HomeURL":"http://www.onesitedemo.com/onedemo", "AvatarImage":"http://services.onesite.com/resources/images/unisex_v4b.gif?ver=13.06.21", "ProfileImage":"http://services.onesite.com/resources/images/unisex_v4.gif?ver=13.06.21" } } |
Service Information
Service | svcUsers |
Method | getUserDetails |
Type | REST |
Response Types | JSON, XML |