List Tickets
GET
/ticket/listRetrieves a list of all tickets.
Request
Query Params
limit
string
optional
Example:
50
offset
string
optional
Example:
2
status
string
optional
Example:
0
Responses
Success(200)
Unauthorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {25}]
required
ticketid
string
optional
adminreplying
string
optional
userid
string
optional
contactid
string
optional
merged_ticket_id
null
optional
email
string
optional
name
string
optional
department
string
optional
priority
string
optional
status
string
optional
service
null
optional
ticketkey
string
optional
subject
string
optional
message
string
optional
admin
string
optional
date
string
optional
project_id
string
optional
lastreply
null
optional
clientread
string
optional
adminread
string
optional
assigned
string
optional
staff_id_replying
null
optional
cc
null
optional
tenant_ticket_id
string
optional
status_id
string
optional
page
object
required
current_page
integer
required
from
integer
required
to
integer
required
total
integer
required
per_page
integer
required
last_page
integer
required
next
integer
required
previous
integer
required
message
string
required
Example
{
"data": [
{
"ticketid": "1",
"adminreplying": "0",
"userid": "0",
"contactid": "1",
"merged_ticket_id": null,
"email": "[email protected]",
"name": "hilal khan",
"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"
}
],
"page": {
"current_page": 1,
"from": 1,
"to": 1,
"total": 1,
"per_page": 50,
"last_page": 0,
"next": -1,
"previous": 0
},
"message": "success"
}
Last modified: 3 months ago