getProperty
- Home
 - Users & Groups
 - SvcUserProperty
 - getProperty
 
getProperty
Fetches the value of a user’s property by type and name.
Parameters
| Name | Description | 
| type required | The property type. Acts as a namespace. | 
| name required | The property name. Along with the type, this identifies the property. | 
| userID required | The user’s unique identifier. | 
| nodeID optional | The network’s unique identifier. | 
| output optional | The response output format. Accepts JSON and XML. | 
Request Syntax
| https://services.onesite.com/rest/svcUserProperty?action=getProperty&userID=229928503&nodeID=188234&type=external&name=external_id&devkey=[devkey] | 
JSON Response
| 
					 1 2 3 4 5 6 7 8 9  | 
						{ 	"service":"svcUserProperty", 	"action":"getProperty", 	"code":1, 	"message":"Success!", 	"item":{ 		"external_id":"12345" 	} }  | 
					
Service Information
| Service | svcUserProperty | 
| Method | getProperty | 
| Type | REST | 
| Response Types | JSON, XML |