POST api/Tag/{id}

Updates an existing tag.

Request Information

Parameters

NameDescriptionAdditional information
id
The Id of the tag

Define this parameter in the request URI.

model
The tag info

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "description": "sample string 1",
  "is_product": true,
  "name": "sample string 3",
  "id": 1
}

application/xml, text/xml

Sample:
<tag xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.Org">
  <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
  <description>sample string 1</description>
  <is_product>true</is_product>
  <name>sample string 3</name>
</tag>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "errors": [],
  "is_valid": true
}

application/xml, text/xml

Sample:
<result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">
  <errors />
  <is_valid>true</is_valid>
</result>