SIGN IN
< All Topics
Print

Tags

In the middletwin platform tags are the object types that are used for grouping member objects together.

Tag object properties

FieldRequiredDescription
idUpdate/Deletelong – The id of an existing tag
textYesString – The text of the tag (64 max)

Tags have the following actions

get_all_tags

This action will return an array list of all the tags in the system that have member associations. It has no options.

get_tags

This action will return an array list of all the tags in the system. It has no options.

get_matching_tags

This action will return an array of tags that have text that match a passed in string. This action has one required parameter named ‘text’ that will have the text to search for. 

create_tag

This action will create a new tag and requires one parameter named ‘text’. You can optionally pass in a parameter named ‘members’ with an array of member id’s to associate with this new tag.

update_tag

This action will update an existing tag and requires two parameters, one named ‘id’ with the id of the tag to update and one named ‘text’ with the new text value for the tag.

delete_tag

This action will delete an existing tag and requires one parameter named ‘id’ with the id of the tag to delete.

get_tag_members

This action will return an array of member objects that are associated with a tag. It requires one parameter named ‘tag’ that contains the id of the tag.

create_tag_member

This action will create an association between an existing member and an existing tag. It requires two parameters, one named ‘member’ with the id of the member for the association and one named ‘tag’ with the id of the tag for the association.

delete_tag_member

This action will delete an association between an exiting tag and an existing member. It requires two parameters, one named ‘member’ with the id of the member for the association and one named ‘tag’ with the id of the tag for the association.

Table of Contents
Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Youtube
Consent to display content from - Youtube
Vimeo
Consent to display content from - Vimeo
Google Maps
Consent to display content from - Google
Spotify
Consent to display content from - Spotify
Sound Cloud
Consent to display content from - Sound