Skip to main content

POST Create a CI

This API is used to create a new CI.

URL: http://{{server-url}}/api/v1/cmdb/ci

CI Field Table

Field NameField TypeDetail Specification
ciIdStringUnique identifier of the CI. This is system-generated and view-only.
ciTypeName(required)StringHierarchical CI type name using “$” delimiter. Example: ci$Hardware$laptops. This defines the classification of the CI.
name(required)StringName of the Configuration Item.
type(required)StringThe value should be "CI". Indicates that the object being created is a CI.
impactNameStringIndicates the level of impact this CI has on business operations.
statusNameStringCurrent lifecycle status of the CI (e.g., Active, Inactive, Retired).
vendorNameStringName of the vendor or supplier of the CI.
productNameStringProduct name or model associated with the CI.
departmentNameStringDepartment that owns or is responsible for the CI.
usedByEmailEmailEmail address of the user currently using the CI.
managedByEmailEmailEmail address of the person responsible for managing the CI.
managedByGroupNameStringName of the group responsible for managing the CI.
ciGroupNameStringLogical grouping name to categorize the CI (e.g., Networking Devices, Endpoints).
locationNameStringPhysical or logical location of the CI.
tagsSet of StringLabels or tags associated with the CI for easy search and categorization.
assignmentDateString (In above mentioned date format)The date when the CI was assigned or deployed.
businessServiceNameStringBusiness service to which the CI contributes or is linked.
customFieldKey-Value PairCustom fields and values for additional CI-specific information.
descriptionStringDetailed description or notes about the CI.
ciPropertyListList of Key-Value PairList of properties grouped under CI-specific configurations.
ipAddressStringIP address assigned to the CI (typically for hardware assets).
hostNameStringHostname of the device if applicable (typically for hardware).
macAddressStringMAC address of the hardware device.

Asset property Group Field Table

Hardware Property Group Table

Field NameField TypeDetail Specification
type (required)StringFixed value "CI" to indicate that the object is a Configu
serialNumberStringUnique serial number assigned by the manufacturer to identify the CI.
warrentyExpirationDateStringDate when the warranty for the CI expires. Useful for lifecycle and support planning.
auditDateString (In above mentioned date format)The most recent or next scheduled audit date for verifying the CI's existence and compliance.
propertyCustomFieldKey-Value PairCustom property fields specific to CI properties. Allows additional flexibility in defining CI attributes.

Computer Property Group Table

Field NameField TypeDetail Specification
type (required)StringFixed value "Computer Property" to identify the property group type.
osNameStringName of the operating system installed on the computer (e.g., Windows 11, Ubuntu).
osVersionStringVersion number of the operating system.
servicePackNameStringName of the installed service pack or OS patch level.
osLicenceKeyStringLicense or activation key for the installed operating system.
osManufacturerNameStringName of the vendor or manufacturer of the operating system (e.g., Microsoft, Red Hat).
osArchitectureStringOS architecture format. Valid values: bit_64, bit_32, or all.
bootupStateStringDescribes the current bootup state or condition of the system.
memorySizeNumberTotal installed physical memory (RAM) in GB.
diskSizeNumberTotal available disk space on the system in GB.
domainNameStringName of the domain the computer is joined to (if applicable).
cpuSpeedNumberSpeed of the system's CPU in GHz.
cpuCoreCountNumberTotal number of physical CPU cores in the system.
partOfDomainBooleanIndicates whether the system is part of a domain (true or false).
numberOfLogicalProcessorsNumberNumber of logical processors or threads available.
numberOfProcessorsNumberTotal number of processor units (sockets) installed.
pcSystemTypeStringDescribes the system type (e.g., Laptop, Desktop, Server).
activationStatusStringIndicates the current OS activation status (e.g., Activated, Not Activated).
displayVersionStringUser-friendly version label of the OS (e.g., 22H2 for Windows).
buildNoStringOperating system build number (e.g., 22621).
lastLoggedInUserStringName of the last user who logged into the system.
propertyCustomFieldKey-Value PairCustom fields for additional computer-specific properties not covered above.

SNMP Property Group Table

Field NameField TypeDetail Specification
type (required)String
systemOIDStringType should be SNMP Property.
systemUpTimeNumbersystemUpTime Should be in minutes
firmwareString
firmwareVersionString
portNumber
contactNameString
manufacturerNameString
propertyCustomFieldKey-Value Pair

Storage Property Group Table

Field NameField TypeDetail Specification
type (required)StringType should be Storage Property.
driveTypeString
diskSpaceNumberDisk Space should be in GB.
freeSpaceNumberFree Space should be in GB.
freeSpaceCheckedOnString (In above mentioned date format)
propertyCustomFieldKey-Value Pair

UPS Property Table

Field NameField TypeDetail Specification
type (required)StringType should be UPS Property.
modelNameString
batteryVoltageString
batteryCurrentString
batteryCapacityString
capacityString
voltageString
powerString
propertyCustomFieldKey-Value Pair

Firewall Property Group Table

Field NameField TypeDetail Specification
type (required)StringType should be Firewall Property.
firmwareString
firmwareVersionString
portNumber
subnetMaskString
propertyCustomFieldKey-Value Pair

Mobile Device Property Group Table

Field NameField TypeDetail Specification
type (required)StringType should be Mobile Device Property.
osString
osVersionString
memoryNumberMemory should be in GB.
IMEINumberString
propertyCustomFieldKey-Value Pair

Rack Property Group Table

Field NameField TypeDetail Specification
type (required)StringType should be Rack Property.
footPrintString
powerConsumptionString
rackUnitsNumber
rackUnitsInUseNumber
propertyCustomFieldKey-Value Pair

Software Property Group Table

Field NameField TypeDetail Specification
type (required)StringType should be Software Property.
licenseExpiryDateString (In above mentioned date format)
licenceTypeNameStringLicense Type Name
softwareCostNumber
lastAuditDateString (In above mentioned date format)
licenseKeysSet of String
executableFileNamesSet of String
propertyCustomFieldKey-Value Pair

Example (Request & Response)

Body

{
"type": "CI",
"ciTypeName": "Base CI$Hardware$Laptops",
"name": "DELL Laptop",
"hostName":"jerry",
"acquitionDate": "15-08-2020 13:34",
"categoryName": "IT Administration",
"ciStatusName":"Operational",
"tags": [
"tag-2"
],
"customField": {
"AssetGlobal":"asset",
"CMDB Global": "value",
"Hardware": "cmdbhardware"
},
"ciPropertyList": [
{
"type": "HardwareProperty",
"serialNumber": "field value",
"propertyCustomField": {
"CMDBHWPG": "cmdbpof",
"HwPgAsset": "assetpd"
}
},
{
"type": "ComputerProperty",
"field name": "field value",
"propertyCustomField": {
"Custom field name": "value",
"Custom field name ": "value"
}
}
]
}

Request

curl --location 'http://172.16.11.157/api/v1/cmdb/ci' \
--header 'Authorization: Apikey MtawICaqt6xRDUER%40cZd7nhRKPW3c0wxKTx7b530chfUr1C2JsTgFjkcJ7eQV3SteuehUbw%3D%3D' \
--header 'Content-Type: application/json' \
--data '{
"type": "CI",
"ciTypeName": "Base CI$Hardware$Laptops",
"name": "DELL Laptop",
"hostName":"jerry",
"acquitionDate": "15-08-2020 13:34",
"categoryName": "IT Administration",
"ciStatusName":"Operational",
"tags": [
"tag-2"
],
"customField": {
"AssetGlobal":"asset",
"CMDB Global": "value",
"Hardware": "cmdbhardware"
},
"ciPropertyList": [
{
"type": "HardwareProperty",
"serialNumber": "field value",
"propertyCustomField": {
"CMDBHWPG": "cmdbpof",
"HwPgAsset": "assetpd"
}
},
{
"type": "ComputerProperty",
"field name": "field value",
"propertyCustomField": {
"Custom field name": "value",
"Custom field name ": "value"
}
}
]
}'

Example Response

{
"type": "CI",
"id": 7,
"name": "DELL Laptop",
"impactName": "Low",
"statusName": "Operational",
"origin": "manual",
"tags": [
"tag-2"
],
"createdDate": "30/06/2025 04:19 pm",
"updatedDate": "30/06/2025 04:19 pm",
"fileAttachments": [],
"createdByName": "Aman",
"updatedByName": "Aman",
"hostName": "jerry",
"ciTypeName": "Laptops",
"ciId": "CI-4",
"ciPropertyList": [
{
"id": 7,
"refName": "CI-4",
"type": "HardwareProperty",
"serialNumber": "field value",
"propertyCustomField": null
},
{
"id": 7,
"refName": "CI-4",
"type": "ComputerProperty",
"osName": null,
"osVersion": null,
"servicePackName": null,
"osLicenceKey": null,
"osArchitecture": null,
"bootupState": null,
"memorySize": 0,
"diskSize": 0,
"domainName": null,
"cpuSpeed": 0,
"cpuCoreCount": 0,
"partOfDomain": false,
"numberOfLogicalProcessors": 0,
"numberOfProcessors": 0,
"pcSystemType": null,
"lastLoggedInUser": null,
"activationStatus": null,
"displayVersion": null,
"buildNo": null,
"lastRebootTime": "01/01/1970 05:30 am",
"propertyCustomField": null
}
],
"concreteModel": "cmdb"
}