{
"components": { "schemas": { "request": { "post": { "type": "object", "xml": { "name": "/" }, "properties": { "configuration_item": { "type": "object", "required": ["name"], "properties": { "$ref": "configuration_item.json#/components/schemas/request_properties" } } } }, "put": { "type": "object", "xml": { "name": "/" }, "properties": { "configuration_item": { "type": "object", "properties": { "$ref": "configuration_item.json#/components/schemas/request_properties" } } } } }, "request_properties": { "type": { "$ref": "../../components.json#/components/request/schemas/association_by_name" }, "type_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" }, "name": { "type": "string", "example": "CI Name" }, "description": { "$ref": "../../components.json#/components/common/schemas/string_or_null" }, "asset_tag": { "type": "string", "example": "Configuration Item Tag" }, "site_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" }, "department_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" }, "state": { "type": "string", "example": "Active" }, "manager": { "$ref": "../../components.json#/components/request/schemas/association_by_email" }, "user": { "$ref": "../../components.json#/components/request/schemas/association_by_email" }, "add_to_tag_list": { "type": "string", "example": "tag1, tag2" }, "remove_from_tag_list": { "type": "string", "example": "tag3" }, "tag_list": { "type": "string", "example": "tag1, tag2" }, "custom_fields_values": { "$ref": "../../components.json#/components/request/schemas/custom_fields_values" }, "custom_fields_values_attributes": { "$ref": "../../components.json#/components/request/schemas/custom_fields_values_attributes" }, "incident_ids": { "$ref": "../../components.json#/components/common/schemas/ids_array" }, "itsm_change_ids": { "$ref": "../../components.json#/components/common/schemas/ids_array" }, "problem_ids": { "$ref": "../../components.json#/components/common/schemas/ids_array" }, "purchase_order_ids": { "$ref": "../../components.json#/components/common/schemas/ids_array" }, "release_ids": { "$ref": "../../components.json#/components/common/schemas/ids_array" } }, "response": { "type": "object", "xml": { "name": "/", "wrapped": true }, "properties": { "configuration_item": { "type": "object", "properties": { "id": { "$ref": "../../components.json#/components/response/schemas/id" }, "name": { "type": "string", "example": "CI Name" }, "description": { "type": "string", "example": "description" }, "type": { "$ref": "../../components.json#/components/response/schemas/ci_type" }, "type_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" }, "created_at": { "type": "string", "example": "2025-01-01T00:00:00.000+01:00" }, "updated_at": { "type": "string", "example": "2025-01-01T00:00:00.000+01:00" }, "tags": { "$ref": "../../components.json#/components/response/schemas/tags" }, "site": { "$ref": "../../components.json#/components/response/schemas/site_response" }, "department": { "$ref": "../../components.json#/components/response/schemas/department_response" }, "state": { "type": "string", "example": "Active" }, "manager_id": { "$ref": "../../components.json#/components/response/schemas/group_details" }, "user_id": { "$ref": "../../components.json#/components/response/schemas/group_details" }, "custom_fields_values": { "$ref": "../../components.json#/components/response/schemas/custom_fields_values" }, "incidents": { "$ref": "../../components.json#/components/response/schemas/response_attachments" }, "changes": { "$ref": "../../components.json#/components/response/schemas/response_attachments" }, "problems": { "$ref": "../../components.json#/components/response/schemas/response_attachments" }, "releases": { "$ref": "../../components.json#/components/response/schemas/response_attachments" }, "purchase_orders": { "$ref": "../../components.json#/components/response/schemas/response_attachments" }, "origin": { "type": "string", "example": "api" } } } } }, "append_multiple_dependent_assets": { "type": "object", "xml": { "name": "/" }, "additionalProperties": { "type": "object", "properties": { "selected_ids": { "type": "object", "properties": { "configuration_items": { "type": "array", "items": { "$ref": "../../components.json#/components/common/schemas/association_by_id" } }, "mobiles": { "type": "array", "items": { "$ref": "../../components.json#/components/common/schemas/association_by_id" } }, "hardwares": { "type": "array", "items": { "$ref": "../../components.json#/components/common/schemas/association_by_id" } }, "discovery_hardwares": { "type": "array", "items": { "$ref": "../../components.json#/components/common/schemas/association_by_id" } }, "other_assets": { "type": "array", "items": { "$ref": "../../components.json#/components/common/schemas/association_by_id" } } } } } }, "example": { "Child Of": { "selected_ids": { "configuration_items": [1] } } } }, "delete_asset_link": { "type": "object", "xml": { "name": "/" }, "properties": { "assetLinkId": { "$ref": "../../components.json#/components/common/schemas/association_by_id", "description": "The id of the dependency between the assets" }, "sourceId": { "$ref": "../../components.json#/components/common/schemas/association_by_id", "description": "The id of the configuration item" }, "sourceType": { "type": "string", "example": "ConfigurationItem" } } } } }
}