[POST] Add a Note

Description: Add a note to ticket.

REST Method: POST

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

Request

Name Type Required Default Options Notes
developer_api_key String Yes Developer api key
message String Yes Note message content

Using curl

curl -X POST 'https://api.bornevia.com/tickets.json/225251/notes?developer_api_key=[YOUR_DEVELOPER_API_KEY]&message=Hello+world'

Response

Response Name Type Notes
Header Status Int 200 - Success
404 - Ticket not found
400 - Message is null or empty string
Body note Note Note object
{
  "id": 3382,
  "ticket_id": 225251,
  "user_id": 122,
  "message": "Hello world",
  "created_at": "2015-11-16T07:31:11.000Z",
  "updated_at": "2015-11-16T07:31:11.000Z"
}
Last updated on 21st Jun 2016