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 |
|---|---|
| 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 |
| createMediaFolderCategory | If linked to a Media Folder category (its icon) |
| updateMediaFolderCategory | If linked to a Media Folder category (its icon) |