curl --request POST \
--url http://localhost:8080/cabinet/admin/tickets/{ticket_id}/status \
--header 'Content-Type: application/json' \
--data '
{
"status": "<string>"
}
'{
"id": 123,
"title": "<string>",
"status": "<string>",
"priority": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z",
"is_reply_blocked": false,
"user": {
"id": 123,
"telegram_id": 123,
"email": "<string>",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>"
},
"messages": []
}Update ticket status.
curl --request POST \
--url http://localhost:8080/cabinet/admin/tickets/{ticket_id}/status \
--header 'Content-Type: application/json' \
--data '
{
"status": "<string>"
}
'{
"id": 123,
"title": "<string>",
"status": "<string>",
"priority": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z",
"is_reply_blocked": false,
"user": {
"id": 123,
"telegram_id": 123,
"email": "<string>",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>"
},
"messages": []
}Update ticket status.
New status: open, answered, pending, closed
Successful Response
Ticket with all messages for admin.
User info for admin view.
Show child attributes
Show child attributes