API Guide Items- Tickets - Add New Ticket

Tickets - Add New Ticket

POST yourdomain.com/api/tickets

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.

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.

cc (optional) String

Optional Ticket CC.

priority (optional) String

Optional Priority.

tags (optional) String

Optional ticket tags.

Success 200

json
Field Type Description
status Boolean

Request status.

message String

Ticket add successful.

Error 4xx

json
Name Type Description
status Boolean

Request status.

message String

Ticket add fail.

HTTP/1.1 200 OK
{
  "status": true,
  "message": "Ticket add successful."
}
HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Ticket add fail."
}

Did you find this article useful?