Skip to content

Message: asset.create

Back to Index

Creates a new Asset.

Body
typeKeystring

Type of asset to create.

assetNumberstring (optional)

The AssetNumber to assign to the asset. If not set, the number will be automatically generated.

commandsarray of command (optional)

An array of asset commands to be applied upon creation. If any command fail, the asset will not be created.

externalReferencestring (optional)

Optional reference to add to the asset. All must be globally unique across all assets. Can be used to locate the actor with other means than ID and Number.

createdAtany 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.

Response Type string

Back to Index