Create a Ticket
POST
/ticket/createCreates a new ticket.
Request
Body Params multipart/form-data
subject
string
required
Example:
Subject
message
string
required
Example:
Message
staff_id
string
optional
Example:
1
Responses
Success(200)
Validation(422)
Unauthorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
ticketid
string
required
adminreplying
string
required
userid
string
required
contactid
string
required
merged_ticket_id
null
required
email
string
required
name
string
required
department
string
required
priority
string
required
status
string
required
service
null
required
ticketkey
string
required
subject
string
required
message
string
required
admin
string
required
date
string
required
project_id
string
required
lastreply
null
required
clientread
string
required
adminread
string
required
assigned
string
required
staff_id_replying
null
required
cc
null
required
tenant_ticket_id
string
required
status_id
string
required
message
string
required
Example
{
"data": {
"ticketid": "1",
"adminreplying": "0",
"userid": "0",
"contactid": "1",
"merged_ticket_id": null,
"email": "[email protected]",
"name": "john doe",
"department": "0",
"priority": "0",
"status": "Open",
"service": null,
"ticketkey": "32f338d36cb5403440fe75a06b4ba78e",
"subject": "testing tticket from api DEVSTRIKER",
"message": "testing tticket from api DEVSTRIKER",
"admin": "1",
"date": "2024-08-09 16:42:35",
"project_id": "0",
"lastreply": null,
"clientread": "0",
"adminread": "0",
"assigned": "0",
"staff_id_replying": null,
"cc": null,
"tenant_ticket_id": "2493",
"status_id": "1"
},
"message": "success"
}
Last modified: 3 months ago