Get the Incident Data
| API | Incident tickets |
| Purpose | Fetches tickets data for a specified organization within a given date range. |
| API URL | https://<API URL>:<API Port>/v2/incident/actionable/orgentityid/{orgentityid}?startdate={startdate}&enddate={enddate} |
| Authentication type | Basic/Token |
| Method Type | GET |
| Input Params in Query String: |
You can pass the following filters in the URL and query params to get desired data:
|
Parameters Required in API
| Column | Column type | Remarks |
| orgentityid | String | The organization entity ID. |
| startdate | String | It defines the beginning of the time window used to calculate the count of tickets that were resolved. The startdate in the format YYYY-MM-DD hh:mm:ss. |
| enddate | String | It specifies the end of the date range for counting resolved tickets. The enddate in the format YYYY-MM-DD hh:mm:ss. |
Note:
If no dates are provided, data from the past year is considered. If only the start date is given, the end date defaults to today. If only the end date is given, the start date defaults to one year before it.
Output:
{
"Count": 1,
"Result":
[
{
"TicketId": 1,
"ServiceId": 1,
"DataSourceId": 1,
"TicketNumber": "INC",
"RunbookId": 1,
"RunbookRBAUniqueId": "my_Runbook_id",
"Summary": “My ticket summary",
"Description": "My ticket description",
"CreationDate": "2024-06-26T09:46:02", "LastModifiedDate": "2025-03-28T22:29:54",
"AssignedGroup": "1",
"AssignedGroupUniqueId": null,
"AssignedTo": null,
"AssigneeUniqueId": null,
"Priority": null,
"PriorityCode": null,
"Status": null,
"StatusCode": "9",
"StatusReason": null,
"StatusReasonCode": null,
"Category": null,
"Type": null,
"Item": null,
"ProductCategory": null,
"ProductType": null,
"ProductItem": null,
"AffectedCI": null,
"AffectedCIUniqueId": null,
"ResolvedDate": null,
"ResolutionRemarks": null,
"ClosedDate": null,
"Col1": "1",
"Col2": null,
"Col3": null,
"Col4": null,
"Col5": null,
"Col6": null,
"Col7": null,
"Col8": null,
"Col9": null,
"ModuleType": "INCIDENT",
"SchType": "TICKET",
"QueuedOn": "2025-03-23T06:25:00",
"CompletedOn": "2025-03-29T07:05:36",
"RunbookToolId": 16,
"RunbookToolTenantId": null,
"MaxRecommendationThreshold": 0.65,
"MaxThresholdRunbookId": 1,
"MaxThresholdRBRBAUniqueId": "my_Runbook_id",
"MaxThresholdRBN": "my_Runbook_id",
"ExecRunbookRecommendationThreshold": null,
"ExecutedRunbookId": null,
"ExecutedRunbookRBAUniqueId": null,
"ExecutedRBN": null,
"IsSMEApprovedRunbook": null,
"ExecutionId": null,
"LastPickedByUser": "No User",
"NoOfInitiations": 0,
"IsAutoPicked": "N",
"IsManualPicked": "N",
"IsExecutionSuccessful": "N",
"IsExecutionUnSuccessful": "N",
"IsResolved": "N",
"IsTransferred": "N",
"IsTransferredDueToiAutomate": "N",
"IsTransferredDueToRunbook": "N",
"CouldntProcessAsExitCriteriaMet": "N",
"RecordCreatedDate": "2025-03-30T06:11:02.333",
"TicketReassignationCount": 0,
"ManualExecutionTimeInMinutes": null,
"AutoExecutionTimeInMinutes": null,
"RunbookCategory": null,
"RunbookSubCategory": null,
"RequestedBy": null,
"SubCategory": null
}
],
"Status": "Success",
"Message": "Success"
}
Parameters Returned in Response of API
| Column | Column type | Value | Remarks |
| Count | String | Count of tickets | Total count of the tickets. |
| Status | String | Success/Fail | This field provides status. |
| Result | JSON | All Ticket between the details date range | Provides all processed tickets for the module. |
| Message | String | Success | Request status info. |