addExternalProperty
- Home
- Accounts & Sessions
- User
- addExternalProperty
addExternalProperty
Adds an external property to a user.
Parameters
| Name | Description |
| node_id optional | Node ID |
| user_id optional | User ID |
| username optional | Username |
| email optional | |
| subdir optional | Subdir |
| name required | Name |
| type required | Type |
| value required | Value |
Request Syntax
| https://services.onesite.com/1/user/addExternalProperty.json?user_id=229928503&type=twitter&name=username&value=onesite&devkey=[devkey] |
JSON Response
|
1 2 3 4 5 6 7 |
{ "code":100, "message":"External property added.", "content":{ "uniqueId":"5b46c1" } } |
Service Information
| Service | user |
| Method | addExternalProperty |
| Type | REST |
| Response Types | JSON, XML |