API Guide Items- Tickets - Update a ticket

Tickets - Update a ticket

PUT yourdomain.com/api/tickets/:id

Header

json
Field Type Description
Authorization String

Basic Access Authentication token.

Parameter

json
Field Type Description
subject String

Mandatory Ticket name .

department String

Mandatory Ticket Department.

contactid String

Mandatory Ticket Contact.

userid String

Mandatory Ticket user.

priority String

Mandatory Priority.

project_id (optional) String

Optional Ticket Project.

message (optional) String

Optional Ticket message.

service (optional) String

Optional Ticket Service.

assigned (optional) String

Optional Assign ticket.

tags (optional) String

Optional ticket tags.

Success 200

json
Field Type Description
status Boolean

Request status.

message String

Ticket Update Successful.

Error 4xx

json
Name Type Description
status Boolean

Request status.

message String

Ticket Update Fail.

HTTP/1.1 200 OK
{
  "status": true,
  "message": "Ticket Update Successful."
}
HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Ticket Update Fail."
}

Did you find this article useful?