POST (Header:PUT) api.ashx/v2/aggregatetags.{json|xml}
UPDATE an aggregate tag.
Scopes
Tags › Modify Aggregate Tags tags.aggregatetags.modify
Request Parameters
| Name | Type | Location | Description | Required | Default | Options |
|---|---|---|---|---|---|---|
| ApplicationId | Guid? | Content application identifier, within which tags should be renamed/updated. ApplicationId and/or ApplicationTypeId must be set. | Optional | |||
| ApplicationTypeId | Guid? | Content application type identifier, within which tags should be renamed/updated. ApplicationId and/or ApplicationTypeId must be set. | Optional | |||
| NewTagName | string | The name to change the tag to | Required | |||
| TagName | string | The tag to update | Required | |||
| TypeId | Guid? | Categorization type, within which tags should be renamed/updated. | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.put({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/aggregatetags.json',
data: {
'NewTagName': 'newtagname',
'TagName': 'tagname'
}
}).then(function(response) {
// use response
});Example Responses
JSON
{
"Info": [
"string",
"string"
],
"Warnings": [
"string",
"string"
],
"Errors": [
"string",
"string"
]
}XML
<?xml version="1.0" encoding="utf-16"?>
<Response>
<Info>
<Message>string</Message>
<Message>string</Message>
</Info>
<Warnings>
<Message>string</Message>
<Message>string</Message>
</Warnings>
<Errors>
<Message>string</Message>
<Message>string</Message>
</Errors>
</Response>