Get Configuration Item Relationship
Retrieves detailed information about all configuration item (CI) relationships by using the unique identifier of a CI record.
To query a configuration item relationship, you must have the following user permissions:
- IT Service Configuration Item Type Manager
- IT Service Configuration Item Owner
- IT Service Configuration Item Type Reader
This example is a sample request to retrieve all relationships for a specific configuration item.
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
id | Integer | The unique identifier of the Configuration Item whose relationships are to be retrieved. | Required | 67.0 |
This example is a sample response from the getCnfgItemRelationships query.
| Name | Type | Description | Available Version |
|---|---|---|---|
createdOn | String | The date and time the record was created. | 68.0 |
developerName | String | Developer name of the configuration item. | 67.0 |
id | Integer | Unique ID of this relationship record. | 67.0 |
relationshipType | String | Name of the relationship type. | 67.0 |
sourceConfigurationItemId | Integer | ID of the parent configuration item. | 67.0 |
sourceConfigurationItemName | String | Display name of the parent configuration item. | 67.0 |
targetConfigurationItemId | int | ID of the child configuration item. | 67.0 |
targetConfigurationItemName | String | Display name of the child configuration item. | 67.0 |