API ReferenceAsset
asset.create
Type: Mutation · Auth: Workspace-aware
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| siteId | unknown | No | — | ID of the associated site |
| customerId | unknown | No | — | ID of the associated customer |
| name | string | Yes | — | Name |
| systemId | unknown | No | — | ID of the associated system |
| parentAssetId | unknown | No | — | ID of the associated parent asset |
| assetType | enum(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 |
| categoryId | string | No | — | ID of the associated category |
| manufacturer | string | No | — | Manufacturer |
| manufacturerVendorId | string | No | — | ID of the associated manufacturer vendor |
| model | unknown | No | — | Model |
| serialNumber | unknown | No | — | Serial number |
| firmwareVersion | unknown | No | — | Firmware version |
| configVersion | unknown | No | — | Config version |
| ipAddress | unknown | No | — | Ip address |
| macAddress | unknown | No | — | Mac address |
| networkSegment | unknown | No | — | Network segment |
| installDate | unknown | No | — | Install date |
| warrantyExpiration | unknown | No | — | Warranty expiration |
| supportContractId | string.uuid | No | — | ID of the associated support contract |
| lifecycleStatus | enum(planned, ordered, installed, active, maintenance, failed, decommissioned, disposed) | Yes | "planned" | Lifecycle status |
| locationSpaceId | unknown | No | — | ID of the associated location space |
| qrCode | unknown | No | — | Qr code |
| externalIds | object | No | — | External ids |
| workspaceId | string | No | — | ID of the associated workspace |
| visibilityMode | unknown | No | — | Visibility mode |
| projectId | unknown | No | — | ID of the associated project |
| owningOrganizationId | string | No | — | ID of the associated owning organization |
| acquisitionMethod | unknown | No | — | Acquisition method |
| previousVendor | unknown | No | — | Previous vendor |
| originalInstallDate | unknown | No | — | Original install date |
| conditionAtAcquisition | unknown | No | — | Condition at acquisition |
| conditionNotes | unknown | No | — | Condition notes |
| assetTag | unknown | No | — | Asset tag |
| notes | unknown | No | — | Notes |
Example
{
"siteId": null,
"customerId": null,
"name": "Example Name",
"systemId": null,
"parentAssetId": null,
"assetType": "controller",
"lifecycleStatus": "planned"
}