HaloITSM Guides
Documentation to assist with the setup and configuration of the HaloITSM platform
Guides > Performing Ticket Approvals via API
Performing Ticket Approvals via API
1. Get Ticket Information
First, retrieve the ticket details by making a GET request to:
/api/tickets/{ticket_id}
The response will contain an approvers
array. Each approver entry contains:
name
- The approver's display nameemailaddress
- The approver's emailuser_id
- The approver's user IDseq
- Required for approval submissionactionnumber
- Required for approval submission
Example approver entry:
{
"name": "Halo Admin",
"emailaddress": "example@halo.com",
"user_id": 23,
"seq": 8,
"actionnumber": 17
}
2. Submit the Approval
Make a POST request to:
/api/ticketapproval
Using this JSON structure:
[
{
"ticket_id": YOUR_TICKET_ID,
"seq": APPROVER_SEQ,
"actionnumber": APPROVER_ACTIONNUMBER,
"result": APPROVAL_RESULT
}
]
Where:
ticket_id
- The ID of the ticket being approvedseq
- The seq value from the chosen approveractionnumber
- The actionnumber value from the chosen approverresult
- Your approval decision:1
= Approve2
= Reject
Popular Guides
- Asset Import - CSV/XLS/Spreadsheet Method
- Call Management in Halo
- Creating a New Application for API Connections
- Creating Agents and Editing Agent Details
- Departments and Teams
- Halo Integrator
- Importing Data
- Multiple New Portals with different branding for one customer [Hosted]
- NHServer Deprecation User Guide
- Organisation Basics
- Organising Teams of Agents
- Step-by-Step Configuration Walk Through
- Suppliers