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 | String | The unique identifier of the Configuration Item whose relationships are to be retrieved. | Required | 66.0 |
This example is a sample response from the getCIRelationships 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. | 66.0 |
id | Integer | Unique ID of this relationship record. | 66.0 |
relation | String | Name of the relationship type. | 66.0 |
source | Integer | ID of the parent configuration item. | 66.0 |
sourceName | String | Display name of the parent configuration item. | 66.0 |
target | int | ID of the child configuration item. | 66.0 |
targetName | String | Display name of the child configuration item. | 66.0 |