Space Docs
API ReferenceAsset

asset.create

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
siteIdunknownNo—ID of the associated site
customerIdunknownNo—ID of the associated customer
namestringYes—Name
systemIdunknownNo—ID of the associated system
parentAssetIdunknownNo—ID 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)Yes—Asset type
categoryIdstringNo—ID of the associated category
manufacturerstringNo—Manufacturer
manufacturerVendorIdstringNo—ID of the associated manufacturer vendor
modelunknownNo—Model
serialNumberunknownNo—Serial number
firmwareVersionunknownNo—Firmware version
configVersionunknownNo—Config version
ipAddressunknownNo—Ip address
macAddressunknownNo—Mac address
networkSegmentunknownNo—Network segment
installDateunknownNo—Install date
warrantyExpirationunknownNo—Warranty expiration
supportContractIdstring.uuidNo—ID of the associated support contract
lifecycleStatusenum(planned, ordered, installed, active, maintenance, failed, decommissioned, disposed)Yes"planned"Lifecycle status
locationSpaceIdunknownNo—ID of the associated location space
qrCodeunknownNo—Qr code
externalIdsobjectNo—External ids
workspaceIdstringNo—ID of the associated workspace
visibilityModeunknownNo—Visibility mode
projectIdunknownNo—ID of the associated project
owningOrganizationIdstringNo—ID of the associated owning organization
acquisitionMethodunknownNo—Acquisition method
previousVendorunknownNo—Previous vendor
originalInstallDateunknownNo—Original install date
conditionAtAcquisitionunknownNo—Condition at acquisition
conditionNotesunknownNo—Condition notes
assetTagunknownNo—Asset tag
notesunknownNo—Notes

Example

{
  "siteId": null,
  "customerId": null,
  "name": "Example Name",
  "systemId": null,
  "parentAssetId": null,
  "assetType": "controller",
  "lifecycleStatus": "planned"
}

On this page