Downloads all attachments assigned to the required structure node including all children. Downloaded content is a compressed zip file. The directory structure in downloaded zip file reflects hierarchy of the structure nodes where structure names represent folder names. As a attachment name are used original filenames of the attachments. The attachments included in resulting zip file can be filtered with help of query parameters, it contains attchmentType(s) of requested attachments to be includede in result zip. e..g. https://api-stage.bimplus.net/v2/bimplus/structures/db540336-47a3-426e-b3bf-1e532bfac8ea/downloadattachments?attachmentType=AllplanLayout&attachmentType=AllplanDrawing
More about attachmentType can be found here Filter for getting project-only attachments & attachments that belong to a particular attachment-type Details about created attachments can be found in 4.4 Object service, e.g. Create a new attachment in the object. If there are not any attachments in required structure tree the return code is 404 Not Found. |