Create / Update Contact Asset

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

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

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

NameRequiredLimitDefaultAvailabilitySummary
idno - when creating
yes - when updating
IntegerUpdateThis is the id of the linked asset. You can use this id to update an existing link to the contact. Leave this blank to create a new link.
contact_idyes - when creating30 characters-New / UpdateThe contact id that you would like to link the asset to.
asset_idyes - when creating30 characters-UpdateThe full asset id including the prefix.
support_level_idnointeger-New / UpdateThe support level id that this asset will have.
active_fromnoDateTime-New / UpdateThe date the asset was or will be active on in UTC.
active_tonoDateTime-New / UpdateThe date the asset was or will be expired on in UTC.
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
Credentials