Create / Update Asset

Creating and updating an asset from the API can be done by posting your asset object to Supportbench.

The only difference between asset creations and updates is including an asset id within the asset object.

When creating or updating an asset, the below fields are available to you.

NameRequiredLimitDefaultAvailabilitySummary
id_prefixno5 characters"A"NewThe prefix of the asset. You can assign new asset prefix's within the API administration section.
id_sourceno25 characters-NewThe source id of the asset. You can assign custom ID's from existing systems or assign your own id.
idno - when creating
yes - when updating
30 characters-UpdateThe full asset id including the prefix.
parent_idno30 characters-New / UpdateThe parent asset id to assign to this asset.
nameyes50 characters-New / UpdateThe asset name.
versionno10 characters-New / UpdateThe asset version.
descriptionno250 characters-New / UpdateThe description of the asset.
active_onnoDateTime-New / UpdateThe date the asset was or will be active on in UTC.
expires_onnoDateTime-New / UpdateThe date the asset was or will be expired on in UTC.
activenoBoolean-New / UpdateIs the company active or not.
fieldsnoSee field object-New / UpdateA field array of custom fields to insert or update. Please see the field object below.

Fields Object

NameRequiredLimitDefaultSummary
idyesInteger-The field id of the field you wish to update. The field id must map to a valid field in the asset.
valueyesDropdown list - Integer
Checkbox - Boolean
Text box - Unlimited
-The value of the custom field. The value is dependent on the field type.
Language
Authorization