Skip to main content
Version: 90.0.4

createDigitalContent

POST 

/contents/entities/:entityId/:entityObjectId

Create a digital content.

The service accepts metadata only: the binary is uploaded in a second step to the URL returned in attributes.renditionUrl.

When the content is linked to a MediaFolderContent, the server also checks the maxFileCount of the owning MediaFolder, which limits the number of files of each single content group: the request is rejected with a 400 when the group has already reached the limit.

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
createMediaFolderCategoryIf linked to a Media Folder category (its icon)
updateMediaFolderCategoryIf linked to a Media Folder category (its icon)

Request​

Responses​