Skip to main content

upload attachments to s3

upload attachments to s3

Path Parameters
    departmentUUID string required
Request Body required
    fileItems byte[]
    contentType string
    fileName string
    extension string
    folderPrefix string
    mediaUrl string
    uploadFromUrl boolean
Responses

OK


Schema
    attachmentURL string
    mediaPreviewURL string
    thumbnailURL string
    extension string
    contentType string
    docSize string
    shortUrl string
    errors object[]
  • Array [
  • errorCode string
    errorDescription string
    errorUID string
  • ]
  • warnings object[]
  • Array [
  • warningCode string
    warningDescription string
  • ]
POST /department/:departmentUUID/attachments

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/communications
Username
Password
departmentUUID — path required
Body required
{
"fileItems": [
"string"
],
"contentType": "string",
"fileName": "string",
"extension": "string",
"folderPrefix": "string",
"mediaUrl": "string",
"uploadFromUrl": true
}
curl / cURL
curl -L -X POST '/communications/department/:departmentUUID/attachments' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"fileItems": [
"string"
],
"contentType": "string",
"fileName": "string",
"extension": "string",
"folderPrefix": "string",
"mediaUrl": "string",
"uploadFromUrl": true
}'