updateAsset
Update an asset.
Arguments
input (UpdateAssetInput!)
Parameters for UpdateAsset
UpdateAssetInput Arguments
id (ID!)
The ID of the asset to update
internalNumber (String!)
Mandatory number used to identify the asset
externalNumber (String)
Optional additional number used to identify the asset
notes (String)
Additional information about the specific asset
status (AssetStatus)
Status of this asset (available, at_customer, purchased, in_refurbishment or scrapped).
expectedAvailabilityOn (ISO8601Date)
Date on which the asset is expected to be available.
purchasedAt (ISO8601Date)
Date on which the asset is purchased.
depreciatedOn (ISO8601Date)
Date on which the asset is depreciated.
scrappedOn (ISO8601Date)
Date on which the asset is scrapped.
assetCustomFields ([AssetCustomFieldInput!])
Associated custom field values for this asset.
Return fields
asset (Asset)
errors ([ModelValidationError!]!)
Last updated