Update Asset by API
- Product: Esploro
Description
We need to update specific fields in an Asset record, is there an API for this?
Resolution
There is a Post Asset API that can be used to add or replace individual fields in an asset record.
Currently the following fields are supported: Date, Identifiers, Grant note, Related grants, Links, Files
POST /esploro/v1/assets/{assetId:.+}
URL parameters
assetId
op The operation to be performed on the asset. Currently op=patch is supported, it is also the default value.
action Allowed values are: add, replace.
add is for simple fields will only update the value if empty, for list fields will append value to list
replace for simple fields will replace value, for list fields will swam app
Body parameters
Additional Information
- Article last edited: 26-July-2021