AnsweredAssumed Answered

How do you post a tag using REST API

Question asked by David Austin on Dec 7, 2016
Latest reply on Feb 13, 2018 by Patrick McQueen

I have a few accounts tagged using the new tag feature from v7.7.  When I download an account in the REST API v10, the tag field downloads in a JSON response like {"id": "e39971b4-bc9e-11e6-bf74-069e4fa9cd4b","name": "A 2016-12 Top Accounts"}.  I would like to add the tag to a few hundred records using the same REST API.  I tried posting the "tag" field with the just the id, just the name name, and then with the full JSON as shown, but none of the three options succeeded in updating the tag.  What is the proper way to update the tag field using the REST API?  Thanks.

Outcomes