Skip to main content

Add or Update a Tag

Create or update a Tag which can then be later applied to an entity using Add Tag to Data Entity

Query String Parameters

NameTypeDescriptionRequired
ActionStringSaveTagRequired
EntityTypeIntThe type of entity associated with the tag. Required
NameStringThe name of the tag.Required
ColorStringThe name of the color to be assigned to the tag.Required
OptionsIntThe options associated with the tag. Required
TagIdIntThe unique identifier of an existing tag, provided if updating an existing tag.Optional

Response Codes

CodeMessageInformation
0Response DataSee 'Response' example tab
2Missing ParameterMandatory parameter was not supplied
2TagId must be an integer valueInteger value is invalid or was not specified (when required)
2EntityType value invalidUnrecognized constant value - please verify the supported values
2EntityType must be an integer valueInteger value is invalid or was not specified (when required)
2Options value invalidUnrecognized constant value - please verify the supported values
2misc_noRightYou do not have the permissions to access settings for the provided Tag Entity Type.

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=savetag&EntityType=3&Color=Yellow&Name=6 weekly window clean&Options=0