GET https://api.bentley.com/forms/{id}/attachments/{attachmentId}
Retrieves the actual file contents for the attachment with the given ID. This API will attempt to infer the MIME type to return from the file's extension, but will return the default value of application/octet-stream
if it does not recognize the extension.
Permissions
To use this endpoint, the user is required to have the ProjectWise Forms View (Forms_ViewAccess
) permission for the project, or for the form's definition if form definition security is specified. (Having any other ProjectWise Forms permission automatically grants the View permission as well.)
Authentication
Requires Authorization
header with valid Bearer token for scope forms:read
.
For more documentation on authorization and how to get access token visit OAUTH2 Authorization page.