AddTagAsync

Adds a tag value to an existing BaseInfo object Returns (Returns a new T instance with the added tag in the Tags property ) Adds a tag value to an existing BaseInfo object Returns (Returns a new T instance with the added tag in the Tags property )

Create a Tag and attach it to the designated base object.

Name Description
baseInfo The base information object to add the tag to
tag The tag value to add
itemHref The href of the item to add the tag to
tag The tag value to add

Add Tag Async

Example in C#

// Returns: T
var item = await client.AddTagAsync<T>(T baseInfo, String tag);

Add Tag Async

Example in C#

// Returns: T
var item = await client.AddTagAsync<T>(String itemHref, String tag);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/tags \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '"tagexampleforcurl"'
            

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/tags \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '"tagexampleforcurl"'