setProperty
- Home
- Users & Groups
- SvcUserProperty
- setProperty
setProperty
Creates a new user property with the given type, name and value.
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. |
value required | The property value. |
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=setProperty&userID=229928503&nodeID=188234&type=external&name=external_id&value=12345&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 |
{ "service":"svcUserProperty", "action":"setProperty", "code":1, "message":"The property was successfully set." } |
Service Information
Service | svcUserProperty |
Method | setProperty |
Type | REST |
Response Types | JSON, XML |