POST api/Tag

Creates a new tag.

Request Information

Parameters

NameDescriptionAdditional information
tag
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:
{
  "id": 1,
  "errors": [],
  "is_valid": true
}

application/xml, text/xml

Sample:
<create_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>
  <id>1</id>
</create_result>