The table below shows the file types and Mime Types that are supported for the Attachment API.
If there is an inconsistency in the combination of the extension and the mimetype, the HRBC API does not support the attachment.
Extension | mimetype |
---|---|
txt | text/plain |
application/pdf | |
xls | application/vnd.ms-excel |
doc | application/msword |
ppt | application/vnd.ms-powerpoint |
xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation |
html | text/html |
htm | text/html |
gif | image/gif |
jpg | image/jpeg |
jpeg | image/jpeg |
png | image/png |
bmp |
image/bmp
|