Skip to content

ConfigurationItem

Fabian Steiner edited this page Nov 4, 2026 · 2 revisions

ConfigurationItem

from xurrent import ConfigurationItem · module xurrent.configuration_items · API resource /cis · Xurrent API docs

A configuration item (CI): hardware, software or another asset registered in the CMDB, based on a product.

Back to the overview

Fields

The named arguments of the constructor. Every other field of the API response is set as an attribute as well.

Field Type Default Converted to
id int
label Optional[str] None
name Optional[str] None
type Optional[str] None
status Optional[str] None
attributes Optional[Dict] None
product Optional[Dict] None Product

Class methods

get_by_id

ConfigurationItem.get_by_id(connection_object: XurrentApiHelper, id: int) -> T

Retrieve a configuration item by its ID.

API: GET /cis/{id}

get_configuration_items

ConfigurationItem.get_configuration_items(connection_object: XurrentApiHelper, predefinedFilter: ConfigurationItemPredefinedFilter = None, queryfilter: dict = None) -> List[T]

Retrieve all configuration items.

API: GET /cis · Enums: ConfigurationItemPredefinedFilter

create

ConfigurationItem.create(connection_object: XurrentApiHelper, data: dict) -> T

Create a new configuration item.

API: POST /cis

Methods

ref_str

configuration_item.ref_str() -> str

Provide a human-readable string representation of the object.

update

configuration_item.update(data: dict) -> T

Update the current configuration item instance with new data.

API: PATCH /cis/{id}

archive

configuration_item.archive() -> T

Archive the configuration item.

Allowed statuses for archiving:

  • undergoing_maintenance
  • broken_down
  • being_repaired
  • archived
  • to_be_removed
  • lost_or_stolen
  • removed

API: POST /cis/{id}/archive

restore

configuration_item.restore() -> T

Restore the configuration item.

API: POST /cis/{id}/restore

trash

configuration_item.trash() -> T

Trash the configuration item.

Allowed statuses for trashing:

  • undergoing_maintenance
  • broken_down
  • being_repaired
  • archived
  • to_be_removed
  • lost_or_stolen
  • removed

API: POST /cis/{id}/trash

Enums

ConfigurationItemPredefinedFilter

Used by: ConfigurationItem.get_configuration_items

Value Description
active List all active configuration items
inactive List all inactive configuration items
supported_by_my_teams List all configuration items supported by the teams of the API user

Cross references

Uses:

Used by:

Clone this wiki locally