Skip to main content
Version: 90.0.4

updateDigitalContent

PATCH 

/contents/media/:contentId

Update editable digital content metadata.

The DigitalContent_Entity relation to update is identified by {contentId} plus the information passed in attributes.draftMainEntity. The validity dates startDate and endDate are checked only for the digital contents linked to a MediaFolderContent: the validity of the file has to be contained in the validity of the content group, otherwise a 400 is returned.

To access the service you need at least one of the following permissions. They are different based on the entity the digital contents are linked to:

Permission (one of)Notes
createItemIf linked to an Item
updateItemIf linked to an Item
createItemHierarchyIf linked to a Item Hierarchy
updateItemHierarchyIf linked to a Item Hierarchy
createTaskIf linked to a Task
updateTaskIf linked to a Task
createSurveyDocTemplateIf linked to a Survey Document
updateSurveyDocTemplateIf linked to a Survey Document
createPurchaseOrderDigitalContentIf linked to a Purchase Document
updatePurchaseOrderDigitalContentIf linked to a Purchase Document
createSalesOrderDigitalContentIf linked to a Sales Order
updateSalesOrderDigitalContentIf linked to a Sales Order
createSalesDocDigitalContentIf linked to a Sales Document
updateSalesDocDigitalContentIf linked to a Sales Document
createMediaFolderContentIf linked to a Media Folder content group
updateMediaFolderContentIf linked to a Media Folder content group

Request​

Responses​