[POST] Add a Tag

Description: Add a new Tag to ticket.

REST Method: POST

URL: /tickets.json/{id}/tags

Request

Name Type Required Default Options Notes
developer_api_key String Yes Developer api key
tag_text String Yes Tag content

Using curl

curl -X POST 'https://api.bornevia.com/tickets.json/225251/tags?developer_api_key=[YOUR_DEVELOPER_API_KEY]&tag_text=helloworld'

Response

Response Name Type Notes
Header Status Int 200 - Success
404 - Ticket not found
400 - Tag text is null or empty string
400 - Cannot create more than 3 tags for a ticket
400 - Tag text already exists in ticket
Body tag Tag Tag object
{
  "tag_text": "helloworld",
  "created_at": "2015-04-21T03:44:54.000Z",
  "updated_at": "2015-11-16T07:43:34.000Z",
}
Last updated on 21st Jun 2016