Update a Ticket

Updates a Help Desk ticket by passing the required ticket information.
Help Desk
Update a Ticket
 last updated: 
July 13, 2022

While updating a ticket, you'll need to pass the sd-api-key and sd-dashboard-user-email in the header.

ENDPOINT

  1. PATCH /v1/ticket/:id

REQUEST

  1. {
  2.    "status": "solved",
  3.    "comment": {
  4.        "body": "ticket update"
  5.    }
  6. }

RESPONSE

  1. {
  2.     "id": "3553",
  3.     "subject": "Ticket Subject",
  4.     "description": "Ticket Description",
  5.     "status": "new",
  6.     "type": "incidents",
  7.     "priority": "high",
  8.     "canBeSolved": false,
  9.     "createdAt": "2022-01-31T21:22:49Z",
  10.     "modifiedAt": "2022-01-31T21:22:49Z",
  11.     "accountId": "acc-...",
  12.     "personId": "per-..."
  13. }