Tickets - Request Ticket information
GET yourdomain.com/api/tickets/:id
Header
json
Field | Type | Description |
---|---|---|
Authorization | String |
Basic Access Authentication token. |
Parameter
json
Field | Type | Description |
---|---|---|
id | Number |
Ticket unique ID. |
Success 200
json
Field | Type | Description |
---|---|---|
Ticket | Object |
information. |
Error 4xx
json
Name | Type | Description |
---|---|---|
status | Boolean |
Request status. |
message | String |
The id of the Ticket was not found. |
HTTP/1.1 200 OK
{
"id": "7",
"ticketid": "7",
"adminreplying": "0",
"userid": "0",
"contactid": "0",
"email": null,
"name": "Trung bình",
"department": "1",
"priority": "2",
"status": "1",
"service": "1",
"ticketkey": "8ef33d61bb0f26cd158d56cc18b71c02",
"subject": "Ticket ER",
"message": "Ticket ER",
"admin": "5",
"date": "2019-04-10 03:08:21",
"project_id": "5",
"lastreply": null,
"clientread": "0",
"adminread": "1",
"assigned": "5",
"line_manager": "8",
"milestone": "27",
...
}
HTTP/1.1 404 Not Found
{
"status": false,
"message": "No data were found"
}