The GET Classification Incident Master API retrieves Classification master data from the Incident Management (IM) module. The API response matches the Classification records displayed in the UI.
The API supports the following operations:
Retrieve List of Classification Master Records
This endpoint retrieves all Classification master records configured in the Incident Management module. Administrators, integrations, and automation tools can use the endpoint for configuration review, validation, reporting, and downstream processing.
Endpoint
GET /API/v1/Master/IM/ClassificationComponent | Value | Description |
|---|---|---|
HTTP Method | GET | Retrieves data from the server. This is a read-only operation and does not create, update, or delete records. |
API | API | Stands for Application Programming Interface. It provides a standard way for applications to communicate with the system and exchange data. |
Version | v1 | Indicates Version 1 of the API. Versioning helps maintain compatibility when developers introduce new API versions. |
Resource Group | Master | Refers to the Master Data module, which contains reusable reference data such as Classifications, Categories, Priorities, Statuses, and Locations. |
Module | IM | Stands for Incident Management. It identifies that the requested master data belongs to the Incident Management module. |
Resource | Classification | Specifies the Classification master data resource to retrieve. Classifications help organize and classify Incident records. |
Request Headers
{
"Accept": "application/json",
"X-Api-Key": "<API_KEY>"
}Header | Value | Required | Description |
|---|---|---|---|
Accept | application/json | Yes | Requests the API to return the response in JSON format. |
X-Api-Key | <API_KEY> | Yes | API key for authentication and authorization. |
Sample Request
The following cURL request sends an HTTP GET request to retrieve all Classification master records. The request includes the Accept header to specify JSON as the expected response format and the X-Api-Key header to authenticate the caller.
Replace <API_KEY> with a valid API key before sending the request. Replace {host} with the appropriate server address when calling the API from another environment.
curl --location '{host}/API/v1/Master/IM/Classification' \
--request GET \
--header 'Accept: application/json' \
--header 'X-Api-Key: <API_KEY>'Sample Response
The following sample response returns an array of Classification master records. Each object represents one Classification configured in the Incident Management module. Value uniquely identifies the record, Text provides its display name, and Active indicates whether the Classification is available for use. A Parent_Value of null indicates a top-level Classification.
[
{
"Value": 1001,
"Text": "Hardware",
"Active": true,
"Parent_Value": null,
"Instance": 1,
"Instance_Text": "Production"
},
{
"Value": 1002,
"Text": "Software",
"Active": true,
"Parent_Value": null,
"Instance": 1,
"Instance_Text": "Production"
}
]Response Fields
The Classification master list exposes the following fields:
Field | Type | Example Value | Description |
|---|---|---|---|
Value | Integer | 1001 | Unique value or identifier of the Classification record. |
Text | String | "Hardware" | Display name of the Classification. |
Active | Boolean | true | Indicates whether the Classification record is active and available for use. |
Parent_Value | Integer or Null | null | Value of the parent Classification, if applicable. A value of null indicates that the Classification does not have a parent Classification. |
Instance | Integer or String | 1 | Identifier of the instance associated with the Classification. |
Instance_Text | String | "Production" | Display name of the instance associated with the Classification. |
Business Use Cases
Scenario | Resolution |
|---|---|
An integration needs valid Classification values before creating or updating an Incident. | Call the GET Classification Incident Master API to retrieve the configured Classification records. Use the returned Classification identifier in the Incident create or update request. |
An external system stores Classification mappings for Incident synchronization. | Call the API to retrieve the latest Classification master records and synchronize them with the external system’s mapping table. |
An automated process receives an Incident Classification name but requires its unique identifier. | Retrieve the Classification master list, locate the record with the matching Classification name, and use its Value in the next Incident API request. |
A scheduled integration must keep Classification reference data up to date. | Call the API at scheduled intervals and compare the response with the Classification records stored in the consuming system. Add, update, or deactivate mappings as required. |
An integration must verify a Classification before submitting an Incident request. | Call the API and confirm that the Classification exists and that its Active value is true. This prevents the integration from submitting an invalid or inactive Classification. |
An integration must identify the parent of a Classification. | Use the Parent_Value returned in the response to determine the Classification hierarchy and apply the appropriate parent-child mapping. |
You are migrating Incident data from another system. | Retrieve all valid Classification records and map the source-system Classification values to the corresponding Classification identifiers before migrating the Incident records. |
An integration supports many application instances. | Use the Instance and Instance_Text values to associate each Classification with the correct instance during synchronization or Incident processing. |
Expected Result
Returns HTTP 200 OK.
Returns all available Classification master records configured for Incident Management.
Returns details for each Classification, including its identifier, display name, active status, parent Classification value, and instance information.
Sample Expected Result
The API successfully retrieves the list of Classification master records configured for Incident Management.
[
{
"Value": 1001,
"Text": "Hardware",
"Active": true,
"Parent_Value": null,
"Instance": 1,
"Instance_Text": "Production"
},
{
"Value": 1002,
"Text": "Software",
"Active": true,
"Parent_Value": null,
"Instance": 1,
"Instance_Text": "Production"
}
]Retrieve Classification Master Record Details
This endpoint retrieves the details of a specific Classification master record by using its unique record ID.
Endpoint
GET /API/v1/Master/IM/Classification/{recordId}Component | Value | Description |
|---|---|---|
HTTP Method | GET | Retrieves data from the server. This is a rea-only operation and does not create, update, or delete records. |
API | API | Stands for Application Programming Interface. It provides a standard way for applications to communicate with the system and exchange data. |
Version | v1 | Indicates Version 1 of the API. Versioning helps maintain compatibility as new API versions emerge. |
Resource Group | Master | Refers to the Master Data module, which contains reusable reference data. |
Module | IM | Stands for Incident Management. It identifies that the requested master data belongs to the Incident Management module. |
Resource | Classification | Specifies the Classification master data resource to retrieve. |
Record Identifier | {recordId} | The unique identifier of the Classification record to retrieve. Replace this placeholder with an actual record ID, such as 1001. |
Path Parameter
Parameter | Type | Required | Description |
|---|---|---|---|
recordId | Integer | Yes | Unique identifier of the Classification master record. |
Request Headers
{
"Accept": "application/json",
"X-Api-Key": "<API_KEY>"
}Header | Value | Required | Description |
|---|---|---|---|
Accept | application/json | Yes | Requests the API to return the response in JSON format. |
X-Api-Key | <API_KEY> | Yes | Provides the API key to authenticate the caller and grant access to the endpoint. |
Sample Request
The following request retrieves the Classification master record with the record ID 1001. Supply recordId as a path parameter to identify the specific record.
Replace 1001 with the record ID of the Classification that you want to retrieve. Replace <API_KEY> with a valid API key. Replace {host} with the appropriate server address when calling the API from another environment.
curl --location '{host}/API/v1/Master/IM/Classification/1001' \
--request GET \
--header 'Accept: application/json' \
--header 'X-Api-Key: <API_KEY>'Sample Response
The response returns the Classification master record whose Value matches the record ID specified in the request URL.
{
"Value": 1001,
"Text": "Hardware",
"Active": true,
"Parent_Value": null,
"Instance": 1,
"Instance_Text": "Production"
}In this example, the API returns the Classification named Hardware with the following configuration:
Field | Value | Description |
|---|---|---|
Value | 1001 | Uniquely identifies the Classification record. |
Text | Hardware | Specifies the display name of the Classification. |
Active | true | Indicates that the Classification is active and available for use. |
Parent_Value | null | Indicates that this Classification is not linked to a parent Classification. |
Instance | 1 | Identifies the application instance associated with the Classification. |
Instance_Text | Production | Provides the display name of the associated application instance. |
An integration can use these values to verify the Classification configuration before using its identifier in another Incident Management API request.
Information: The Active field shows whether the Classification is available for use. The Parent_Value field describes the Classification hierarchy, while Instance and Instance_Text identify the associated application instance.
Business Use Cases
Scenario | Resolution |
|---|---|
An external system receives an Incident that contains a Classification record ID. | Retrieve the specific Classification record to get its name and configuration before processing or synchronizing the Incident. |
An integration must check a Classification before creating or updating an Incident. | Retrieve the Classification by recordId and verify that the returned record is the intended Classification and is active before including the identifier in the Incident request. |
A synchronization process detects that one Classification record has changed. | Retrieve only the affected Classification record and update its mapping in the target system without retrieving the complete Classification master list. |
An Incident imported from another system contains an existing Classification mapping. | Retrieve the mapped Classification record to confirm that the stored record ID still corresponds to the expected Classification. |
An automated workflow must apply rules based on a Classification’s configuration. | Retrieve the Classification record and check its active status, parent relationship, and instance information before continuing the workflow. |
A reporting system contains an Incident Classification ID but not its descriptive name. | Retrieve the Classification record and use its Text value to associate the Classification name with the ID in reports or exported data. |
An integration must identify the hierarchy of a known Classification. | Retrieve the Classification record and check Parent_Value to determine whether it belongs to a parent Classification. |
A Classification mapping fails during Incident processing. | Retrieve the Classification using the mapped recordId and compare the returned values with the mapping stored in the external system to identify the mismatch. |
Expected Result
Returns HTTP 200 OK.
Returns the Classification master record that matches the specified recordId.
Returns the Classification identifier, display name, active status, parent Classification value, and instance information.
Sample Expected Result
The API successfully retrieves the Classification record with the record ID 1001.
{
"Value": 1001,
"Text": "Hardware",
"Active": true,
"Parent_Value": null,
"Instance": 1,
"Instance_Text": "Production"
}Error Responses
401 Unauthorized
Returned when the request does not include a valid API key or the caller does not have authenticated access.
The following request does not include the required X-Api-Key header:
curl --location '{host}/API/v1/Master/IM/Classification' \
--request GET \
--header 'Accept: application/json'{
"message": "Unauthorized",
"errorCode": 401,
"details": "Valid API credentials are required."
}404 Not Found
Returned when the requested Classification record ID does not exist or the endpoint path is incorrect.
The following request attempts to retrieve a Classification record with the record ID 9999:
curl --location '{host}/API/v1/Master/IM/Classification/9999' \
--request GET \
--header 'Accept: application/json' \
--header 'X-Api-Key: {API_KEY}'{
"message": "Record not found",
"errorCode": 404,
"details": "The requested Classification record was not found."
}