Tickets allow you to easily track issues and service requests from your clients.
There are currently two main views for tickets on the agent side
/api/v1/tickets
Read - Retrieve ticket information (/read.php) (GET)
Invoke-RestMethod -Uri "https://demo.itflow.org/api/v1/tickets/read.php?api_key=YOUR-API-KEY&ticket_id=3" | ConvertTo-Json
{
"success": "True",
"count": 1,
"data": [
{
"0": "3",
"ticket_id": "3",
"1": "TCK-",
"ticket_prefix": "TCK-",
"2": "3",
"ticket_number": "3",
"3": null,
"ticket_category": null,
"4": "Computer broken",
"ticket_subject": "Computer broken",
[...]