Submit a bulk operation to create or update one or more configuration items (CIs). 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 configuration items, you must have the following user permissions:
IT Service Configuration Item Type Manager
IT Service Configuration Item Owner
Request
JSON example
This example shows a sample request to upsert configuration items in bulk, including parent and relationship details.
The unique identifier of the asynchronous job. Use this ID with the getStatus query to check the operation progress.
66.0
status
String
The initial status of the asynchronous job.
66.0
updatedAt
String
The date and time when the job was created, in YYYY-MM-DDTHH:MM:SSZ format.
66.0
details
String
A message indicating the job has been queued and is being processed.
66.0
After submitting the upsertCI mutation, use the returned job id with the getStatus query to check the operation progress and completion status.
When using the upsertCI operation, you can request any available attribute to be included in the response. The attributes you can include:
Standard Attributes: Many attributes are available out-of-the-box.
Custom Attributes: You can create and include custom attributes using the sObject API.
Add any attribute using its Developer Name (for example, SD_AsNa—Asset Name) to specify exactly which information you want to receive for your Configuration Items (CIs).