Submit a bulk operation to create or update one or more relationships between configuration items. This is an asynchronous operation that returns a job ID, which you can use with the getStatus query to check the operation progress.
Special Access Rules
To upsert a configuration item relationship, you must have the following user permissions:
An array of configuration item relationship objects to be created or updated in a single bulk operation. Each element defines one relationship between a source and target configuration item.
Required
66.0
UpsertCIRelationshipInput
Defines the structure for a single configuration item relationship within a bulk upsert request.
Name
Type
Description
Required or Optional
Available Version
sourceCIId
String
The unique identifier of the source configuration item in the relationship.
Required
66.0
targetCIId
String
The unique identifier of the target configuration item in the relationship.
Required
66.0
relationshipType
String
The developer name of the configuration item relationship type. Use a valid relationship type developer name defined in your Configuration Management Database.
The unique identifier of the asynchronous job. Use this ID with the getStatus query to check the operation progress and completion status.
66.0
status
String
The initial status of the asynchronous job.
66.0
updatedAt
String
The date and time when the job was created or last updated, in YYYY-MM-DDTHH:MM:SSZ format.
66.0
details
String
User message describing the job.
66.0
After submitting the upsertCIRelationship mutation, use the returned job id with the getStatus query to check the operation progress and completion status.