Ticket Object
A ticket in ITSM-NG contains the following key fields:Unique ticket identifier
Ticket title/subject
Ticket description content
Current ticket status:
1- New2- Processing (assigned)3- Processing (planned)4- Pending5- Solved6- Closed
Urgency level (1-5, where 5 is highest)
Impact level (1-5, where 5 is highest)
Priority (automatically calculated from urgency × impact matrix)
Ticket type:
1- Incident2- Request
Entity ID to which the ticket belongs
Requester user ID
Last user who updated the ticket
Ticket creation date
Last modification date
Ticket close date
Ticket solve date
Ticket category ID
Location ID associated with the ticket
Get a Ticket
Retrieve a specific ticket by ID.cURL
Query Parameters
Show dropdown names instead of IDs
Include ticket history
Include associated documents
Include associated contracts
Response
Create a Ticket
Create a new ticket in the system.cURL
Request Body
Ticket data object
Response
Update a Ticket
Update an existing ticket.cURL
Delete a Ticket
Delete (or move to trash) a ticket.cURL
If
true, permanently delete the ticket. If false, move to trash.Add a Followup
Add a followup (comment) to a ticket.cURL
Search Tickets
Search for tickets using criteria.cURL
See the Search endpoint documentation for detailed search syntax and options.
Common Use Cases
Get all open tickets
Get all open tickets
Get tickets assigned to a user
Get tickets assigned to a user
Create a ticket with a file attachment
Create a ticket with a file attachment
Use multipart/form-data to upload files with ticket creation:
Best Practices
Set Appropriate Priority
Let the system calculate priority automatically based on urgency and impact values.
Use Categories
Always assign tickets to appropriate categories for better organization and reporting.
Track Status Changes
Use the
with_logs parameter to retrieve ticket history and track all status changes.Handle Pagination
When searching tickets, use the
range parameter to paginate results (e.g., range=0-49).