Update Ticket Category

All API requests should contain authorization headers.

Request

PATCH /tickets/{ticketId}/category

Query Parameters

NameTypeRequiredComments

ticketId

integer

yes

Id of ticket you want to update

Add or update category

Request Body

{
    "id": 23445
}

The request body should contain the serialized JSON model with the Id of the specified category.

FieldTypeRequiredComments

id

nullable integer

no

Id of category you want to set up

Remove category

To remove a category from the ticket you need to send null or empty object as model. Also, it will work for requests without body at all.

Request Body

null // or {}

Response

{
  "data": {},
  "errorCode": -1,
  "errorText": null
}

Last updated