Message: asset.create
Creates a new instance of an asset actor.
You must specify an asset type. If not, you'll get an INVALID_MESSAGE_BODY error.
Schema
Body
typeKey | string Type of asset to create. |
assetNumber | string (optional) The AssetNumber to assign to the asset. If not set, the number is automatically generated. |
commands | array of command (optional) An array of asset commands to be applied upon creation. If any command fails, the asset is not created. |
externalReference | string (optional) Optional reference to add to the asset. All must be globally unique across all assets. It can be used to locate the actor with other means than `assetID` and `assetNumber`. |
createdAt | any value (optional) Overrides `createdAt` value of the asset. If not set (or set to the future), the time will be set to the current system time of creation. |