createAsset
Creates an asset for a product, optionally assigns it to a subscription.
Arguments
Argument | Description |
---|---|
input (CreateAssetInput!) | Parameters for CreateAsset |
CreateAssetInput Arguments
Argument | Description |
---|---|
subscriptionId (ID) | The ID of the subscription to assign this asset to |
productId (ID!) | The ID of the product for this asset |
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