Creates multiple attachments with presigned URLs for file uploads to specified entities (anomalies, interventions, organizations).
PermissionGroup.MANAGER[AccessType.ADMIN, AccessType.USER]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Content type, must be "application/json".
application/json Session token used for authenticating the request.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"
Details required to create attachments
10Name of the attachment.
"document.pdf"
Upload ID. Is used to identify the file to upload with the linked presigned url
"aszdz-edzdz-dzdzd-dzdzd"
MIME type of the attachment.
image/jpg, image/jpeg, image/png, image/svg+xml, image/gif, text/plain, text/csv, application/pdf, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/zip, application/x-7z-compressed, application/vnd.ms-outlook, message/rfc822 "application/pdf"
Size of the attachment in bytes.
1024
The attachments have been created