How to fetch Incident Status in 'List Incident' API call.
book
Article ID: 385704
calendar_today
Updated On:
Products
Data Loss Prevention Enterprise Suite
Issue/Introduction
How to fetch Incident Status in 'List Incident' API call.
Environment
15.8 +
Cause
NA
Resolution
The API documentation provides sample code for the 'List Incident' API, but it does not include a method for fetching editable attributes, such as Incident status, in the same API call.
To include the Incident Status in the List Incident API, follow the steps below.
Run "Get All Incident Statuses" API and it should give you incident status along with their IDs as below.
Based on output from above API call, add the status IDs in the "List Incident" API as below.