Attachment Service


Attachment Service


Attachments are mostly documents or any media files with additional information which can be assigned to any project, object, issue or slide. Please see the detailed structure of the attachment in the Object Model

  • Please use the Bimplus Project Service for creating an attachment or for getting/deleting all the attachments of a project
  • Please use the Bimplus Object Service for creating an attachment or for getting/deleting all the attachments of an object, issue or slide


Attachment Json

Create and update of attachments is using of calls with "multipart/form-data" content or by application/json.

The body of string format 

NameMandatory/OptionalTypeDescription
fileNameoptionalstringName of the attachment
imageDatamandatorystringdata for image


The responses of  json in following format :

NameTypeDescription
idguidAttachment Id
relatedIdguidID of the object/project/issue the attachment is attached to.
namestringAttachment name
fileNamestringName of the attachment's file
typestringAttachment's content type
sizeintFile size in bytes
sizeMBintFIle size in megabytes
createAtstring ( Date )Date of creation
creatorjson ( User )User who created the attachment
changedstring ( Date )Date of last modification
changedByjson ( User )User who did the modification
attachmentTypestringBimplus attachment type. Default type is "Document"
hashstringFile hash
classificationstringBimplus internal attachment classification.
tagstringOptional value, for additional marking of the attachment.
objectIdsarray of guidObsolete. Replaced by "relatedId"
versionintAttachment version
rightsjsonUser's right to the attachment, has following boolean properties : update, share, delete, download
releasestring(bool)True if attachment is share or false if attachment is not share.
Create the attachment

Renew your license to continue

Your evaluation license has expired. Contact your administrator to renew your Composition license.



Get Attachment information

Renew your license to continue

Your evaluation license has expired. Contact your administrator to renew your Composition license.

Download the attachment

Renew your license to continue

Your evaluation license has expired. Contact your administrator to renew your Composition license.

Update the attachment

Renew your license to continue

Your evaluation license has expired. Contact your administrator to renew your Composition license.

Delete the Attachment

Renew your license to continue

Your evaluation license has expired. Contact your administrator to renew your Composition license.

Filter for getting project-only attachments & attachments that belong to a particular attachment-type
  • The normal attachment GET call (i.e projects/<project_id>/attachments) returns all the attachments inside a project i.e it iterates through all the objects inside a project and returns everything. If we want to retrieve the only the attachments that belongs to the project directly, then use ?projectOnly=true filter (i.e projects/<project_id>/attachments?projectOnly=true)
  • Bimplus recognized following types of attachments : Document, Thumbnail, Ifc, SketchUp, AllplanResource, AllplanDrawing, AllplanLayout, AllplanLayoutDocument, AutodeskResource, Revit, AutoCadDrawing, BcfZip.
    Of those, the type "Document" is handled as public and visible to all applications. The rest are either Bimplus internal, or application specific attachment types, visible only to the particular applications ( e.g. all "Allplan..." types are used by Allplan only ).
    If the type is not specified, the default type "Document' is used.
  • The normal attachment GET call (i.e projects/<project_id>/attachments) returns by default only the attachments of type "Document". If you want to retrieve the attachments that belongs to particular attachment type, then specify the type in the filter ?attachmentType=<requested_type> (eg: projects/<project_id>/attachments?attachmentType=Ifc&attachmentType=SketchUp).

Create a new version of an attachment

Renew your license to continue

Your evaluation license has expired. Contact your administrator to renew your Composition license.

Get all the versions of an attachment

Renew your license to continue

Your evaluation license has expired. Contact your administrator to renew your Composition license.

Share the attachment

Renew your license to continue

Your evaluation license has expired. Contact your administrator to renew your Composition license.

Download a particular version of the attachment

Renew your license to continue

Your evaluation license has expired. Contact your administrator to renew your Composition license.

Delete a particular version

Renew your license to continue

Your evaluation license has expired. Contact your administrator to renew your Composition license.

  • No labels