updateUserTagAffinity
- Home
- Categories & Tags
- SvcTagMaster
- updateUserTagAffinity
updateUserTagAffinity
Updates the user’s tag affinity.
Parameters
Name | Description |
tagID optional | A tag ID we’re operating on |
userID optional | The user to look for |
weight optional | Weight of the affinity tag. Can be any positive integer. (Sorted DESC) |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcTagMaster?action=updateUserTagAffinity&tagID=326455&userID=229928503&weight=5&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 |
{ "service":"svcTagMaster", "action":"updateUserTagAffinity", "code":1, "message":"Success", "item":{ "user_tag_id":"5", "tag_master_id":"326455", "user_id":"229928503", "weight":5 } } |
Service Information
Service | svcTagMaster |
Method | updateUserTagAffinity |
Type | REST |
Response Types | JSON, XML |