ZRM Docs
API ReferenceAsset

asset.create

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
siteIdstringYesID of the associated site
namestringYesName
systemIdstringNoID of the associated system
parentAssetIdstringNoID of the associated parent asset
assetTypeenum(controller, panel, camera, sensor, reader, lock, switch, server, nvr_dvr, workstation, ups, pdu, enclosure, module, cable_run, access_point, intercom_station, other)YesAsset type
manufacturerstringNoManufacturer
modelstringNoModel
serialNumberstringNoSerial number
firmwareVersionstringNoFirmware version
configVersionstringNoConfig version
ipAddressstringNoIp address
macAddressstringNoMac address
networkSegmentstringNoNetwork segment
installDatestring.date-timeNoInstall date
warrantyExpirationstring.date-timeNoWarranty expiration
supportContractIdstring.uuidNoID of the associated support contract
lifecycleStatusenum(planned, ordered, installed, active, maintenance, failed, decommissioned, disposed)Yes"planned"Lifecycle status
locationSpaceIdstringNoID of the associated location space
qrCodestringNoQr code
externalIdsobjectNoExternal ids
workspaceIdstringNoID of the associated workspace
visibilityModeenum(global, workspace_local, shared)Yes"workspace_local"Visibility mode
projectIdstring.uuidNoID of the associated project
acquisitionMethodenum(installed, takeover, purchased, transferred)NoAcquisition method
previousVendorstringNoPrevious vendor
originalInstallDatestring.date-timeNoOriginal install date
conditionAtAcquisitionenum(excellent, good, fair, poor, unknown)NoCondition at acquisition
conditionNotesstringNoCondition notes
assetTagstringNoAsset tag
notesstringNoNotes

Example

{
  "siteId": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Example Name",
  "systemId": "550e8400-e29b-41d4-a716-446655440000",
  "parentAssetId": "550e8400-e29b-41d4-a716-446655440000",
  "assetType": "controller",
  "manufacturer": "example",
  "lifecycleStatus": "planned",
  "visibilityMode": "global"
}

On this page