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 |
|---|---|
| createItem | If linked to an Item |
| updateItem | If linked to an Item |
| createItemHierarchy | If linked to a Item Hierarchy |
| updateItemHierarchy | If linked to a Item Hierarchy |
| createTask | If linked to a Task |
| updateTask | If linked to a Task |
| createSurveyDocTemplate | If linked to a Survey Document |
| updateSurveyDocTemplate | If linked to a Survey Document |
| createPurchaseOrderDigitalContent | If linked to a Purchase Document |
| updatePurchaseOrderDigitalContent | If linked to a Purchase Document |
| createSalesOrderDigitalContent | If linked to a Sales Order |
| updateSalesOrderDigitalContent | If linked to a Sales Order |
| createSalesDocDigitalContent | If linked to a Sales Document |
| updateSalesDocDigitalContent | If linked to a Sales Document |
| createMediaFolderContent | If linked to a Media Folder content group |
| updateMediaFolderContent | If linked to a Media Folder content group |