Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sample Request

Code Block
languagetext
themeMidnight
POST https://api.armor.com/tickets/271/comment

{
      "comment": "Please look into this ticket",
      "files": [],
      "user": {
            "name": "Jason Smith",
            "id": 2369
      }
}

...

API Call / URLMethod / Type
/tickets/{ticketNumber}/commentPOST


Excerpt Include
ESLP:Parameters to include (snippet)
ESLP:Parameters to include (snippet)
nopaneltrue

ParameterDescriptionFormatRequired or optionalExample
ticketNumberThe number for the specific ticketIntegerRequired271
commentThe comment to add to the ticketStringRequiredPlease look into this ticket
(user) nameThe name of the userStringRequiredJason Smith
(user) idThe ID of the userIntegerRequired2369

Sample Return

StatusResponse
200
Code Block
languagetext
themeMidnight
{
      "comment": "adding a sample comment",
      "files": [],
      "user": {
            "name": "Test Anywhere",
            "id": 2369
      }
}
400
Code Block
languagetext
themeMidnight
Bad Request
{
 "Message": "Invalid request."
}